[jboss-jira] [JBoss JIRA] (JBRULES-3489) Avoid calling Thread.getContextClassloader() to improve performance

Edson Tirelli (JIRA) jira-events at lists.jboss.org
Fri May 4 11:11:18 EDT 2012


Edson Tirelli created JBRULES-3489:
--------------------------------------

             Summary: Avoid calling Thread.getContextClassloader() to improve performance
                 Key: JBRULES-3489
                 URL: https://issues.jboss.org/browse/JBRULES-3489
             Project: Drools
          Issue Type: Enhancement
      Security Level: Public (Everyone can see)
          Components: drools-compiler, drools-core
    Affects Versions: 5.4.0.CR1, 5.3.1.Final
            Reporter: Edson Tirelli
            Assignee: Edson Tirelli
             Fix For: 5.3.2.Final, 5.4.0.Final, 5.5.0.Beta1


When a Drools instance is deployed into Gigaspaces container with the Java Security Manager enabled, accessing the context classloader is an extremely heavy operation (over 400 times slower) and also causes thread contention among different threads running different sessions. In order to work around this problem, change the code to avoid accessing the context classloader as much as possible, without compromising thread safety.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list