[jboss-jira] [JBoss JIRA] (WFLY-6405) Performance: WeldDeployment.getBeanDeploymentArchive method is synchronized

Panos Grigoropoulos (JIRA) issues at jboss.org
Thu Mar 17 17:58:00 EDT 2016


Panos Grigoropoulos created WFLY-6405:
-----------------------------------------

             Summary: Performance: WeldDeployment.getBeanDeploymentArchive method is synchronized
                 Key: WFLY-6405
                 URL: https://issues.jboss.org/browse/WFLY-6405
             Project: WildFly
          Issue Type: Bug
          Components: CDI / Weld, Class Loading
    Affects Versions: 10.0.0.Final
            Reporter: Panos Grigoropoulos
            Assignee: Stuart Douglas


(Wildfly 10.0.0.FINAL)
During the performance test of my app (50 concurrent users with jmeter) I am running into the following issue:
There are locked threads in the method WeldDeployment.getBeanDeploymentArchive(). Looking the code, this method is synchronized, so it makes sense. The question is, is this the expected behavior or this is a bug. In both cases is there any workaround to overcome this limitation?

STACK TRACE:
....
org.jboss.as.weld.WeldProvider$CdiImpl.getBeanManager():73
org.jboss.as.weld.WeldProvider$CdiImpl.getBeanManager():93
org.jboss.as.weld.deployment.WeldDeployment.getBeanDeploymentArchive():226 



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list