RFR: 8329331: Intrinsify Unsafe::setMemory [v4]

Maurizio Cimadamore mcimadamore at openjdk.org
Tue Apr 9 08:17:02 UTC 2024


On Fri, 5 Apr 2024 02:40:16 GMT, Dean Long <dlong at openjdk.org> wrote:

> That way C2 can do all its usual optimizations, like unrolling, vectorization, and redundant store elimination (if it is an on-heap primitive array that was just allocated, then there is no need to zero the parts that are being "set").

I second that. It is something that came up quite frequently in the discussions around the FFM API.

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

PR Comment: https://git.openjdk.org/jdk/pull/18555#issuecomment-2044409509


More information about the core-libs-dev mailing list