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

Improve CollectedHeap::safepoint_workers comments

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 18
    • Fix Version/s: 18
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • Resolved In Build:
      b25

      Description

      ```
        // it for use during safepoint cleanup. This is only possible
        // if the GC can pause and resume concurrent work (e.g. G1
        // concurrent marking) for an intermittent non-GC safepoint.
      ```
      The comments talk about concurrent G1 concurrent work, but in the G1 case, the actual workers shared are `G1CollectedHeap::_workers`, which are not used during G1 concurrent phases.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: