RFR: 8371347: Move the ObjectMonitorTable to a separate new file

Fredrik Bredberg fbredberg at openjdk.org
Sat Nov 29 19:50:26 UTC 2025


The request to move the `ObjectMonitorTable` to a separate new file came from this review comment: https://github.com/openjdk/jdk/pull/27915#discussion_r2459848893

By moving the `ObjectMonitorTable` implementation out of `runtime/synchronizer.cpp` into `runtime/objectMonitorTable.[ch]pp` will make a future transition from the current `ObjectMonitorTable` implementation to a new (and better) implementation appear more clean.

Passes tier1-7 without any problems that can be traced to this PR.

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

Commit messages:
 - Merge branch 'master' into 8371347_object_monitor_table_in_separate_file
 - 8371347: Move the ObjectMonitorTable to a separate new file

Changes: https://git.openjdk.org/jdk/pull/28565/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28565&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8371347
  Stats: 655 lines in 3 files changed: 370 ins; 285 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/28565.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/28565/head:pull/28565

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


More information about the hotspot-runtime-dev mailing list