RFR: 8319137: SetNameAtExit fails with "assert(!is_null()) failed: Must be created" [v2]

Patricio Chilano Mateo pchilanomate at openjdk.org
Mon Nov 20 16:36:06 UTC 2023


> Please review the following fix which moves the release of the _object WeakHandle back to the ObjectMonitor dtor. Releasing it earlier as we do today introduces a race which can lead to crashes. Tested running tiers123 in mach5.
> 
> Thanks,
> Patricio

Patricio Chilano Mateo has updated the pull request incrementally with one additional commit since the last revision:

  inline release in ~ObjectMonitor()

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/16738/files
  - new: https://git.openjdk.org/jdk/pull/16738/files/07f55c25..3cfea97d

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

  Stats: 2 lines in 2 files changed: 0 ins; 1 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/16738.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/16738/head:pull/16738

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


More information about the hotspot-runtime-dev mailing list