public abstract class AbstractCommittedMemoryProvider extends Object implements CommittedMemoryProvider
CommittedMemoryProvider.AccessUNALIGNED| Constructor and Description |
|---|
AbstractCommittedMemoryProvider() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
guaranteesHeapPreferredAddressSpaceAlignment()
Returns whether this provider will always guarantee a heap address space alignment of
Heap.getPreferredAddressSpaceAlignment() at image runtime, which may also depend on
ImageHeapProvider.guaranteesHeapPreferredAddressSpaceAlignment(). |
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). |
protected static int |
protectSingleIsolateImageHeap() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitafterGarbageCollection, allocate, beforeGarbageCollection, free, get, getGranularity, initialize, tearDownpublic boolean guaranteesHeapPreferredAddressSpaceAlignment()
CommittedMemoryProviderHeap.getPreferredAddressSpaceAlignment() at image runtime, which may also depend on
ImageHeapProvider.guaranteesHeapPreferredAddressSpaceAlignment().guaranteesHeapPreferredAddressSpaceAlignment in interface CommittedMemoryProviderprotected static int protectSingleIsolateImageHeap()
public boolean protect(org.graalvm.word.PointerBase start,
org.graalvm.word.UnsignedWord nbytes,
EnumSet<CommittedMemoryProvider.Access> accessFlags)
CommittedMemoryProviderCommittedMemoryProvider.allocate(org.graalvm.word.UnsignedWord, org.graalvm.word.UnsignedWord, boolean).protect in interface CommittedMemoryProviderstart - The start of the memory blocknbytes - Length of the memory blockaccessFlags - protection setting