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

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

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Not an Issue
    • Affects Version/s: 9, 11
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Subcomponent:
      gc

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: