• AnnotatedElementMetaDataLoader component metadata optimization

    Inspired by http://community.jboss.org/thread/96937?tstart=0 I did some standalone benchmarks of beans with a lot of methods, and found a bottleneck in CommonAnnotationAdapter which needs to obtain the component metad...
    Profile Photo
    last modified by kabirkhan
  • NPE on AbstractDependencyValueMetaData.ungetValue()

    Remy reported this:   9:46,189 WARN  [ConfigureAction] Error unconfiguring bean AbstractKernelControllerContext@2fbfbe18{ metadata=AbstractBeanMetaData@2ef49ac3{name=WarDeployer bean=org.jboss.web.tomcat.ser...
    Profile Photo
    last modified by kabirkhan
  • Optimizing ControllerState

    At AS6 meeting we came across some "shocking" ControllerState numbers. :-) Number of created instances was big, and the number of equals() and hashCode() invocations was just outrageous ~ 12M. (if I remember the numb...
    Profile Photo
    last modified by alesj
  • Optimizing ScopeKey

    Continued from http://community.jboss.org/message/525925#525925   1001 puts into BasicMetaDataRepository.retrievals results in 499500 UnmodifiableScopeKey calls. That is the sum of all numbers from 1 to 999, so ...
    Profile Photo
    last modified by kabirkhan
  • Modules with null ClassLoaders

    I have just found out that ClassPoolRepository is registering null class loaders. JBossClDelegatingClassPoolFactory.create method has a call to registerBootstrapClassLoaders   public synchronized AbstractClassPo...
    Profile Photo
    last modified by flavia.rainone
  • DependsOnMe is broken?

    Something in jboss-kernel 2.2.0.Alpha4 breaks the dependsOnMe processing - not tidying it up.   See the jboss-cl testsuite. This test passes using 2.2.0.Alpha3   junit.framework.AssertionFailedError: expec...
    Profile Photo
    last modified by adrian.brock
  • Pluggable dependency resolver

    I have made a start on the pluggable dependency resolvers and am committing stuff to  https://svn.jboss.org/repos/jbossas/projects/kernel/branches/resolver.   So far I am just playing to get a rough idea of...
    Profile Photo
    last modified by kabirkhan
  • ScopeInfo's MetaData handling looks inconsistent

    We add/remove the MetaData with mutable key: public void addMetaData(MutableMetaDataRepository repository, ControllerContext context) { this.repository = repository; ScopeKey scope = getMutableScope(); MetaData...
    Profile Photo
    last modified by alesj
  • JMX's ServiceControllerContext doesn't use MDR

    We're currently not registering ServiceControllerContext to MDR. Looking at its DescribeAction, it's a no-op.   We used to populate KernelControllerContext's MDR in Describe state, so I guess this is the right p...
    Profile Photo
    last modified by alesj
  • Using MetaDataRetrievalFactory is missing addition

    When we use an explicit MetaDataRetrievalFactory to create MDRetrieval for scope level, we never actually add the newly created retrieval to repository. This results in retrieval override, since the factory is invok...
    Profile Photo
    created by alesj
  • JBREFLECT - Exception processing non-public annotation

    Pete has reported a failure in CDI testsuite against the AS trunk [https://jira.jboss.org/jira/browse/JBAS-7676]. The testcase involves a @Stateless annotated EJB. Apart from this annotation, the EJB class also has on...
    Profile Photo
    last modified by jaikiran
  • DependencyInfo remove items

    How come we never call any of the remove methods on DependencyItem: - void removeIDependOn(DependencyItem dependency); - void removeDependsOnMe(DependencyItem dependency);
    Profile Photo
    last modified by alesj
  • Uninstall OnDemand context if there are no more dependencies

    I have knocked up a prototype for https://jira.jboss.org/jira/browse/JBKERNEL-4. A few of the existing tests fail since the order of uninstall has changed. What I am doing is: protected void uninstallContext(Contr...
    Profile Photo
    last modified by kabirkhan
  • Activating OnDemand beans from child controller

    Fixing http://lists.jboss.org/pipermail/jboss-development/2010-January/015434.html I am adding a ScopedOnDemandDependencyTestCase (extends OnDemandDependencyTestCase similar to (Scoped)DuplicateAliasTestCase), but hav...
    Profile Photo
    last modified by kabirkhan
  • Qualifiers introduced a cleanup bug

    I've found that this code does no longer get called for the ContextualInjectionDependencyItem which are now created by AbstractInjectionValueMetaData      private void removeClassContextReference() ...
    Profile Photo
    last modified by kabirkhan
  • Native library mapping at jboss-cl level

    For the upcomming release (01-Feb-2010) I plan to pull up native library mapping to the jboss-cl level later this week   https://jira.jboss.org/jira/browse/JBCL-136
    Profile Photo
    last modified by thomas.diesler
  • Aggregated Microcontainer JavaDoc

    I made an effort to get started on   https://jira.jboss.org/jira/browse/JBMICROCONT-442   Please have a look at   Aggregated Microcontainer JavaDoc in JBossAS Development
    Profile Photo
    created by thomas.diesler
  • BeanMetaDataBuilder ignoring ignoreDestroy()?

    In jboss-threads, I call ignoreDestroy() on all ThreadGroup beans so that the ThreadGroup.destroy() method is never called.  However, when I deploy, undeploy, and redeploy a thread group, Threads which are subseq...
    Profile Photo
    last modified by dmlloyd
  • ShutdownPolicy

    https://jira.jboss.org/jira/browse/JBCL-139   To support the OSGi semantics of not automatically re-resolving classloader dependencies when you remove a classloader/deployment, I'm introducing a notion of Shutd...
    Profile Photo
    created by adrian.brock
  • WarStructure metadata locations are wrong

    A recent post on MC user forum exposed a buggy behavior of our .war handling. * http://community.jboss.org/message/517508#517508   The reason for this error is, as I stated already, how we handle metadata locat...
    Profile Photo
    last modified by alesj