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

After JDK-8047976 gc/g1/TestSummarizeRSetStatsThreads fails

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 8u40, 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • Resolved In Build:
      b37
    • CPU:
      generic
    • OS:
      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

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: