public class org.graalvm.compiler.core.test.VerifySystemPropertyUsage extends org.graalvm.compiler.phases.VerifyPhase<org.graalvm.compiler.nodes.spi.CoreProviders>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.core.test.VerifySystemPropertyUsage
super_class: org.graalvm.compiler.phases.VerifyPhase
{
static final java.lang.Class<?>[] BOXES;
descriptor: [Ljava/lang/Class;
flags: (0x0018) ACC_STATIC, ACC_FINAL
Signature: [Ljava/lang/Class<*>;
static final int JVMCI_VERSION_MAJOR;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final int JVMCI_VERSION_MINOR;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=5, args_size=0
0: iconst_5
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/Integer;
aastore
dup
iconst_1
ldc Ljava/lang/Long;
aastore
dup
iconst_2
ldc Ljava/lang/Boolean;
aastore
dup
iconst_3
ldc Ljava/lang/Float;
aastore
dup
iconst_4
ldc Ljava/lang/Double;
aastore
putstatic org.graalvm.compiler.core.test.VerifySystemPropertyUsage.BOXES:[Ljava/lang/Class;
1: iconst_m1
istore 0
start local 0 2: iconst_m1
istore 1
start local 1 3: ldc "java.vm.version"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 4: ldc "java.specification.version"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
ldc "1.9"
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ifge 10
5: ldc ".*-jvmci-(\\d+)\\.(\\d+).*"
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
astore 3
start local 3 6: aload 3
aload 2
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
astore 4
start local 4 7: aload 4
invokevirtual java.util.regex.Matcher.matches:()Z
ifeq 10
8: aload 4
iconst_1
invokevirtual java.util.regex.Matcher.group:(I)Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 0
9: aload 4
iconst_2
invokevirtual java.util.regex.Matcher.group:(I)Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 1
end local 4 end local 3 10: StackMap locals: int int java.lang.String
StackMap stack:
iload 0
putstatic org.graalvm.compiler.core.test.VerifySystemPropertyUsage.JVMCI_VERSION_MAJOR:I
11: iload 1
putstatic org.graalvm.compiler.core.test.VerifySystemPropertyUsage.JVMCI_VERSION_MINOR:I
end local 2 end local 1 end local 0 12: return
LocalVariableTable:
Start End Slot Name Signature
2 12 0 major I
3 12 1 minor I
4 12 2 vmVersion Ljava/lang/String;
6 10 3 re Ljava/util/regex/Pattern;
7 10 4 matcher Ljava/util/regex/Matcher;
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.phases.VerifyPhase.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/VerifySystemPropertyUsage;
protected void verify(org.graalvm.compiler.nodes.StructuredGraph, org.graalvm.compiler.nodes.spi.CoreProviders);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/spi/CoreProviders;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=8, locals=16, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokeinterface org.graalvm.compiler.nodes.spi.CoreProviders.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
astore 3
start local 3 1: aload 3
ldc Ljava/lang/System;
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.lookupJavaType:(Ljava/lang/Class;)Ljdk/vm/ci/meta/ResolvedJavaType;
astore 4
start local 4 2: getstatic org.graalvm.compiler.core.test.VerifySystemPropertyUsage.BOXES:[Ljava/lang/Class;
arraylength
anewarray jdk.vm.ci.meta.ResolvedJavaType
astore 5
start local 5 3: iconst_0
istore 6
start local 6 4: goto 7
5: StackMap locals: org.graalvm.compiler.core.test.VerifySystemPropertyUsage org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.spi.CoreProviders jdk.vm.ci.meta.MetaAccessProvider jdk.vm.ci.meta.ResolvedJavaType jdk.vm.ci.meta.ResolvedJavaType[] int
StackMap stack:
aload 5
iload 6
aload 3
getstatic org.graalvm.compiler.core.test.VerifySystemPropertyUsage.BOXES:[Ljava/lang/Class;
iload 6
aaload
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.lookupJavaType:(Ljava/lang/Class;)Ljdk/vm/ci/meta/ResolvedJavaType;
aastore
6: iinc 6 1
StackMap locals:
StackMap stack:
7: iload 6
aload 5
arraylength
if_icmplt 5
end local 6 8: aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.method:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
astore 6
start local 6 9: aload 6
ldc "%H"
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.format:(Ljava/lang/String;)Ljava/lang/String;
astore 7
start local 7 10: aload 6
ldc "%h"
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.format:(Ljava/lang/String;)Ljava/lang/String;
astore 8
start local 8 11: aload 7
aload 8
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
ldc ""
goto 13
StackMap locals: org.graalvm.compiler.core.test.VerifySystemPropertyUsage org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.spi.CoreProviders jdk.vm.ci.meta.MetaAccessProvider jdk.vm.ci.meta.ResolvedJavaType jdk.vm.ci.meta.ResolvedJavaType[] jdk.vm.ci.meta.ResolvedJavaMethod java.lang.String java.lang.String
StackMap stack:
12: aload 7
iconst_0
aload 7
invokevirtual java.lang.String.length:()I
aload 8
invokevirtual java.lang.String.length:()I
isub
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
13: astore 9
start local 9 14: aload 9
ldc "jdk.vm.ci"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 17
15: getstatic org.graalvm.compiler.core.test.VerifySystemPropertyUsage.JVMCI_VERSION_MAJOR:I
iflt 16
getstatic org.graalvm.compiler.core.test.VerifySystemPropertyUsage.JVMCI_VERSION_MINOR:I
bipush 56
if_icmpgt 25
16: StackMap locals: java.lang.String
StackMap stack:
return
17: StackMap locals:
StackMap stack:
aload 7
ldc "org.graalvm.compiler.hotspot.JVMCIVersionCheck"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 19
aload 6
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getName:()Ljava/lang/String;
ldc "main"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 19
18: return
19: StackMap locals:
StackMap stack:
aload 9
ldc "com.oracle.truffle"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 20
aload 9
ldc "org.graalvm.polyglot"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 20
aload 9
ldc "org.graalvm.home"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 21
20: StackMap locals:
StackMap stack:
return
21: StackMap locals:
StackMap stack:
aload 9
ldc "com.oracle.svm"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 23
22: return
23: StackMap locals:
StackMap stack:
aload 9
ldc "jdk.tools.jaotc"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 25
24: return
25: StackMap locals:
StackMap stack:
aload 1
getstatic org.graalvm.compiler.nodes.java.MethodCallTargetNode.TYPE:Lorg/graalvm/compiler/graph/NodeClass;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getNodes:(Lorg/graalvm/compiler/graph/NodeClass;)Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.iterator:()Ljava/util/Iterator;
astore 11
goto 47
StackMap locals: org.graalvm.compiler.core.test.VerifySystemPropertyUsage org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.spi.CoreProviders jdk.vm.ci.meta.MetaAccessProvider jdk.vm.ci.meta.ResolvedJavaType jdk.vm.ci.meta.ResolvedJavaType[] jdk.vm.ci.meta.ResolvedJavaMethod java.lang.String java.lang.String java.lang.String top java.util.Iterator
StackMap stack:
26: aload 11
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.java.MethodCallTargetNode
astore 10
start local 10 27: aload 10
invokevirtual org.graalvm.compiler.nodes.java.MethodCallTargetNode.targetMethod:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
astore 12
start local 12 28: aload 12
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getDeclaringClass:()Ljdk/vm/ci/meta/ResolvedJavaType;
aload 4
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 34
29: aload 12
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getName:()Ljava/lang/String;
ldc "getProperty"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 30
aload 12
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getName:()Ljava/lang/String;
ldc "getProperties"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 47
30: StackMap locals: org.graalvm.compiler.core.test.VerifySystemPropertyUsage org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.spi.CoreProviders jdk.vm.ci.meta.MetaAccessProvider jdk.vm.ci.meta.ResolvedJavaType jdk.vm.ci.meta.ResolvedJavaType[] jdk.vm.ci.meta.ResolvedJavaMethod java.lang.String java.lang.String java.lang.String org.graalvm.compiler.nodes.java.MethodCallTargetNode java.util.Iterator jdk.vm.ci.meta.ResolvedJavaMethod
StackMap stack:
new org.graalvm.compiler.phases.VerifyPhase$VerificationError
dup
ldc "Call to %s at callsite %s is prohibited. Call Services.getSavedProperties().get(String) instead."
iconst_2
anewarray java.lang.Object
dup
iconst_0
31: aload 12
ldc "%H.%n(%p)"
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.format:(Ljava/lang/String;)Ljava/lang/String;
aastore
dup
iconst_1
32: aload 6
ldc "%H.%n(%p)"
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.format:(Ljava/lang/String;)Ljava/lang/String;
33: aastore
invokespecial org.graalvm.compiler.phases.VerifyPhase$VerificationError.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
34: StackMap locals:
StackMap stack:
iconst_0
istore 13
start local 13 35: goto 46
36: StackMap locals: int
StackMap stack:
aload 5
iload 13
aaload
astore 14
start local 14 37: aload 12
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getDeclaringClass:()Ljdk/vm/ci/meta/ResolvedJavaType;
aload 14
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 45
38: aload 14
iconst_0
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.toJavaName:(Z)Ljava/lang/String;
astore 15
start local 15 39: aload 12
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getName:()Ljava/lang/String;
new java.lang.StringBuilder
dup
ldc "get"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 15
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 45
40: new org.graalvm.compiler.phases.VerifyPhase$VerificationError
dup
ldc "Call to %s at callsite %s is prohibited. Call %s.parse%s(Services.getSavedProperties().get(String)) instead."
iconst_4
anewarray java.lang.Object
dup
iconst_0
41: aload 12
ldc "%H.%n(%p)"
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.format:(Ljava/lang/String;)Ljava/lang/String;
aastore
dup
iconst_1
42: aload 6
ldc "%H.%n(%p)"
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.format:(Ljava/lang/String;)Ljava/lang/String;
aastore
dup
iconst_2
43: aload 15
aastore
dup
iconst_3
aload 15
44: aastore
invokespecial org.graalvm.compiler.phases.VerifyPhase$VerificationError.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
end local 15 end local 14 45: StackMap locals:
StackMap stack:
iinc 13 1
StackMap locals:
StackMap stack:
46: iload 13
aload 5
arraylength
if_icmplt 36
end local 13 end local 12 end local 10 47: StackMap locals: org.graalvm.compiler.core.test.VerifySystemPropertyUsage org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.spi.CoreProviders jdk.vm.ci.meta.MetaAccessProvider jdk.vm.ci.meta.ResolvedJavaType jdk.vm.ci.meta.ResolvedJavaType[] jdk.vm.ci.meta.ResolvedJavaMethod java.lang.String java.lang.String java.lang.String top java.util.Iterator
StackMap stack:
aload 11
invokeinterface java.util.Iterator.hasNext:()Z
ifne 26
48: return
end local 9 end local 8 end local 7 end local 6 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 49 0 this Lorg/graalvm/compiler/core/test/VerifySystemPropertyUsage;
0 49 1 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 49 2 context Lorg/graalvm/compiler/nodes/spi/CoreProviders;
1 49 3 metaAccess Ljdk/vm/ci/meta/MetaAccessProvider;
2 49 4 systemType Ljdk/vm/ci/meta/ResolvedJavaType;
3 49 5 boxTypes [Ljdk/vm/ci/meta/ResolvedJavaType;
4 8 6 i I
9 49 6 caller Ljdk/vm/ci/meta/ResolvedJavaMethod;
10 49 7 holderQualified Ljava/lang/String;
11 49 8 holderUnqualified Ljava/lang/String;
14 49 9 packageName Ljava/lang/String;
27 47 10 t Lorg/graalvm/compiler/nodes/java/MethodCallTargetNode;
28 47 12 callee Ljdk/vm/ci/meta/ResolvedJavaMethod;
35 47 13 i I
37 45 14 boxType Ljdk/vm/ci/meta/ResolvedJavaType;
39 45 15 simpleName Ljava/lang/String;
MethodParameters:
Name Flags
graph
context
protected void verify(org.graalvm.compiler.nodes.StructuredGraph, java.lang.Object);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)V
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
checkcast org.graalvm.compiler.nodes.spi.CoreProviders
invokevirtual org.graalvm.compiler.core.test.VerifySystemPropertyUsage.verify:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/spi/CoreProviders;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lorg/graalvm/compiler/phases/VerifyPhase<Lorg/graalvm/compiler/nodes/spi/CoreProviders;>;
SourceFile: "VerifySystemPropertyUsage.java"
InnerClasses:
public VerificationError = org.graalvm.compiler.phases.VerifyPhase$VerificationError of org.graalvm.compiler.phases.VerifyPhase