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

Unnecessary and incorrect "Code Cache Roots" G1 log entry

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8u60, 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • Resolved In Build:
      b64

      Backports

        Description

        When the changes to enable per phase timing measurements for root scanning was introduced in JDK-8027962 a phase named "Code Cache Roots" was mistakenly added and measured around the call to oops_into_collection_set_do in G1RootProcessor. There are already sub-phases to measure that phase: UpdateRS, ScanRS and CodeRoots. Also, none of them are included in the Ext Root Scanning times.

        Suggested fix is to simply remove the incorrect log entry, the information already exists in the gc log.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mgerdin Mikael Gerdin (Inactive)
                  Reporter:
                  mgerdin Mikael Gerdin (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: