During https://bugs.openjdk.java.net/browse/JDK-8165955 fixing was found that test fails with CMS and -XX:+ExplicitGCInvokesConcurrent due to CMSCollector::sweep() unlocks Java's threads before updating performance counters in TraceCMSMemoryManagerStats::~TraceCMSMemoryManagerStats().
The way to fix it is to retrieve CMS state to perform additional delay after System.gc() in TestFullGCCount.java test.
The way to fix it is to retrieve CMS state to perform additional delay after System.gc() in TestFullGCCount.java test.
- relates to
-
JDK-8165955 TestFullGCCount test failed with CMS and -XX:+ExplicitGCInvokesConcurrent
-
- Resolved
-