Remove parallel constructs in GenCollectedHeap::process_roots

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 17
    • Affects Version/s: 17
    • Component/s: hotspot
    • gc
    • b08

      `GenCollectedHeap::process_roots` is always called by the VM thread only (in serial GC), so all parallel constructs can be removed, namely the field of `SubTasksDone` and the arg of `StrongRootsScope`.

            Assignee:
            Albert Yang
            Reporter:
            Albert Yang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: