[master] RFR: Implement self-forwarding of objects that preserves header bits [v2]

Roman Kennke rkennke at openjdk.java.net
Wed Jul 7 20:15:51 UTC 2021


On Wed, 7 Jul 2021 17:39:40 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

>> Roman Kennke has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Alekey's comments
>
> src/hotspot/share/oops/oop.hpp line 250:
> 
>> 248: 
>> 249:   inline void forward_to(oop p);
>> 250:   inline void forward_to_self();
> 
> Yes, this rename makes total sense for upstream. Want to do it?

This is not the rename. cas_forward_to() is only used in a single place for self-forwarding, but the replacement in upstream would be forward_to_atomic(), which is doing almost exactly the same (except it returns a value not a bool). Filed:
https://bugs.openjdk.java.net/browse/JDK-8270041

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

PR: https://git.openjdk.java.net/lilliput/pull/10


More information about the lilliput-dev mailing list