Uploaded image for project: 'JBRULES'
  1. JBRULES
  2. JBRULES-3489

Avoid calling Thread.getContextClassloader() to improve performance

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Activity

          People

            etirelli Edson Tirelli
            etirelli Edson Tirelli
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: