RFR: 8318757: 8318757 VM_ThreadDump asserts in interleaved ObjectMonitor::deflate_monitor [v2]

Stefan Karlsson stefank at openjdk.org
Mon Nov 6 13:14:42 UTC 2023


> A safepointed monitor deflation pass can run interleaved with a paused async monitor deflation pass. The code is not written to handle that situation and asserts when it finds a DEFLATER_MARKER in the owner field. @pchilano also found other issues with having to monitor deflation passes interleaved. More info below ...

Stefan Karlsson has updated the pull request incrementally with three additional commits since the last revision:

 - Move ConcurrentDeflation.java out of tier1
 - Update comments
 - Use a named constant

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/16519/files
  - new: https://git.openjdk.org/jdk/pull/16519/files/345e5214..591bd110

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

  Stats: 8 lines in 4 files changed: 3 ins; 1 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/16519.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/16519/head:pull/16519

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


More information about the hotspot-dev mailing list