Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-6405

Performance: WeldDeployment.getBeanDeploymentArchive method is synchronized

    XMLWordPrintable

Details

    Description

      (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

      Attachments

        Activity

          Public project attachment banner

            context keys: [headless, issue, helper, isAsynchronousRequest, project, action, user]
            current Project key: WFLY

            People

              sdouglas1@redhat.com Stuart Douglas
              pgrigoro_jira Panos Grigoropoulos (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: