RFR: 8354234: Remove friends for ObjectMonitor

Coleen Phillimore coleenp at openjdk.org
Thu Apr 10 16:24:52 UTC 2025


Please review this somewhat trivial change to remove unneeded friends from the ObjectMonitor class.  Two functions were made public for use with ObjectSynchronizer and avoid referencing fields directly from other places.
Tested with tier1 sanity.

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

Commit messages:
 - 8354234: Remove friends for ObjectMonitor

Changes: https://git.openjdk.org/jdk/pull/24580/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24580&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8354234
  Stats: 9 lines in 2 files changed: 2 ins; 5 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/24580.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/24580/head:pull/24580

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


More information about the hotspot-runtime-dev mailing list