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

After JDK-8047976 gc/g1/TestSummarizeRSetStatsThreads fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2
    • 9
    • 8u40, 9
    • hotspot
    • gc
    • b37
    • generic
    • generic

    Backports

      Description

        JDK-8047976 changes the logic of G1ConcRefinementThreads processing:
        previously when G1ConcRefinementThreads was zero, ConcurrentG1Refine::thread_num returned max(ParallelGCThreads, 1).
        So when both ParallelGCThreads and G1ConcRefinementThreads were zeros, at least one conc refinement thread was used.
        After JDK-8047976 integration into 8u40 if G1ConcRefinementThreads=0 passed to JVM, then its value updated to ParallelGCThreads.
        Since JDK-8059527 was not backported to 8u40, ParallelGCThreads still could be 0, and in this case G1ConcRefinementThreads will be zero too.

        Following test fails for the case when both ParallelGCThreads & G1ConcRefinementThreads were set to zero, because G1RemSetSummary::print_on don't print RS threads time due to absence of such threads:
        gc/g1/TestSummarizeRSetStatsThreads.java

        Attachments

          Issue Links

            Activity

              People

                mlarsson Marcus Larsson (Inactive)
                fzhinkin Filipp Zhinkin
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: