[jboss-jira] [JBoss JIRA] (DROOLS-1567) Threads in BLOCKED state in ProjectClassLoader and ParseTools

Mario Fusco (JIRA) issues at jboss.org
Fri May 19 07:53:01 EDT 2017


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

Mario Fusco updated DROOLS-1567:
--------------------------------
    Issue Type: Enhancement  (was: Bug)


> Threads in BLOCKED state in ProjectClassLoader and ParseTools
> -------------------------------------------------------------
>
>                 Key: DROOLS-1567
>                 URL: https://issues.jboss.org/browse/DROOLS-1567
>             Project: Drools
>          Issue Type: Enhancement
>          Components: core engine
>    Affects Versions: 6.5.0.Final
>            Reporter: Arkady Syamtomov
>            Assignee: Mario Fusco
>
> Building the knowledge bases in parallel threads does not scale due to the recurrent synchronised call of Class.forName, detected in ProjectClassLoader and org.mvel2.util.ParceTools.
> While in the org.drools.core.common.ProjectClassLoader the classes, if not found, are blacklisted, in the org.mvel2.util.ParceTools there is no blacklist logic implemented at all.
> Nevertheless, even with org.drools.core.common.ProjectClassLoader the issue remains, since the internal DRL conditions query are submitted as class names to resolve and with the number of rules growing in the system, the blacklisting of invalid class names is not enough any more: it would be desirable to have an internal hook to filter the names matching a configurable pattern.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list