public abstract class AbstractCommittedMemoryProvider extends Object implements CommittedMemoryProvider
CommittedMemoryProvider.Access
UNALIGNED
Constructor and Description |
---|
AbstractCommittedMemoryProvider() |
Modifier and Type | Method and Description |
---|---|
boolean |
protect(org.graalvm.word.PointerBase start,
org.graalvm.word.UnsignedWord nbytes,
EnumSet<CommittedMemoryProvider.Access> accessFlags)
Change access permissions for a block of committed memory that was allocated with
CommittedMemoryProvider.allocate(org.graalvm.word.UnsignedWord, org.graalvm.word.UnsignedWord, boolean) . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
afterGarbageCollection, allocate, beforeGarbageCollection, free, get, getGranularity, initialize, tearDown
public boolean protect(org.graalvm.word.PointerBase start, org.graalvm.word.UnsignedWord nbytes, EnumSet<CommittedMemoryProvider.Access> accessFlags)
CommittedMemoryProvider
CommittedMemoryProvider.allocate(org.graalvm.word.UnsignedWord, org.graalvm.word.UnsignedWord, boolean)
.protect
in interface CommittedMemoryProvider
start
- The start of the memory blocknbytes
- Length of the memory blockaccessFlags
- protection setting