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

TestGCEventMixedWithCMSConcurrent.java fails after JDK-8134953

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3
    • None
    • None
    • hotspot
    • None
    • gc

    Description

      The fix for JDK-8134953 tried to keep creation of new GC ids the same as before. But there was one exception. When we create heap dumps or do heap inspection before or after a GC we no longer create a new GC id for those events. Instead they use the same GC id as the "enclosing" GC.

      This was an intentional change. But in retrospect it should probably not have been done as part of the other changes.

      Here's the change to collectedHeap.cpp that removes the creation of new GC ids:
      http://hg.openjdk.java.net/jdk9/hs-rt/hotspot/diff/983c56341c80/src/share/vm/gc/shared/collectedHeap.cpp

      This breaks some tests that expect the GC id for the heap inspections to be different than the GC id for the actual GC.

      Attachments

        Issue Links

          Activity

            People

              brutisso Bengt Rutisson (Inactive)
              brutisso Bengt Rutisson (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: