RFR: 8354180: Clean up uses of ObjectMonitor caches

Coleen Phillimore coleenp at openjdk.org
Wed Apr 9 19:18:47 UTC 2025


This is mostly changes from @xmas92 as explained to me plus small cleanup to a read_caches function.
Tested with tier1-4.

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

Commit messages:
 - Add back weird friend, going to deal with that later.
 - Revert complete_monitor_locking_C.
 - Conditionally update OMCache in CacheSetter, also Axel's improvement.
 - Axel comments and improvements and weird friend.
 - Axel's comments and new assert.
 - Print raw owner for ObjectMonitor
 - Some cache setter cleanups. will revert sharedRuntime that was just an experiment.

Changes: https://git.openjdk.org/jdk/pull/24545/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24545&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8354180
  Stats: 59 lines in 6 files changed: 26 ins; 18 del; 15 mod
  Patch: https://git.openjdk.org/jdk/pull/24545.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/24545/head:pull/24545

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


More information about the hotspot-dev mailing list