[master] RFR: OMWorld: Cleanup ObjectMonitor::_header

Roman Kennke rkennke at openjdk.org
Mon Apr 22 14:19:37 UTC 2024


On Mon, 22 Apr 2024 13:20:33 GMT, Axel Boldt-Christmas <aboldtch at openjdk.org> wrote:

> This changes the `ObjectMonitor::_header` to `ObjectMonitor::_metadata` and cleans up the surrounding terminology. 
> 
> Parts of this could be upstreamed, but the distinction of this field between the different locking modes is introduced in OMWorld. 
> 
> This patch will conflict with Lilliput if rebased on-top of OMWorld because Lilliput introduces `static ByteSize header_offset()` which is not used after OMWorld.  They could probably be removed in both these patches.
> 
> This also changes all the fields to have the same access level (private) so that this can be a standard layout type.

Makes sense! Thanks!

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

Marked as reviewed by rkennke (Lead).

PR Review: https://git.openjdk.org/lilliput/pull/161#pullrequestreview-2014902073


More information about the lilliput-dev mailing list