On Thu, 20 Aug 2026 14:13:27 GMT, Fredrik Bredberg <[email protected]> wrote:
> This PR is a follow-up to > [JDK-8389325](https://bugs.openjdk.org/browse/JDK-8389325) ("Remove the > UseObjectMonitorTable flag and related code"). It: > - Removes obsolete mark-word and monitor-pointer support. > - Removes displaced-mark related code in garbage collectors (G1, Parallel GC > and Shenandoah). > - Renames UseObjectMonitorTableTest to ObjectMonitorTableTest. > - Addresses all the leftover review comments from > [JDK-8389325](https://bugs.openjdk.org/browse/JDK-8389325). > > Passes tier1-5 tests successfully on supported platforms. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). There is still a stale comment in one of our test frameworks: https://github.com/openjdk/jdk/blob/dba3cffb73f8eec4c102a2fdfa68a035923d8edb/test/hotspot/jtreg/vmTestbase/nsk/share/gc/gp/misc/HashedGarbageProducer.java#L34-L48 I think removing the first paragraph and rewriting the second one to just mention GC mark word preservation is enough to explain why this code still does `System.identityHashCode(obj);` ------------- PR Review: https://git.openjdk.org/jdk/pull/32471#pullrequestreview-5005343067
