> The main objectives for this PR are:
>  1) Compact Object Headers needs the Object Monitor Table to work.
>  2) Both Compact Object Headers 
> ([JDK-8360700](https://bugs.openjdk.org/browse/JDK-8360700)) and Object 
> Monitor Table ([JDK-8379782](https://bugs.openjdk.org/browse/JDK-8379782)) 
> are now enabled by default.
>  3) If we always use the Object Monitor Table, we will free up lots of bits 
> in the markword, that could be of use to others (read GC).
>  4) If we don't need to maintain any "monitor pointer in the mark word" code, 
> we will simplify the code base.
> 
> Therefore this PR will remove the `UseObjectMonitorTable` flag and related 
> code.
> 
> Note that this PR only removes the most obvious use of the 
> `UseObjectMonitorTable` in the code base. This is to ease the burden on the 
> reviewers. [JDK-8389938](https://bugs.openjdk.org/browse/JDK-8389938) has 
> been created to finalize the work by removing the less obvious code, like no 
> longer used mark word code in different GCs. 
> 
> The code has passed tier1-7 testing on supported platforms and smoke testing 
> using QEMU on `RISC-V`, `PowerPC` and `s390`.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

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 three additional 
commits since the last revision:

 - Updated after review
 - Merge branch 'master' into 8389325_remove_use_object_monitor_table_flag
 - 8389325: Remove the UseObjectMonitorTable flag and related code

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/32257/files
  - new: https://git.openjdk.org/jdk/pull/32257/files/81ab57f7..8fef9656

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

  Stats: 13640 lines in 380 files changed: 9005 ins; 3250 del; 1385 mod
  Patch: https://git.openjdk.org/jdk/pull/32257.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/32257/head:pull/32257

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

Reply via email to