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

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

XMLWordPrintable

    • gc
    • b16

      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.

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

              Created:
              Updated:
              Resolved: