[crac] Integrated: Fix lock usage in ReferenceQueue

Radim Vansa rvansa at openjdk.org
Wed Sep 13 21:22:14 UTC 2023


On Thu, 7 Sep 2023 08:48:00 GMT, Radim Vansa <rvansa at openjdk.org> wrote:

> In JDK 17 the locking used monitors, but in JDK 21 this class uses ReentrantLock. The change was not reflected during merge of new methods.

This pull request has now been integrated.

Changeset: a20d7e98
Author:    Radim Vansa <rvansa at openjdk.org>
URL:       https://git.openjdk.org/crac/commit/a20d7e980352a66db09d994302c37286ab349e25
Stats:     12 lines in 2 files changed: 7 ins; 1 del; 4 mod

Fix lock usage in ReferenceQueue

Reviewed-by: akozlov

-------------

PR: https://git.openjdk.org/crac/pull/110


More information about the crac-dev mailing list