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

Additional number of processed references printed with -XX:+PrintReferenceGC after JDK-8047125

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • P5
    • Resolution: Fixed
    • 9
    • 9
    • hotspot
    • gc
    • b83
    • Fix failed

    Backports

      Description

        JDK-8047125 separated processing of j.l.ref.PhantomReference and Cleaner into two separate phases during reference processing.

        This resulted in -XX:+PrintReferenceGC output to be scrambled slightly, adding a new "refs: <count>" string to the PhantomReference section.

        Example:
        7.642: [SoftReference, 0 refs, 0.0006965 secs]7.643: [WeakReference, 40 refs, 0.0003039 secs]7.643: [FinalReference, 3477 refs, 0.0036191 secs]7.647: [PhantomReference, 0 refs, 0 refs, 0.0006649 secs]7.647: [JNI Weak Reference, 0.0000119 secs], 0.0173298 secs]

        Cleaners should have their own section in the printout.

        Attachments

          Issue Links

            Activity

              People

                ysr Y. Ramakrishna
                tschatzl Thomas Schatzl
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: