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 InvalidInstalledCodeException
InvalidInstalledCodeException
public void speculativeOptimization(boolean flag)
public void testSpeculativeOptimization() throws InvalidInstalledCodeException
InvalidInstalledCodeException
public static int instanceOfUsage(Object obj)
public void testInstanceOfUsage() throws InvalidInstalledCodeException
InvalidInstalledCodeException
public static double intrinsicUsage(double val)
public void testIntrinsicUsage() throws InvalidInstalledCodeException
InvalidInstalledCodeException