RFR: 8337318: Deoptimization::relock_objects fails assert(monitor->owner() == Thread::current()) failed: must be [v3]

Coleen Phillimore coleenp at openjdk.org
Mon Aug 12 19:59:46 UTC 2024


> The assert is wrong.  During deoptimization, the locking_thread is not the current thread, and that's the thread we should assert is the owner.
> Reproduced in tier8 with com/sun/jdi/EATests.java, with LockStack CAPACITY=1 and not reproduced with the fix.

Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:

  Update SAP copyright.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/20553/files
  - new: https://git.openjdk.org/jdk/pull/20553/files/8a73754e..c61943b8

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

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/20553.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/20553/head:pull/20553

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


More information about the hotspot-runtime-dev mailing list