Dan Smith created GEODE-5765:
--------------------------------

             Summary: AlterRuntimeCommandDUnitTest slows down due to large 
numbers of classes loaded
                 Key: GEODE-5765
                 URL: https://issues.apache.org/jira/browse/GEODE-5765
             Project: Geode
          Issue Type: Improvement
            Reporter: Dan Smith


We observed that several tests in this class are taking minutes when they 
should be taking a few seconds at most. After some debugging, we determined 
that the JVM itself is struggling to deal with having 100K+ classes loaded. 
They are loaded because the test is repeated starting and stopping the http 
service, which creates a classloader and causes soft references to all of the 
loaded classes to be cached.

By setting a flag to clear the soft references faster, the test times go back 
to normal.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to