You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Dan Smith (JIRA)" <ji...@apache.org> on 2018/09/21 20:04:00 UTC
[jira] [Resolved] (GEODE-5765) AlterRuntimeCommandDUnitTest slows
down due to large numbers of classes loaded
[ https://issues.apache.org/jira/browse/GEODE-5765?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Smith resolved GEODE-5765.
------------------------------
Resolution: Fixed
> 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
> Priority: Major
> Labels: pull-request-available
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> 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)