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

Write a test to check G1's per thread phase times.

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 9
    • Fix Version/s: 9.1
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc

      Description

      The fix for 8017462 fixed the use of UseDynamicNumberOfGCThreads with G1. Part of the fix was to make the statistics calculated for different phases of the collection recognize that the number of parallel GC threads being used was dynamic. A test was written to check the use of G1 and UseDynamicNumberOfGCThreads indeed used a number of parallel GC threads that could be changing dynamically. Before the fix for 8017462 one failure mode was that guarantees failed during the calculation of statistics. This change adds a test to check that the sum of a per thread statistic matches the sum printed in the G1 GC log.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jmasa Jon Masamitsu (Inactive)
                Reporter:
                jmasa Jon Masamitsu (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: