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

Shenandoah: Don't resurrect finalizably reachable objects

    XMLWordPrintable

Details

    • gc
    • b25
    • generic
    • generic

    Description

      In the weak-LRB we currently return referents when it is 'marked', that is when it's either reachable strongly or through a finalizable object. This means a finalizable object can be resurrected by Reference.get(), which is wrong. Only truly strongly reachable objects should be returned by Reference.get() during weak-reference-processing.

      Attachments

        Issue Links

          Activity

            People

              rkennke Roman Kennke
              rkennke Roman Kennke
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: