RFR: 8305895: Implement JEP 450: Compact Object Headers (Experimental) [v14]

Roman Kennke rkennke at openjdk.org
Fri Sep 13 12:56:17 UTC 2024


On Fri, 13 Sep 2024 09:39:23 GMT, Stefan Karlsson <stefank at openjdk.org> wrote:

>> Roman Kennke has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Hide log timestamps in test to prevent false failures
>
> src/hotspot/share/oops/oop.inline.hpp line 295:
> 
>> 293: // Used by scavengers
>> 294: void oopDesc::forward_to(oop p) {
>> 295:   assert(cast_from_oop<oopDesc*>(p) != this,
> 
> Do we really need the cast here?

Yes, otherwise compiler complains about ambiguous != operator.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20677#discussion_r1758815451


More information about the build-dev mailing list