Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8169510

[TESTBUG] Need a White Box method to retrieve CMS collector state

    • gc

      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.

            Unassigned Unassigned
            mchernov Michail Chernov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: