]
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.