On Fri, 5 Apr 2024 02:40:16 GMT, Dean Long <dl...@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