RFR: 8300258: C2: vectorization fails on simple ByteBuffer loop [v2]
Roland Westrelin
roland at openjdk.org
Thu Mar 2 08:49:16 UTC 2023
On Thu, 2 Mar 2023 08:29:47 GMT, Emanuel Peter <epeter at openjdk.org> wrote:
> But maybe this is expected, and just a bad use of `Unsafe`. Probably we want this to vectorize, for the extra performance, and people who use `Unsafe` just have to be careful not to do such strange things.
Yes, I would say that qualifies as bad use of `Unsafe` and we can't support everything that's possible with it.
-------------
PR: https://git.openjdk.org/jdk/pull/12440
More information about the hotspot-compiler-dev
mailing list