RFR: 8304738: UnregisteredClassesTable_lock never created [v3]
Matias Saavedra Silva
matsaave at openjdk.org
Thu Apr 6 19:30:17 UTC 2023
> 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.
Matias Saavedra Silva has updated the pull request incrementally with one additional commit since the last revision:
Ioi suggestion
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/13358/files
- new: https://git.openjdk.org/jdk/pull/13358/files/be1a754a..9946304f
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=13358&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=13358&range=01-02
Stats: 3 lines in 1 file changed: 2 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/13358.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/13358/head:pull/13358
PR: https://git.openjdk.org/jdk/pull/13358
More information about the hotspot-runtime-dev
mailing list