public class NewArrayStub extends SnippetStub
| Modifier and Type | Field and Description |
|---|---|
static ForeignCallDescriptor |
NEW_ARRAY_C |
method, SnippetGraphUnderConstructioncode, compResult, linkage, providers| Constructor and Description |
|---|
NewArrayStub(HotSpotProviders providers,
HotSpotForeignCallLinkage linkage) |
| Modifier and Type | Method and Description |
|---|---|
private static boolean |
logging() |
protected Object[] |
makeConstArgs() |
private static Object |
newArray(KlassPointer hub,
int length,
KlassPointer intArrayHub,
Register threadRegister)
Re-attempts allocation after an initial TLAB allocation failed or was skipped (e.g., due to
-XX:-UseTLAB).
|
static void |
newArrayC(ForeignCallDescriptor newArrayC,
Word thread,
KlassPointer hub,
int length) |
checkConstArg, debugScopeContext, getConstantParameterValue, getGraph, getInstalledCodeOwner, toStringgetCode, getCompilationResult, getDestroyedRegisters, getLinkage, getRegisterConfig, getStubs, initDestroyedRegisters, preservesRegisterspublic static final ForeignCallDescriptor NEW_ARRAY_C
public NewArrayStub(HotSpotProviders providers, HotSpotForeignCallLinkage linkage)
protected Object[] makeConstArgs()
makeConstArgs in class SnippetStubprivate static boolean logging()
private static Object newArray(KlassPointer hub, int length, KlassPointer intArrayHub, Register threadRegister)
hub - the hub of the object to be allocatedlength - the length of the arrayintArrayHub - the hub for int[].classpublic static void newArrayC(ForeignCallDescriptor newArrayC, Word thread, KlassPointer hub, int length)