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

Petr Široký (JIRA) issues at jboss.org
Mon Jan 25 04:43:00 EST 2016


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

Petr Široký updated DROOLS-787:
-------------------------------
    Fix Version/s: 7.0.0.Final
                       (was: 6.4.0.CR1)


> getProcessRuntimeFactoryService method of ProcessRuntimeFactory is synchronized.
> --------------------------------------------------------------------------------
>
>                 Key: DROOLS-787
>                 URL: https://issues.jboss.org/browse/DROOLS-787
>             Project: Drools
>          Issue Type: Bug
>    Affects Versions: 6.3.0.Final, 6.4.0.Beta1
>         Environment: software platform 
>            Reporter: vipul gajara
>            Assignee: Petr Široký
>             Fix For: 7.0.0.Final
>
>
> 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.4.11#64026)



More information about the jboss-jira mailing list