RFR: 8314225: SIGSEGV in JavaThread::is_lock_owned
Dean Long
dlong at openjdk.org
Wed May 1 08:26:53 UTC 2024
On Wed, 24 Apr 2024 19:50:08 GMT, Kevin Walls <kevinw at openjdk.org> wrote:
> Removal of JavaThread's MonitorChunks member. This held lock information during deoptimization, but access to it is unnecessary for anything other than the deoptimization itself.
>
> Access to it in is_lock_owned() was racy, and caused rare crashes.
Looks good.
After thinking about it some more, I think we need a stronger guarantee that the monitors are always inflated during deoptimization.
-------------
Marked as reviewed by dlong (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/18940#pullrequestreview-2021116316
Changes requested by dlong (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/18940#pullrequestreview-2021693970
More information about the hotspot-dev
mailing list