[jboss-jira] [JBoss JIRA] (DROOLS-1567) Threads in BLOCKED state in ProjectClassLoader and ParseTools
Arkady Syamtomov (JIRA)
issues at jboss.org
Thu May 18 13:37:00 EDT 2017
Arkady Syamtomov created DROOLS-1567:
----------------------------------------
Summary: Threads in BLOCKED state in ProjectClassLoader and ParseTools
Key: DROOLS-1567
URL: https://issues.jboss.org/browse/DROOLS-1567
Project: Drools
Issue Type: Bug
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