public class org.graalvm.compiler.hotspot.amd64.test.DataPatchInConstantsTest extends org.graalvm.compiler.hotspot.test.HotSpotGraalCompilerTest
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.hotspot.amd64.test.DataPatchInConstantsTest
super_class: org.graalvm.compiler.hotspot.test.HotSpotGraalCompilerTest
{
private static final java.lang.Object object;
descriptor: Ljava/lang/Object;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.graalvm.compiler.hotspot.amd64.test.DataPatchInConstantsTest$1
dup
invokespecial org.graalvm.compiler.hotspot.amd64.test.DataPatchInConstantsTest$1.<init>:()V
putstatic org.graalvm.compiler.hotspot.amd64.test.DataPatchInConstantsTest.object:Ljava/lang/Object;
1: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.graalvm.compiler.hotspot.test.HotSpotGraalCompilerTest.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/amd64/test/DataPatchInConstantsTest;
public void checkAMD64();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tBefore cannot be resolved to a type\n\tAssume cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/amd64/test/DataPatchInConstantsTest;
RuntimeInvisibleAnnotations:
Before()
private static java.lang.Object loadThroughPatch(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
public static java.lang.Object oopSnippet();
descriptor: ()Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: getstatic org.graalvm.compiler.hotspot.amd64.test.DataPatchInConstantsTest.object:Ljava/lang/Object;
invokestatic org.graalvm.compiler.hotspot.amd64.test.DataPatchInConstantsTest.loadThroughPatch:(Ljava/lang/Object;)Ljava/lang/Object;
astore 0
start local 0 1: getstatic org.graalvm.compiler.hotspot.amd64.test.DataPatchInConstantsTest.object:Ljava/lang/Object;
aload 0
if_acmpeq 3
2: ldc "invalid patch"
areturn
3: StackMap locals: java.lang.Object
StackMap stack:
invokestatic java.lang.System.gc:()V
4: getstatic org.graalvm.compiler.hotspot.amd64.test.DataPatchInConstantsTest.object:Ljava/lang/Object;
invokestatic org.graalvm.compiler.hotspot.amd64.test.DataPatchInConstantsTest.loadThroughPatch:(Ljava/lang/Object;)Ljava/lang/Object;
astore 0
5: getstatic org.graalvm.compiler.hotspot.amd64.test.DataPatchInConstantsTest.object:Ljava/lang/Object;
aload 0
if_acmpeq 7
6: ldc "failed after gc"
areturn
7: StackMap locals:
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 8 0 patch Ljava/lang/Object;
public void oopTest();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/amd64/test/DataPatchInConstantsTest;
RuntimeInvisibleAnnotations:
Test()
private static java.lang.Object loadThroughCompressedPatch(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
public static java.lang.Object narrowOopSnippet();
descriptor: ()Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: getstatic org.graalvm.compiler.hotspot.amd64.test.DataPatchInConstantsTest.object:Ljava/lang/Object;
invokestatic org.graalvm.compiler.hotspot.amd64.test.DataPatchInConstantsTest.loadThroughCompressedPatch:(Ljava/lang/Object;)Ljava/lang/Object;
astore 0
start local 0 1: getstatic org.graalvm.compiler.hotspot.amd64.test.DataPatchInConstantsTest.object:Ljava/lang/Object;
aload 0
if_acmpeq 3
2: ldc "invalid patch"
areturn
3: StackMap locals: java.lang.Object
StackMap stack:
invokestatic java.lang.System.gc:()V
4: getstatic org.graalvm.compiler.hotspot.amd64.test.DataPatchInConstantsTest.object:Ljava/lang/Object;
invokestatic org.graalvm.compiler.hotspot.amd64.test.DataPatchInConstantsTest.loadThroughCompressedPatch:(Ljava/lang/Object;)Ljava/lang/Object;
astore 0
5: getstatic org.graalvm.compiler.hotspot.amd64.test.DataPatchInConstantsTest.object:Ljava/lang/Object;
aload 0
if_acmpeq 7
6: ldc "failed after gc"
areturn
7: StackMap locals:
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 8 0 patch Ljava/lang/Object;
public void narrowOopTest();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tTest cannot be resolved to a type\n\tAssume cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/amd64/test/DataPatchInConstantsTest;
RuntimeInvisibleAnnotations:
Test()
public static java.lang.Object compareSnippet();
descriptor: ()Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=0
0: getstatic org.graalvm.compiler.hotspot.amd64.test.DataPatchInConstantsTest.object:Ljava/lang/Object;
invokestatic org.graalvm.compiler.hotspot.amd64.test.DataPatchInConstantsTest.loadThroughPatch:(Ljava/lang/Object;)Ljava/lang/Object;
astore 0
start local 0 1: getstatic org.graalvm.compiler.hotspot.amd64.test.DataPatchInConstantsTest.object:Ljava/lang/Object;
invokestatic org.graalvm.compiler.hotspot.amd64.test.DataPatchInConstantsTest.loadThroughCompressedPatch:(Ljava/lang/Object;)Ljava/lang/Object;
astore 1
start local 1 2: getstatic org.graalvm.compiler.hotspot.amd64.test.DataPatchInConstantsTest.object:Ljava/lang/Object;
aload 0
if_acmpeq 4
3: ldc "uncompressed failed"
areturn
4: StackMap locals: java.lang.Object java.lang.Object
StackMap stack:
getstatic org.graalvm.compiler.hotspot.amd64.test.DataPatchInConstantsTest.object:Ljava/lang/Object;
aload 1
if_acmpeq 6
5: ldc "compressed failed"
areturn
6: StackMap locals:
StackMap stack:
aload 0
aload 1
if_acmpeq 8
7: ldc "uncompressed != compressed"
areturn
8: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.hotspot.amd64.test.DataPatchInConstantsTest.object:Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 9 0 uncompressed Ljava/lang/Object;
2 9 1 compressed Ljava/lang/Object;
public void compareTest();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tTest cannot be resolved to a type\n\tAssume cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/amd64/test/DataPatchInConstantsTest;
RuntimeInvisibleAnnotations:
Test()
protected org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration$Plugins getDefaultGraphBuilderPlugins();
descriptor: ()Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration$Plugins;
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=3, args_size=1
start local 0 0: aload 0
invokespecial org.graalvm.compiler.hotspot.test.HotSpotGraalCompilerTest.getDefaultGraphBuilderPlugins:()Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration$Plugins;
astore 1
start local 1 1: new org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins$Registration
dup
aload 1
invokevirtual org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration$Plugins.getInvocationPlugins:()Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugins;
ldc Lorg/graalvm/compiler/hotspot/amd64/test/DataPatchInConstantsTest;
invokespecial org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins$Registration.<init>:(Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugins;Ljava/lang/reflect/Type;)V
astore 2
start local 2 2: aload 2
ldc "loadThroughPatch"
ldc Ljava/lang/Object;
new org.graalvm.compiler.hotspot.amd64.test.DataPatchInConstantsTest$2
dup
aload 0
invokespecial org.graalvm.compiler.hotspot.amd64.test.DataPatchInConstantsTest$2.<init>:(Lorg/graalvm/compiler/hotspot/amd64/test/DataPatchInConstantsTest;)V
invokevirtual org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins$Registration.register1:(Ljava/lang/String;Ljava/lang/reflect/Type;Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugin;)V
3: aload 2
ldc "loadThroughCompressedPatch"
ldc Ljava/lang/Object;
new org.graalvm.compiler.hotspot.amd64.test.DataPatchInConstantsTest$3
dup
aload 0
invokespecial org.graalvm.compiler.hotspot.amd64.test.DataPatchInConstantsTest$3.<init>:(Lorg/graalvm/compiler/hotspot/amd64/test/DataPatchInConstantsTest;)V
invokevirtual org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins$Registration.register1:(Ljava/lang/String;Ljava/lang/reflect/Type;Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugin;)V
4: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/hotspot/amd64/test/DataPatchInConstantsTest;
1 5 1 plugins Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration$Plugins;
2 5 2 r Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugins$Registration;
static org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider access$0(org.graalvm.compiler.hotspot.amd64.test.DataPatchInConstantsTest);
descriptor: (Lorg/graalvm/compiler/hotspot/amd64/test/DataPatchInConstantsTest;)Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntimeProvider;
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.graalvm.compiler.hotspot.amd64.test.DataPatchInConstantsTest.runtime:()Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntimeProvider;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "DataPatchInConstantsTest.java"
NestMembers:
org.graalvm.compiler.hotspot.amd64.test.DataPatchInConstantsTest$1 org.graalvm.compiler.hotspot.amd64.test.DataPatchInConstantsTest$2 org.graalvm.compiler.hotspot.amd64.test.DataPatchInConstantsTest$3 org.graalvm.compiler.hotspot.amd64.test.DataPatchInConstantsTest$LoadThroughPatchNode org.graalvm.compiler.hotspot.amd64.test.DataPatchInConstantsTest$LoadThroughPatchOp
InnerClasses:
org.graalvm.compiler.hotspot.amd64.test.DataPatchInConstantsTest$1
org.graalvm.compiler.hotspot.amd64.test.DataPatchInConstantsTest$2
org.graalvm.compiler.hotspot.amd64.test.DataPatchInConstantsTest$3
private final LoadThroughPatchNode = org.graalvm.compiler.hotspot.amd64.test.DataPatchInConstantsTest$LoadThroughPatchNode of org.graalvm.compiler.hotspot.amd64.test.DataPatchInConstantsTest
private final LoadThroughPatchOp = org.graalvm.compiler.hotspot.amd64.test.DataPatchInConstantsTest$LoadThroughPatchOp of org.graalvm.compiler.hotspot.amd64.test.DataPatchInConstantsTest
public Plugins = org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration$Plugins of org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration
public Registration = org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins$Registration of org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins