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

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

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 11
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b01

      Description

      The behavior of the `Reference::enqueue` method was changed in JDK 9 to clear referent 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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mchung Mandy Chung
                Reporter:
                mchung Mandy Chung
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: