[master] RFR: Implement self-forwarding of objects that preserves header bits [v2]
Aleksey Shipilev
shade at openjdk.java.net
Thu Jul 8 06:44:00 UTC 2021
On Wed, 7 Jul 2021 20:06:46 GMT, Roman Kennke <rkennke at openjdk.org> wrote:
>> src/hotspot/share/oops/markWord.hpp line 135:
>>
>>> 133: static const uintptr_t marked_value = 3;
>>> 134:
>>> 135: static const uintptr_t self_forwarded_value = 1 << self_forwarded_shift;
>>
>> This actually looks like `self_forwarded_in_place`? Because `self_forwarded_value` is just `1`.
>
> It's actually self_forwarded_mask_in_place, I removed the _value and simplified the set_self_forwarded() method.
Good.
-------------
PR: https://git.openjdk.java.net/lilliput/pull/10
More information about the lilliput-dev
mailing list