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

Gather non-strong reference count logic in a single place

    XMLWordPrintable

    Details

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

      Description

      Gather `set_ref_discovered` calls into a single place, use that as the #refs inside ref-processor. Convert to `ReferenceProcessorStats` on return.

      Note: in the original code, `phase_times.set_ref_discovered(REF_SOFT, ...)` is never called, causing the log to be wrong.

        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: