git: openjdk/jdk8u-dev: 8175797: (ref) Reference::enqueue method should clear the reference object before enqueuing

Poonam Bajaj poonam at openjdk.org
Mon Aug 22 13:46:14 UTC 2022


Changeset: e633df1b
Author:    Poonam Bajaj <poonam at openjdk.org>
Date:      2022-08-22 13:45:13 +0000
URL:       https://git.openjdk.org/jdk8u-dev/commit/e633df1b629c4045e792623dbbb36b1b263f3683

8175797: (ref) Reference::enqueue method should clear the reference object before enqueuing
8178832: (ref) jdk.lang.ref.disableClearBeforeEnqueue property is ignored
8193780: (ref) Remove the undocumented "jdk.lang.ref.disableClearBeforeEnqueue" system property

Reviewed-by: mchung, dholmes, iris, andrew
Backport-of: 330d63d2f9e18ba069e11868d4381059c66f480f

! jdk/src/share/classes/java/lang/ref/FinalReference.java
! jdk/src/share/classes/java/lang/ref/Reference.java
! jdk/test/java/lang/ref/ReferenceEnqueue.java



More information about the jdk8u-dev-changes mailing list