RFR: 8314225: SIGSEGV in JavaThread::is_lock_owned [v6]

Kevin Walls kevinw at openjdk.org
Thu May 2 19:40:18 UTC 2024


> 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.

Kevin Walls has updated the pull request incrementally with one additional commit since the last revision:

  monitor->owner() == nullptr handling in fill_in

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/18940/files
  - new: https://git.openjdk.org/jdk/pull/18940/files/562859fb..54086ccd

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=18940&range=05
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=18940&range=04-05

  Stats: 7 lines in 1 file changed: 0 ins; 3 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/18940.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18940/head:pull/18940

PR: https://git.openjdk.org/jdk/pull/18940


More information about the hotspot-dev mailing list