You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/09/21 00:15:00 UTC

[jira] [Updated] (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 ]

ASF GitHub Bot updated GEODE-5765:
----------------------------------
    Labels: pull-request-available  (was: )

> 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
>
> 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)