RFR: 8374712: AOTMappedHeapWriter::relocate_field_in_buffer should use CompressedOops::narrow_oop_cast
Kim Barrett
kbarrett at openjdk.org
Thu Jan 8 04:46:03 UTC 2026
On Thu, 8 Jan 2026 01:08:41 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:
>> Please review this change to use CompressedOops::narrow_oop_cast instead of
>> potentially UB checked_cast to convert an integer to a narrowOop.
>> narrow_oop_cast does not have the UB problem.
>>
>> Testing: mach5 tier1
>
> Trivial.
Thanks for reviewing @vnkozlov
-------------
PR Comment: https://git.openjdk.org/jdk/pull/29100#issuecomment-3721850591
More information about the hotspot-runtime-dev
mailing list