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

Logging reports zero total refined cards under "Before GC RS summary"

    XMLWordPrintable

    Details

    • Subcomponent:
      gc
    • Introduced In Version:
      14
    • Resolved In Build:
      b24

      Description

      GC logging with "-XX:+UnlockDiagnosticVMOptions -XX:G1SummarizeRSetStatsPeriod=1 -Xlog:gc+remset=trace" would always print zero total refined cards under "Before GC RS summary".

      This is because after JDK-8231153, the counters for total refined cards are updated in policy()->record_collection_pause_start(), which is executed after gc_prologue() that executes rem_set()->print_periodic_summary_info().

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              manc Man Cao
              Reporter:
              manc Man Cao
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: