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

Kevin Walls kevinw at openjdk.org
Thu May 2 08:58:20 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:

  Move is_lock_owned from Thread to JavaThread

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/18940/files
  - new: https://git.openjdk.org/jdk/pull/18940/files/ce92b92b..3e9dd511

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

  Stats: 18 lines in 5 files changed: 9 ins; 8 del; 1 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