mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8329331: Intrinsify Unsafe::setMemory
Reviewed-by: sviswanathan, jbhateja, kvn
This commit is contained in:
parent
185e711bfe
commit
bd67ac69a2
36 changed files with 502 additions and 87 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue