On Mon, 24 Aug 2026 21:22:38 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).
>
> Fredrik Bredberg has updated the pull request incrementally with one 
> additional commit since the last revision:
> 
>   Updated after review

Looks like an excellent pass 2 clean up!

src/hotspot/share/oops/markWord.cpp line 69:

> 67: #endif
> 68:   st->print(" age=%d)", age());
> 69: }

This looks like a good rewrite. There was a gtest that tested for this output. 
Did they pass?

test/hotspot/gtest/oops/test_markWord.cpp line 94:

> 92:   {
> 93:     ObjectLocker ol(h_obj, THREAD);
> 94:     assert_mark_word_print_pattern(h_obj, "is_locked");

Yup you fixed it

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

Marked as reviewed by coleenp (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/32471#pullrequestreview-5017959893
PR Review Comment: https://git.openjdk.org/jdk/pull/32471#discussion_r3852174247
PR Review Comment: https://git.openjdk.org/jdk/pull/32471#discussion_r3852189033

Reply via email to