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

(ref) Remove the undocumented "jdk.lang.ref.disableClearBeforeEnqueue" system property

XMLWordPrintable

    • b01

        The behavior of the `Reference::enqueue` method was changed in JDK 9 to clear the reference object before enqueuing.

        A system property `jdk.lang.ref.disableClearBeforeEnqueue` was added to allow existing code to revert to JDK 8 behavior as an interim solution to give time to migrate to JDK 9 spec change.

              mchung Mandy Chung (Inactive)
              mchung Mandy Chung (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: