public class org.graalvm.compiler.hotspot.test.WriteBarrierAdditionTest 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.test.WriteBarrierAdditionTest
super_class: org.graalvm.compiler.hotspot.test.HotSpotGraalCompilerTest
{
private final org.graalvm.compiler.hotspot.GraalHotSpotVMConfig config;
descriptor: Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final long referentOffset;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static java.lang.ref.WeakReference<java.lang.Object> wr;
descriptor: Ljava/lang/ref/WeakReference;
flags: (0x0008) ACC_STATIC
Signature: Ljava/lang/ref/WeakReference<Ljava/lang/Object;>;
static org.graalvm.compiler.hotspot.test.WriteBarrierAdditionTest$Container con;
descriptor: Lorg/graalvm/compiler/hotspot/test/WriteBarrierAdditionTest$Container;
flags: (0x0008) ACC_STATIC
static java.lang.Object[] src;
descriptor: [Ljava/lang/Object;
flags: (0x0008) ACC_STATIC
static java.lang.Object[] dst;
descriptor: [Ljava/lang/Object;
flags: (0x0008) ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=1, args_size=0
0: invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.referentOffset:()J
putstatic org.graalvm.compiler.hotspot.test.WriteBarrierAdditionTest.referentOffset:J
1: new java.lang.ref.WeakReference
dup
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
invokespecial java.lang.ref.WeakReference.<init>:(Ljava/lang/Object;)V
putstatic org.graalvm.compiler.hotspot.test.WriteBarrierAdditionTest.wr:Ljava/lang/ref/WeakReference;
2: new org.graalvm.compiler.hotspot.test.WriteBarrierAdditionTest$Container
dup
invokespecial org.graalvm.compiler.hotspot.test.WriteBarrierAdditionTest$Container.<init>:()V
putstatic org.graalvm.compiler.hotspot.test.WriteBarrierAdditionTest.con:Lorg/graalvm/compiler/hotspot/test/WriteBarrierAdditionTest$Container;
3: iconst_1
anewarray java.lang.Object
putstatic org.graalvm.compiler.hotspot.test.WriteBarrierAdditionTest.src:[Ljava/lang/Object;
4: iconst_1
anewarray java.lang.Object
putstatic org.graalvm.compiler.hotspot.test.WriteBarrierAdditionTest.dst:[Ljava/lang/Object;
5: iconst_0
istore 0
start local 0 6: goto 9
7: StackMap locals: int
StackMap stack:
getstatic org.graalvm.compiler.hotspot.test.WriteBarrierAdditionTest.src:[Ljava/lang/Object;
iload 0
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
aastore
8: iinc 0 1
StackMap locals:
StackMap stack:
9: iload 0
getstatic org.graalvm.compiler.hotspot.test.WriteBarrierAdditionTest.src:[Ljava/lang/Object;
arraylength
if_icmplt 7
end local 0 10: iconst_0
istore 0
start local 0 11: goto 14
12: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.hotspot.test.WriteBarrierAdditionTest.dst:[Ljava/lang/Object;
iload 0
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
aastore
13: iinc 0 1
StackMap locals:
StackMap stack:
14: iload 0
getstatic org.graalvm.compiler.hotspot.test.WriteBarrierAdditionTest.dst:[Ljava/lang/Object;
arraylength
if_icmplt 12
end local 0 15: return
LocalVariableTable:
Start End Slot Name Signature
6 10 0 i I
11 15 0 i I
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.graalvm.compiler.hotspot.test.HotSpotGraalCompilerTest.<init>:()V
1: aload 0
aload 0
invokevirtual org.graalvm.compiler.hotspot.test.WriteBarrierAdditionTest.runtime:()Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntimeProvider;
invokeinterface org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider.getVMConfig:()Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
putfield org.graalvm.compiler.hotspot.test.WriteBarrierAdditionTest.config:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/hotspot/test/WriteBarrierAdditionTest;
public void test1();
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/test/WriteBarrierAdditionTest;
Exceptions:
throws java.lang.Exception
RuntimeInvisibleAnnotations:
Test()
public static void test1Snippet();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=0
0: new org.graalvm.compiler.hotspot.test.WriteBarrierAdditionTest$Container
dup
invokespecial org.graalvm.compiler.hotspot.test.WriteBarrierAdditionTest$Container.<init>:()V
astore 0
start local 0 1: new org.graalvm.compiler.hotspot.test.WriteBarrierAdditionTest$Container
dup
invokespecial org.graalvm.compiler.hotspot.test.WriteBarrierAdditionTest$Container.<init>:()V
astore 1
start local 1 2: new org.graalvm.compiler.hotspot.test.WriteBarrierAdditionTest$Container
dup
invokespecial org.graalvm.compiler.hotspot.test.WriteBarrierAdditionTest$Container.<init>:()V
astore 2
start local 2 3: aload 0
aload 1
putfield org.graalvm.compiler.hotspot.test.WriteBarrierAdditionTest$Container.a:Lorg/graalvm/compiler/hotspot/test/WriteBarrierAdditionTest$Container;
4: aload 0
aload 2
putfield org.graalvm.compiler.hotspot.test.WriteBarrierAdditionTest$Container.b:Lorg/graalvm/compiler/hotspot/test/WriteBarrierAdditionTest$Container;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 6 0 main Lorg/graalvm/compiler/hotspot/test/WriteBarrierAdditionTest$Container;
2 6 1 temp1 Lorg/graalvm/compiler/hotspot/test/WriteBarrierAdditionTest$Container;
3 6 2 temp2 Lorg/graalvm/compiler/hotspot/test/WriteBarrierAdditionTest$Container;
public void test2();
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/test/WriteBarrierAdditionTest;
Exceptions:
throws java.lang.Exception
RuntimeInvisibleAnnotations:
Test()
public static void test2Snippet(boolean);
descriptor: (Z)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: new org.graalvm.compiler.hotspot.test.WriteBarrierAdditionTest$Container
dup
invokespecial org.graalvm.compiler.hotspot.test.WriteBarrierAdditionTest$Container.<init>:()V
astore 1
start local 1 1: new org.graalvm.compiler.hotspot.test.WriteBarrierAdditionTest$Container
dup
invokespecial org.graalvm.compiler.hotspot.test.WriteBarrierAdditionTest$Container.<init>:()V
astore 2
start local 2 2: new org.graalvm.compiler.hotspot.test.WriteBarrierAdditionTest$Container
dup
invokespecial org.graalvm.compiler.hotspot.test.WriteBarrierAdditionTest$Container.<init>:()V
astore 3
start local 3 3: iconst_0
istore 4
start local 4 4: goto 12
5: StackMap locals: int org.graalvm.compiler.hotspot.test.WriteBarrierAdditionTest$Container org.graalvm.compiler.hotspot.test.WriteBarrierAdditionTest$Container org.graalvm.compiler.hotspot.test.WriteBarrierAdditionTest$Container int
StackMap stack:
iload 0
ifeq 9
6: aload 1
aload 2
putfield org.graalvm.compiler.hotspot.test.WriteBarrierAdditionTest$Container.a:Lorg/graalvm/compiler/hotspot/test/WriteBarrierAdditionTest$Container;
7: aload 1
aload 3
putfield org.graalvm.compiler.hotspot.test.WriteBarrierAdditionTest$Container.b:Lorg/graalvm/compiler/hotspot/test/WriteBarrierAdditionTest$Container;
8: goto 11
9: StackMap locals:
StackMap stack:
aload 1
aload 3
putfield org.graalvm.compiler.hotspot.test.WriteBarrierAdditionTest$Container.a:Lorg/graalvm/compiler/hotspot/test/WriteBarrierAdditionTest$Container;
10: aload 1
aload 2
putfield org.graalvm.compiler.hotspot.test.WriteBarrierAdditionTest$Container.b:Lorg/graalvm/compiler/hotspot/test/WriteBarrierAdditionTest$Container;
11: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
12: iload 4
bipush 10
if_icmplt 5
end local 4 13: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 test Z
1 14 1 main Lorg/graalvm/compiler/hotspot/test/WriteBarrierAdditionTest$Container;
2 14 2 temp1 Lorg/graalvm/compiler/hotspot/test/WriteBarrierAdditionTest$Container;
3 14 3 temp2 Lorg/graalvm/compiler/hotspot/test/WriteBarrierAdditionTest$Container;
4 13 4 i I
MethodParameters:
Name Flags
test
public void test3();
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/test/WriteBarrierAdditionTest;
Exceptions:
throws java.lang.Exception
RuntimeInvisibleAnnotations:
Test()
public static void test3Snippet();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=0
0: bipush 10
anewarray org.graalvm.compiler.hotspot.test.WriteBarrierAdditionTest$Container
astore 0
start local 0 1: new org.graalvm.compiler.hotspot.test.WriteBarrierAdditionTest$Container
dup
invokespecial org.graalvm.compiler.hotspot.test.WriteBarrierAdditionTest$Container.<init>:()V
astore 1
start local 1 2: new org.graalvm.compiler.hotspot.test.WriteBarrierAdditionTest$Container
dup
invokespecial org.graalvm.compiler.hotspot.test.WriteBarrierAdditionTest$Container.<init>:()V
astore 2
start local 2 3: iconst_0
istore 3
start local 3 4: goto 7
5: StackMap locals: org.graalvm.compiler.hotspot.test.WriteBarrierAdditionTest$Container[] org.graalvm.compiler.hotspot.test.WriteBarrierAdditionTest$Container org.graalvm.compiler.hotspot.test.WriteBarrierAdditionTest$Container int
StackMap stack:
aload 0
iload 3
aaload
aload 0
iload 3
aaload
aload 1
dup_x1
putfield org.graalvm.compiler.hotspot.test.WriteBarrierAdditionTest$Container.b:Lorg/graalvm/compiler/hotspot/test/WriteBarrierAdditionTest$Container;
putfield org.graalvm.compiler.hotspot.test.WriteBarrierAdditionTest$Container.a:Lorg/graalvm/compiler/hotspot/test/WriteBarrierAdditionTest$Container;
6: iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
bipush 10
if_icmplt 5
end local 3 8: iconst_0
istore 3
start local 3 9: goto 12
10: StackMap locals:
StackMap stack:
aload 0
iload 3
aaload
aload 0
iload 3
aaload
aload 2
dup_x1
putfield org.graalvm.compiler.hotspot.test.WriteBarrierAdditionTest$Container.b:Lorg/graalvm/compiler/hotspot/test/WriteBarrierAdditionTest$Container;
putfield org.graalvm.compiler.hotspot.test.WriteBarrierAdditionTest$Container.a:Lorg/graalvm/compiler/hotspot/test/WriteBarrierAdditionTest$Container;
11: iinc 3 1
StackMap locals:
StackMap stack:
12: iload 3
bipush 10
if_icmplt 10
end local 3 13: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 14 0 main [Lorg/graalvm/compiler/hotspot/test/WriteBarrierAdditionTest$Container;
2 14 1 temp1 Lorg/graalvm/compiler/hotspot/test/WriteBarrierAdditionTest$Container;
3 14 2 temp2 Lorg/graalvm/compiler/hotspot/test/WriteBarrierAdditionTest$Container;
4 8 3 i I
9 13 3 i I
public void test4();
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/test/WriteBarrierAdditionTest;
Exceptions:
throws java.lang.Exception
RuntimeInvisibleAnnotations:
Test()
public static java.lang.Object test4Snippet();
descriptor: ()Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=0
0: new java.lang.ref.WeakReference
dup
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
invokespecial java.lang.ref.WeakReference.<init>:(Ljava/lang/Object;)V
astore 0
start local 0 1: aload 0
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 2 0 weakRef Ljava/lang/ref/WeakReference<Ljava/lang/Object;>;
public void test5();
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/test/WriteBarrierAdditionTest;
Exceptions:
throws java.lang.Exception
RuntimeInvisibleAnnotations:
Test()
public static java.lang.Object test5Snippet();
descriptor: ()Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: getstatic org.graalvm.compiler.hotspot.test.WriteBarrierAdditionTest.UNSAFE:Lsun/misc/Unsafe;
getstatic org.graalvm.compiler.hotspot.test.WriteBarrierAdditionTest.wr:Ljava/lang/ref/WeakReference;
aconst_null
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.config:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
getfield org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.useCompressedOops:Z
ifeq 1
ldc 12
goto 2
StackMap locals:
StackMap stack: sun.misc.Unsafe java.lang.ref.WeakReference
1: ldc 16
StackMap locals:
StackMap stack: sun.misc.Unsafe java.lang.ref.WeakReference long
2: invokevirtual sun.misc.Unsafe.getObject:(Ljava/lang/Object;J)Ljava/lang/Object;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.Exception
public void test6();
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/test/WriteBarrierAdditionTest;
Exceptions:
throws java.lang.Exception
RuntimeInvisibleAnnotations:
Test()
public void test7();
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/test/WriteBarrierAdditionTest;
Exceptions:
throws java.lang.Exception
RuntimeInvisibleAnnotations:
Test()
public void test8();
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/test/WriteBarrierAdditionTest;
Exceptions:
throws java.lang.Exception
RuntimeInvisibleAnnotations:
Test()
public void test10();
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/test/WriteBarrierAdditionTest;
Exceptions:
throws java.lang.Exception
RuntimeInvisibleAnnotations:
Test()
public void test9();
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/test/WriteBarrierAdditionTest;
Exceptions:
throws java.lang.Exception
RuntimeInvisibleAnnotations:
Test()
public static void testArrayCopy(java.lang.Object, java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iconst_0
aload 1
iconst_0
aload 2
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 a Ljava/lang/Object;
0 2 1 b Ljava/lang/Object;
0 2 2 c Ljava/lang/Object;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
a
b
c
public void test11();
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/test/WriteBarrierAdditionTest;
Exceptions:
throws java.lang.Exception
RuntimeInvisibleAnnotations:
Test()
public static java.lang.Object testUnsafeLoad(sun.misc.Unsafe, java.lang.Object, java.lang.Object, java.lang.Object);
descriptor: (Lsun/misc/Unsafe;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
ifnonnull 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: aload 3
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
StackMap locals:
StackMap stack: int
2: istore 4
start local 4 3: aload 2
ifnonnull 4
lconst_0
goto 5
StackMap locals: int
StackMap stack:
4: aload 2
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
StackMap locals:
StackMap stack: long
5: lstore 5
start local 5 6: aload 0
aload 1
iload 4
i2l
lload 5
ladd
invokevirtual sun.misc.Unsafe.getObject:(Ljava/lang/Object;J)Ljava/lang/Object;
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 theUnsafe Lsun/misc/Unsafe;
0 7 1 a Ljava/lang/Object;
0 7 2 b Ljava/lang/Object;
0 7 3 c Ljava/lang/Object;
3 7 4 offset I
6 7 5 displacement J
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
theUnsafe
a
b
c
private jdk.vm.ci.hotspot.HotSpotInstalledCode getInstalledCode(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Ljdk/vm/ci/hotspot/HotSpotInstalledCode;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iload 2
ifeq 1
aload 0
ldc Lorg/graalvm/compiler/hotspot/test/WriteBarrierAdditionTest;
aload 1
iconst_4
anewarray java.lang.Class
dup
iconst_0
ldc Lsun/misc/Unsafe;
aastore
dup
iconst_1
ldc Ljava/lang/Object;
aastore
dup
iconst_2
ldc Ljava/lang/Object;
aastore
dup
iconst_3
ldc Ljava/lang/Object;
aastore
invokevirtual org.graalvm.compiler.hotspot.test.WriteBarrierAdditionTest.getResolvedJavaMethod:(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Ljdk/vm/ci/meta/ResolvedJavaMethod;
goto 2
1: StackMap locals:
StackMap stack:
aload 0
ldc Lorg/graalvm/compiler/hotspot/test/WriteBarrierAdditionTest;
aload 1
iconst_3
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/Object;
aastore
dup
iconst_1
ldc Ljava/lang/Object;
aastore
dup
iconst_2
ldc Ljava/lang/Object;
aastore
invokevirtual org.graalvm.compiler.hotspot.test.WriteBarrierAdditionTest.getResolvedJavaMethod:(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Ljdk/vm/ci/meta/ResolvedJavaMethod;
2: StackMap locals:
StackMap stack: jdk.vm.ci.meta.ResolvedJavaMethod
astore 3
start local 3 3: aload 0
aload 3
invokevirtual org.graalvm.compiler.hotspot.test.WriteBarrierAdditionTest.getCode:(Ljdk/vm/ci/meta/ResolvedJavaMethod;)Ljdk/vm/ci/code/InstalledCode;
checkcast jdk.vm.ci.hotspot.HotSpotInstalledCode
astore 4
start local 4 4: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/hotspot/test/WriteBarrierAdditionTest;
0 5 1 name Ljava/lang/String;
0 5 2 withUnsafePrefix Z
3 5 3 javaMethod Ljdk/vm/ci/meta/ResolvedJavaMethod;
4 5 4 installedCode Ljdk/vm/ci/hotspot/HotSpotInstalledCode;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
name
withUnsafePrefix
private void testHelper(java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tAssert cannot be resolved\n\tAssert cannot be resolved\n\tAssert cannot be resolved\n\tAssert cannot be resolved\n\tAssert cannot be resolved\n\tAssert cannot be resolved\n\tAssert cannot be resolved\n\tAssert cannot be resolved\n\tAssert cannot be resolved\n\tAssert cannot be resolved\n\tAssert cannot be resolved\n\tAssert 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/test/WriteBarrierAdditionTest;
Exceptions:
throws java.lang.Exception, java.lang.SecurityException
MethodParameters:
Name Flags
snippetName final
expectedBarriers final
private void test2(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)V
flags: (0x0082) ACC_PRIVATE, ACC_VARARGS
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_0
aaload
instanceof sun.misc.Unsafe
invokevirtual org.graalvm.compiler.hotspot.test.WriteBarrierAdditionTest.getInstalledCode:(Ljava/lang/String;Z)Ljdk/vm/ci/hotspot/HotSpotInstalledCode;
astore 3
start local 3 1: aload 3
aload 2
invokevirtual jdk.vm.ci.hotspot.HotSpotInstalledCode.executeVarargs:([Ljava/lang/Object;)Ljava/lang/Object;
pop
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/hotspot/test/WriteBarrierAdditionTest;
0 3 1 snippet Ljava/lang/String;
0 3 2 args [Ljava/lang/Object;
1 3 3 code Ljdk/vm/ci/hotspot/HotSpotInstalledCode;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
snippet final
args
}
SourceFile: "WriteBarrierAdditionTest.java"
NestMembers:
org.graalvm.compiler.hotspot.test.WriteBarrierAdditionTest$Container
InnerClasses:
public Container = org.graalvm.compiler.hotspot.test.WriteBarrierAdditionTest$Container of org.graalvm.compiler.hotspot.test.WriteBarrierAdditionTest