RFR: 8371347: Move the ObjectMonitorTable to a separate new file [v2]

Fredrik Bredberg fbredberg at openjdk.org
Thu Dec 11 15:17:27 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.

Fredrik Bredberg has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains four additional commits since the last revision:

 - Merge branch 'master' into 8371347_object_monitor_table_in_separate_file
 - Update after review
 - Merge branch 'master' into 8371347_object_monitor_table_in_separate_file
 - 8371347: Move the ObjectMonitorTable to a separate new file

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/28565/files
  - new: https://git.openjdk.org/jdk/pull/28565/files/764e6692..608c55db

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

  Stats: 49335 lines in 712 files changed: 30970 ins; 14868 del; 3497 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