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

Mark Proctor (JIRA) issues at jboss.org
Thu Jul 23 08:55:04 EDT 2015


     [ https://issues.jboss.org/browse/DROOLS-787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Proctor reassigned DROOLS-787:
-----------------------------------

    Assignee: Petr Široký  (was: Mark Proctor)


> 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: Petr Široký
>
> 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