public final class GenScavengeAllocationSnippets extends SubstrateAllocationSnippets
Modifier and Type | Class and Description |
---|---|
static class |
GenScavengeAllocationSnippets.Templates |
SubstrateAllocationSnippets.SubstrateAllocationProfilingData
ALLOCATION_LOCATION_IDENTITIES, TLAB_END_IDENTITY, TLAB_TOP_IDENTITY
Constructor and Description |
---|
GenScavengeAllocationSnippets() |
Modifier and Type | Method and Description |
---|---|
Object |
formatArraySnippet(org.graalvm.compiler.word.Word memory,
DynamicHub hub,
int length,
boolean rememberedSet,
boolean unaligned,
boolean fillContents,
boolean emitMemoryBarrier,
boolean supportsBulkZeroing,
org.graalvm.compiler.replacements.AllocationSnippets.AllocationSnippetCounters snippetCounters) |
Object |
formatObjectSnippet(org.graalvm.compiler.word.Word memory,
DynamicHub hub,
boolean rememberedSet,
boolean fillContents,
boolean emitMemoryBarrier,
org.graalvm.compiler.replacements.AllocationSnippets.AllocationSnippetCounters snippetCounters) |
protected SnippetRuntime.SubstrateForeignCallDescriptor |
getSlowNewArrayStub() |
protected SnippetRuntime.SubstrateForeignCallDescriptor |
getSlowNewInstanceStub() |
protected org.graalvm.compiler.word.Word |
getTLABInfo() |
protected void |
initializeObjectHeader(org.graalvm.compiler.word.Word memory,
org.graalvm.compiler.word.Word objectHeader,
org.graalvm.compiler.word.Word prototypeMarkWord,
boolean isArray) |
protected org.graalvm.compiler.word.Word |
readTlabEnd(org.graalvm.compiler.word.Word tlabInfo) |
protected org.graalvm.compiler.word.Word |
readTlabTop(org.graalvm.compiler.word.Word tlabInfo) |
static void |
registerForeignCalls(org.graalvm.compiler.phases.util.Providers providers,
Map<SnippetRuntime.SubstrateForeignCallDescriptor,SubstrateForeignCallLinkage> foreignCalls) |
static void |
registerLowering(org.graalvm.compiler.options.OptionValues options,
Iterable<org.graalvm.compiler.debug.DebugHandlersFactory> factories,
org.graalvm.compiler.phases.util.Providers providers,
org.graalvm.compiler.api.replacements.SnippetReflectionProvider snippetReflection,
Map<Class<? extends org.graalvm.compiler.graph.Node>,NodeLoweringProvider<?>> lowerings) |
protected boolean |
shouldAllocateInTLAB(org.graalvm.word.UnsignedWord size,
boolean isArray) |
protected boolean |
useTLAB() |
protected void |
writeTlabTop(org.graalvm.compiler.word.Word tlabInfo,
org.graalvm.compiler.word.Word newTop) |
allocateArray, allocateArrayDynamic, allocateInstance, allocateInstanceDynamic, arrayLengthOffset, callNewArrayStub, callNewInstanceStub, callNewMultiArrayStub, getArrayHeaderSize, getArrayZeroingStartOffset, getMinimalBulkZeroingSize, getPrefetchDistance, getPrefetchLines, getPrefetchStepSize, getPrefetchStyle, instanceHeaderSize, newmultiarray, objectAlignment, profileAllocation, verifyOop
public static void registerForeignCalls(org.graalvm.compiler.phases.util.Providers providers, Map<SnippetRuntime.SubstrateForeignCallDescriptor,SubstrateForeignCallLinkage> foreignCalls)
public static void registerLowering(org.graalvm.compiler.options.OptionValues options, Iterable<org.graalvm.compiler.debug.DebugHandlersFactory> factories, org.graalvm.compiler.phases.util.Providers providers, org.graalvm.compiler.api.replacements.SnippetReflectionProvider snippetReflection, Map<Class<? extends org.graalvm.compiler.graph.Node>,NodeLoweringProvider<?>> lowerings)
public Object formatObjectSnippet(org.graalvm.compiler.word.Word memory, DynamicHub hub, boolean rememberedSet, boolean fillContents, boolean emitMemoryBarrier, org.graalvm.compiler.replacements.AllocationSnippets.AllocationSnippetCounters snippetCounters)
public Object formatArraySnippet(org.graalvm.compiler.word.Word memory, DynamicHub hub, int length, boolean rememberedSet, boolean unaligned, boolean fillContents, boolean emitMemoryBarrier, boolean supportsBulkZeroing, org.graalvm.compiler.replacements.AllocationSnippets.AllocationSnippetCounters snippetCounters)
protected void initializeObjectHeader(org.graalvm.compiler.word.Word memory, org.graalvm.compiler.word.Word objectHeader, org.graalvm.compiler.word.Word prototypeMarkWord, boolean isArray)
initializeObjectHeader
in class org.graalvm.compiler.replacements.AllocationSnippets
protected boolean useTLAB()
useTLAB
in class org.graalvm.compiler.replacements.AllocationSnippets
protected boolean shouldAllocateInTLAB(org.graalvm.word.UnsignedWord size, boolean isArray)
shouldAllocateInTLAB
in class org.graalvm.compiler.replacements.AllocationSnippets
protected org.graalvm.compiler.word.Word getTLABInfo()
getTLABInfo
in class org.graalvm.compiler.replacements.AllocationSnippets
protected org.graalvm.compiler.word.Word readTlabTop(org.graalvm.compiler.word.Word tlabInfo)
readTlabTop
in class org.graalvm.compiler.replacements.AllocationSnippets
protected org.graalvm.compiler.word.Word readTlabEnd(org.graalvm.compiler.word.Word tlabInfo)
readTlabEnd
in class org.graalvm.compiler.replacements.AllocationSnippets
protected void writeTlabTop(org.graalvm.compiler.word.Word tlabInfo, org.graalvm.compiler.word.Word newTop)
writeTlabTop
in class org.graalvm.compiler.replacements.AllocationSnippets
protected SnippetRuntime.SubstrateForeignCallDescriptor getSlowNewInstanceStub()
getSlowNewInstanceStub
in class SubstrateAllocationSnippets
protected SnippetRuntime.SubstrateForeignCallDescriptor getSlowNewArrayStub()
getSlowNewArrayStub
in class SubstrateAllocationSnippets