Integrated: 8304738: UnregisteredClassesTable_lock never created
Matias Saavedra Silva
matsaave at openjdk.org
Tue Apr 11 14:07:12 UTC 2023
On Wed, 5 Apr 2023 16:17:15 GMT, Matias Saavedra Silva <matsaave at openjdk.org> wrote:
> UnregisteredClassesTable_lock is never created in mutex_init() and is always nullptr. This lock is referenced in a few places and all of those are effectively thread unsafe. Some of the places `unregistered_classes_table` is accessed are under other locks, so the rank of this lock has to be adjusted appropriately. The lock will be initialized to enable the intended behavior. Verified with tier 1-4 tests.
This pull request has now been integrated.
Changeset: 628a3f17
Author: Matias Saavedra Silva <matsaave at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/628a3f173a2c6b0244e993c3d916e5a192e65c15
Stats: 14 lines in 2 files changed: 5 ins; 0 del; 9 mod
8304738: UnregisteredClassesTable_lock never created
Reviewed-by: iklam, jcking, dholmes
-------------
PR: https://git.openjdk.org/jdk/pull/13358
More information about the hotspot-runtime-dev
mailing list