RFR: 8304738: UnregisteredClassesTable_lock never created [v3]

Ioi Lam iklam at openjdk.org
Mon Apr 10 23:29:36 UTC 2023


On Thu, 6 Apr 2023 19:30:17 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.
>
> Matias Saavedra Silva has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Ioi suggestion

Update looks good.

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

Marked as reviewed by iklam (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/13358#pullrequestreview-1378246862


More information about the hotspot-runtime-dev mailing list