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.

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

              Created:
              Updated:
              Resolved: