public class GraalTutorial extends InvokeGraal
mx unittest -G:Dump= -G:MethodFilter=String.hashCode GraalTutorial#testStringHashCode
Modifier and Type | Class and Description |
---|---|
(package private) static class |
GraalTutorial.A |
(package private) static class |
GraalTutorial.B |
Modifier and Type | Field and Description |
---|---|
(package private) int |
f1 |
(package private) int |
f2 |
backend, codeCache, metaAccess, providers, target
Constructor and Description |
---|
GraalTutorial() |
Modifier and Type | Method and Description |
---|---|
static int |
instanceOfUsage(Object obj) |
static double |
intrinsicUsage(double val) |
void |
speculativeOptimization(boolean flag) |
void |
testInstanceOfUsage() |
void |
testIntrinsicUsage() |
void |
testPrintBytecodes() |
void |
testSpeculativeOptimization() |
void |
testStringHashCode() |
compileAndInstallMethod, findMethod
public GraalTutorial()
public void testPrintBytecodes()
public void testStringHashCode() throws jdk.internal.jvmci.code.InvalidInstalledCodeException
jdk.internal.jvmci.code.InvalidInstalledCodeException
public void speculativeOptimization(boolean flag)
public void testSpeculativeOptimization() throws jdk.internal.jvmci.code.InvalidInstalledCodeException
jdk.internal.jvmci.code.InvalidInstalledCodeException
public static int instanceOfUsage(Object obj)
public void testInstanceOfUsage() throws jdk.internal.jvmci.code.InvalidInstalledCodeException
jdk.internal.jvmci.code.InvalidInstalledCodeException
public static double intrinsicUsage(double val)
public void testIntrinsicUsage() throws jdk.internal.jvmci.code.InvalidInstalledCodeException
jdk.internal.jvmci.code.InvalidInstalledCodeException