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

Fredrik Bredberg fbredberg at openjdk.org
Thu Dec 11 15:17:28 UTC 2025


On Mon, 1 Dec 2025 13:07:53 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

>> 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
>
> src/hotspot/share/runtime/objectMonitorTable.hpp line 35:
> 
>> 33: 
>> 34: class ObjectMonitorTable : AllStatic {
>> 35:   struct Config {
> 
> Can you hide all of this in the .cpp file like symbolTable.cpp hides the CHT implementation instead of having it all in the hpp file?  The interface only needs to be the functions at the end.

Hopefully this "[Update after review](https://github.com/openjdk/jdk/pull/28565/commits/914589326270ec61c6b64d086d01d6d6f16357be)" version is what you want.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28565#discussion_r2610982098


More information about the hotspot-runtime-dev mailing list