RFR: 8361447: [REDO] Checked version of JNI Release<type>ArrayElements needs to filter out known wrapped arrays [v2]
David Holmes
dholmes at openjdk.org
Wed Jul 9 02:32:44 UTC 2025
On Tue, 8 Jul 2025 20:26:49 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:
> > This looks good. is_readable_range avoids unaligned SafeFetch32, right?
>
> Right. It aligns down to `min_page_size` which is fine.
It also avoids the endian-ness issue of reading a byte from a 32-bit int.
Thanks for the review @coleenp !
-------------
PR Comment: https://git.openjdk.org/jdk/pull/26177#issuecomment-3050903852
More information about the hotspot-dev
mailing list