final class jdk.tools.jaotc.CompilationSpec
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.tools.jaotc.CompilationSpec
super_class: java.lang.Object
{
private java.util.HashSet<java.lang.String> compileOnlyStrings;
descriptor: Ljava/util/HashSet;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/HashSet<Ljava/lang/String;>;
private java.util.HashSet<java.util.regex.Pattern> compileOnlyPatterns;
descriptor: Ljava/util/HashSet;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/HashSet<Ljava/util/regex/Pattern;>;
private java.util.HashSet<java.lang.String> excludeStrings;
descriptor: Ljava/util/HashSet;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/HashSet<Ljava/lang/String;>;
private java.util.HashSet<java.util.regex.Pattern> excludePatterns;
descriptor: Ljava/util/HashSet;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/HashSet<Ljava/util/regex/Pattern;>;
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield jdk.tools.jaotc.CompilationSpec.compileOnlyStrings:Ljava/util/HashSet;
2: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield jdk.tools.jaotc.CompilationSpec.compileOnlyPatterns:Ljava/util/HashSet;
3: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield jdk.tools.jaotc.CompilationSpec.excludeStrings:Ljava/util/HashSet;
4: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield jdk.tools.jaotc.CompilationSpec.excludePatterns:Ljava/util/HashSet;
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/tools/jaotc/CompilationSpec;
void addCompileOnlyPattern(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "*"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 3
1: aload 0
getfield jdk.tools.jaotc.CompilationSpec.compileOnlyPatterns:Ljava/util/HashSet;
aload 1
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
getfield jdk.tools.jaotc.CompilationSpec.compileOnlyStrings:Ljava/util/HashSet;
aload 1
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/tools/jaotc/CompilationSpec;
0 5 1 pattern Ljava/lang/String;
MethodParameters:
Name Flags
pattern
void addExcludePattern(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "*"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 3
1: aload 0
getfield jdk.tools.jaotc.CompilationSpec.excludePatterns:Ljava/util/HashSet;
aload 1
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
getfield jdk.tools.jaotc.CompilationSpec.excludeStrings:Ljava/util/HashSet;
aload 1
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/tools/jaotc/CompilationSpec;
0 5 1 pattern Ljava/lang/String;
MethodParameters:
Name Flags
pattern
boolean shouldCompileMethod(jdk.vm.ci.meta.ResolvedJavaMethod);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaMethod;)Z
flags: (0x0000)
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual jdk.tools.jaotc.CompilationSpec.compileWithRestrictions:()Z
ifeq 26
1: aload 0
getfield jdk.tools.jaotc.CompilationSpec.compileOnlyStrings:Ljava/util/HashSet;
invokevirtual java.util.HashSet.isEmpty:()Z
ifeq 2
aload 0
getfield jdk.tools.jaotc.CompilationSpec.compileOnlyPatterns:Ljava/util/HashSet;
invokevirtual java.util.HashSet.isEmpty:()Z
ifeq 2
iconst_1
goto 3
StackMap locals:
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: istore 2
start local 2 4: aload 1
invokestatic jdk.tools.jaotc.JavaMethodInfo.uniqueMethodName:(Ljdk/vm/ci/meta/ResolvedJavaMethod;)Ljava/lang/String;
astore 3
start local 3 5: iload 2
ifne 7
6: aload 0
getfield jdk.tools.jaotc.CompilationSpec.compileOnlyStrings:Ljava/util/HashSet;
aload 3
invokevirtual java.util.HashSet.contains:(Ljava/lang/Object;)Z
istore 2
7: StackMap locals: int java.lang.String
StackMap stack:
iload 2
ifne 13
8: aload 0
getfield jdk.tools.jaotc.CompilationSpec.compileOnlyPatterns:Ljava/util/HashSet;
invokevirtual java.util.HashSet.iterator:()Ljava/util/Iterator;
astore 4
start local 4 9: goto 12
10: StackMap locals: java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.regex.Pattern
astore 5
start local 5 11: aload 5
aload 3
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
invokevirtual java.util.regex.Matcher.matches:()Z
istore 2
end local 5 12: StackMap locals:
StackMap stack:
iload 2
ifne 13
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
end local 4 13: StackMap locals:
StackMap stack:
iload 2
ifeq 17
14: aload 0
getfield jdk.tools.jaotc.CompilationSpec.excludeStrings:Ljava/util/HashSet;
aload 3
invokevirtual java.util.HashSet.contains:(Ljava/lang/Object;)Z
ifeq 15
iconst_0
goto 16
StackMap locals:
StackMap stack:
15: iconst_1
StackMap locals:
StackMap stack: int
16: istore 2
17: StackMap locals:
StackMap stack:
iload 2
ifeq 25
18: aload 0
getfield jdk.tools.jaotc.CompilationSpec.excludePatterns:Ljava/util/HashSet;
invokevirtual java.util.HashSet.iterator:()Ljava/util/Iterator;
astore 4
start local 4 19: goto 24
20: StackMap locals: java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.regex.Pattern
astore 5
start local 5 21: aload 5
aload 3
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
invokevirtual java.util.regex.Matcher.matches:()Z
ifeq 22
iconst_0
goto 23
StackMap locals: java.util.regex.Pattern
StackMap stack:
22: iconst_1
StackMap locals:
StackMap stack: int
23: istore 2
end local 5 24: StackMap locals:
StackMap stack:
iload 2
ifeq 25
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 20
end local 4 25: StackMap locals:
StackMap stack:
iload 2
ireturn
end local 3 end local 2 26: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Ljdk/tools/jaotc/CompilationSpec;
0 27 1 method Ljdk/vm/ci/meta/ResolvedJavaMethod;
4 26 2 compileMethod Z
5 26 3 methodName Ljava/lang/String;
9 13 4 it Ljava/util/Iterator<Ljava/util/regex/Pattern;>;
11 12 5 pattern Ljava/util/regex/Pattern;
19 25 4 it Ljava/util/Iterator<Ljava/util/regex/Pattern;>;
21 24 5 pattern Ljava/util/regex/Pattern;
MethodParameters:
Name Flags
method
private boolean compileWithRestrictions();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.tools.jaotc.CompilationSpec.compileOnlyStrings:Ljava/util/HashSet;
invokevirtual java.util.HashSet.isEmpty:()Z
ifeq 1
aload 0
getfield jdk.tools.jaotc.CompilationSpec.compileOnlyPatterns:Ljava/util/HashSet;
invokevirtual java.util.HashSet.isEmpty:()Z
ifeq 1
aload 0
getfield jdk.tools.jaotc.CompilationSpec.excludeStrings:Ljava/util/HashSet;
invokevirtual java.util.HashSet.isEmpty:()Z
ifeq 1
aload 0
getfield jdk.tools.jaotc.CompilationSpec.excludePatterns:Ljava/util/HashSet;
invokevirtual java.util.HashSet.isEmpty:()Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/tools/jaotc/CompilationSpec;
}
SourceFile: "CompilationSpec.java"