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

Kevin Walls kevinw at openjdk.org
Wed May 1 10:05:03 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:

  Feedback from Dean

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/18940/files
  - new: https://git.openjdk.org/jdk/pull/18940/files/62aadcd7..17760bd5

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

  Stats: 9 lines in 1 file changed: 3 ins; 0 del; 6 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