[jboss-jira] [JBoss JIRA] (DROOLS-787) getProcessRuntimeFactoryService method of ProcessRuntimeFactory is synchronized.

vipul gajara (JIRA) issues at jboss.org
Mon May 18 05:28:20 EDT 2015


vipul gajara created DROOLS-787:
-----------------------------------

             Summary: getProcessRuntimeFactoryService method of ProcessRuntimeFactory is synchronized.
                 Key: DROOLS-787
                 URL: https://issues.jboss.org/browse/DROOLS-787
             Project: Drools
          Issue Type: Bug
         Environment: software platform 
            Reporter: vipul gajara
            Assignee: Mark Proctor


getProcessRuntimeFactoryService is getter method of singleton class "org.drools.core.runtime.process.ProcessRuntimeFactory" but this method is static synchronized so at a time only one thread can call it .

Due to above issue when we are using drools in multi threaded enviorenment threads are getting locked at this method and performance degrades when creating KSession objects.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jboss-jira mailing list