RFR: 8335392: C2 MergeStores: enhanced pointer parsing [v6]

Emanuel Peter epeter at openjdk.org
Tue Oct 29 17:45:27 UTC 2024


On Tue, 29 Oct 2024 17:41:26 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

>> Good point. I'll try to remember the reason and add better comments.
>
> Woopsies. I think this was a left-over from something earlier. I was able to trigger this assert with this:
> 
> 
>     static long[] arr201 = new long[1 << 28];
> 
>     public static void test201() {
>         UNSAFE.putByte(arr201, Unsafe.ARRAY_LONG_BASE_OFFSET + (1L << 12),              (byte)64);
>         UNSAFE.putByte(arr201, Unsafe.ARRAY_LONG_BASE_OFFSET + (1L << 12) + (1L << 30), (byte)64);
>     }

Good catch! Thanks for having a close look!

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

PR Review Comment: https://git.openjdk.org/jdk/pull/19970#discussion_r1821292914


More information about the hotspot-compiler-dev mailing list