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

Gather non-strong reference count logic in a single place

    XMLWordPrintable

Details

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

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

              Dates

                Created:
                Updated:
                Resolved: