Integrated: 8374712: AOTMappedHeapWriter::relocate_field_in_buffer should use CompressedOops::narrow_oop_cast
Kim Barrett
kbarrett at openjdk.org
Thu Jan 8 04:46:05 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
This pull request has now been integrated.
Changeset: 70669d05
Author: Kim Barrett <kbarrett at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/70669d0585c708e04befe0f9ba945f6154f9afec
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
8374712: AOTMappedHeapWriter::relocate_field_in_buffer should use CompressedOops::narrow_oop_cast
Reviewed-by: kvn
-------------
PR: https://git.openjdk.org/jdk/pull/29100
More information about the hotspot-runtime-dev
mailing list