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

Improve CollectedHeap::safepoint_workers comments

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 18
    • 18
    • hotspot
    • gc
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: