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

Remove call to ClassLoaderDataGraph::clear_claimed_marks during the initial mark pause

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 14
    • Component/s: hotspot
    • Subcomponent:
      gc
    • Resolved In Build:
      b16

      Description

      The call to ClassLoaderDataGraph::clear_claimed_marks() during initial mark in g1CollectedHeap.cpp:4420 seems to be superfluous.

      This work is already done during the start of the following concurrent phase (concurrentMarkThread.cpp:137), so there is the question why this work is done twice for no reason.

      Investigate whether it is possible to remove this (sometimes time-consuming) call during initial mark, either completely or merging it with other phases iterating over all class loader datas.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tschatzl Thomas Schatzl
              Reporter:
              tschatzl Thomas Schatzl
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: