RFR: 8374712: AOTMappedHeapWriter::relocate_field_in_buffer should use CompressedOops::narrow_oop_cast
Vladimir Kozlov
kvn at openjdk.org
Thu Jan 8 01:11:41 UTC 2026
On Wed, 7 Jan 2026 23:04:43 GMT, Kim Barrett <kbarrett 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.
-------------
Marked as reviewed by kvn (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/29100#pullrequestreview-3637340927
More information about the hotspot-runtime-dev
mailing list