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

Axel Boldt-Christmas aboldtch at openjdk.org
Thu Apr 25 08:22:40 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.

This pull request has now been integrated.

Changeset: 1061cd4f
Author:    Axel Boldt-Christmas <aboldtch at openjdk.org>
URL:       https://git.openjdk.org/lilliput/commit/1061cd4f3148d0d201cf223cdcf57eba159a4b1f
Stats:     94 lines in 8 files changed: 21 ins; 10 del; 63 mod

OMWorld: Cleanup ObjectMonitor::_header

Reviewed-by: rkennke

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

PR: https://git.openjdk.org/lilliput/pull/161


More information about the lilliput-dev mailing list