8329331: Intrinsify Unsafe::setMemory

Reviewed-by: sviswanathan, jbhateja, kvn
This commit is contained in:
Scott Gibbons 2024-04-21 23:24:46 +00:00 committed by Jatin Bhateja
parent 185e711bfe
commit bd67ac69a2
36 changed files with 502 additions and 87 deletions

View file

@ -3824,6 +3824,7 @@ public final class Unsafe {
private native long allocateMemory0(long bytes);
private native long reallocateMemory0(long address, long bytes);
private native void freeMemory0(long address);
@IntrinsicCandidate
private native void setMemory0(Object o, long offset, long bytes, byte value);
@IntrinsicCandidate
private native void copyMemory0(Object srcBase, long srcOffset, Object destBase, long destOffset, long bytes);