public class org.graalvm.compiler.hotspot.NodeCostDumpUtil
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.hotspot.NodeCostDumpUtil
super_class: java.lang.Object
{
private static final java.lang.String prefix1;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "com.oracle."
private static final java.lang.String prefix2;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "org.graalvm."
private static final java.lang.String FMT;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: bipush 8
anewarray java.lang.String
dup
iconst_0
ldc "%s"
aastore
dup
iconst_1
ldc "%s"
aastore
dup
iconst_2
ldc "%s"
aastore
dup
iconst_3
ldc "%s"
aastore
dup
iconst_4
ldc "%s"
aastore
dup
iconst_5
ldc "%s"
aastore
dup
bipush 6
ldc "%s"
aastore
dup
bipush 7
ldc "%s"
aastore
invokestatic org.graalvm.compiler.debug.CSVUtil.buildFormatString:([Ljava/lang/String;)Ljava/lang/String;
putstatic org.graalvm.compiler.hotspot.NodeCostDumpUtil.FMT:Ljava/lang/String;
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 java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/NodeCostDumpUtil;
private static java.lang.String getArgumentRegex(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.String.length:()I
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
pop
3: aload 0
4: areturn
5: StackMap locals:
StackMap stack: java.util.regex.PatternSyntaxException
pop
6: getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "Invalid regex given, defaulting to \".*\" regex.."
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
7: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 arg Ljava/lang/String;
Exception table:
from to target type
2 4 5 Class java.util.regex.PatternSyntaxException
MethodParameters:
Name Flags
arg
public static void main(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=15, args_size=1
start local 0 0: aload 0
arraylength
iconst_1
if_icmpeq 3
1: getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "NodeCostDumpUtil expects exactly one argument, the node name regex to match against."
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
2: iconst_m1
invokestatic java.lang.System.exit:(I)V
3: StackMap locals:
StackMap stack:
aload 0
iconst_0
aaload
invokestatic org.graalvm.compiler.hotspot.NodeCostDumpUtil.getArgumentRegex:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 4: ldc "java.specification.version"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 5: aload 2
ldc "1.9"
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
iflt 8
6: getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "NodeCostDumpUtil does not support JDK versions greater than 1.8, current version is %s.\n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
invokevirtual java.io.PrintStream.printf:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintStream;
pop
7: iconst_m1
invokestatic java.lang.System.exit:(I)V
8: StackMap locals: java.lang.String java.lang.String
StackMap stack:
ldc "jvmci.class.path.append"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
getstatic java.io.File.pathSeparator:Ljava/lang/String;
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 3
start local 3 9: ldc "primary.suite.cp"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
getstatic java.io.File.pathSeparator:Ljava/lang/String;
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 4
start local 4 10: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getContextClassLoader:()Ljava/lang/ClassLoader;
astore 5
start local 5 11: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 6
start local 6 12: new java.util.HashSet
dup
aload 4
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokespecial java.util.HashSet.<init>:(Ljava/util/Collection;)V
astore 7
start local 7 13: aload 7
aload 3
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
14: aload 7
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 9
goto 28
StackMap locals: java.lang.String[] java.lang.String java.lang.String java.lang.String[] java.lang.String[] java.lang.ClassLoader java.util.HashSet java.util.Set top java.util.Iterator
StackMap stack:
15: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 8
start local 8 16: new java.io.File
dup
aload 8
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual java.io.File.exists:()Z
ifeq 28
17: aload 8
ldc ".jar"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 27
18: aconst_null
astore 10
aconst_null
astore 11
19: new java.lang.StringBuilder
dup
ldc "jar:file:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic java.net.URI.create:(Ljava/lang/String;)Ljava/net/URI;
invokestatic java.util.Collections.emptyMap:()Ljava/util/Map;
invokestatic java.nio.file.FileSystems.newFileSystem:(Ljava/net/URI;Ljava/util/Map;)Ljava/nio/file/FileSystem;
astore 12
start local 12 20: aload 12
ldc "/"
iconst_0
anewarray java.lang.String
invokevirtual java.nio.file.FileSystem.getPath:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
aload 5
aload 6
invokestatic org.graalvm.compiler.hotspot.NodeCostDumpUtil.initAllClasses:(Ljava/nio/file/Path;Ljava/lang/ClassLoader;Ljava/util/HashSet;)V
21: aload 12
ifnull 28
aload 12
invokevirtual java.nio.file.FileSystem.close:()V
goto 28
StackMap locals: java.lang.String[] java.lang.String java.lang.String java.lang.String[] java.lang.String[] java.lang.ClassLoader java.util.HashSet java.util.Set java.lang.String java.util.Iterator java.lang.Throwable java.lang.Throwable java.nio.file.FileSystem
StackMap stack: java.lang.Throwable
22: astore 10
aload 12
ifnull 23
aload 12
invokevirtual java.nio.file.FileSystem.close:()V
end local 12 StackMap locals:
StackMap stack:
23: aload 10
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
24: astore 11
aload 10
ifnonnull 25
aload 11
astore 10
goto 26
StackMap locals:
StackMap stack:
25: aload 10
aload 11
if_acmpeq 26
aload 10
aload 11
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
26: aload 10
athrow
27: StackMap locals:
StackMap stack:
invokestatic java.nio.file.FileSystems.getDefault:()Ljava/nio/file/FileSystem;
aload 8
iconst_0
anewarray java.lang.String
invokevirtual java.nio.file.FileSystem.getPath:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
aload 5
aload 6
invokestatic org.graalvm.compiler.hotspot.NodeCostDumpUtil.initAllClasses:(Ljava/nio/file/Path;Ljava/lang/ClassLoader;Ljava/util/HashSet;)V
end local 8 28: StackMap locals: java.lang.String[] java.lang.String java.lang.String java.lang.String[] java.lang.String[] java.lang.ClassLoader java.util.HashSet java.util.Set top java.util.Iterator
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 15
end local 7 29: goto 32
StackMap locals: java.lang.String[] java.lang.String java.lang.String java.lang.String[] java.lang.String[] java.lang.ClassLoader java.util.HashSet
StackMap stack: java.io.IOException
30: pop
31: invokestatic org.graalvm.compiler.debug.GraalError.shouldNotReachHere:()Ljava/lang/RuntimeException;
pop
32: StackMap locals:
StackMap stack:
getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "Loaded %d classes...\n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 6
invokevirtual java.util.HashSet.size:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokevirtual java.io.PrintStream.printf:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintStream;
pop
33: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 7
start local 7 34: aload 6
invokevirtual java.util.HashSet.iterator:()Ljava/util/Iterator;
astore 9
goto 38
StackMap locals: java.lang.String[] java.lang.String java.lang.String java.lang.String[] java.lang.String[] java.lang.ClassLoader java.util.HashSet java.util.List top java.util.Iterator
StackMap stack:
35: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Class
astore 8
start local 8 36: ldc Lorg/graalvm/compiler/graph/Node;
aload 8
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 38
aload 8
invokevirtual java.lang.Class.isArray:()Z
ifne 38
37: aload 7
aload 8
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 8 38: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 35
39: getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "Loaded %s node classes...\n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 7
invokeinterface java.util.List.size:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokevirtual java.io.PrintStream.printf:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintStream;
pop
40: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 8
start local 8 41: aload 7
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 10
goto 46
StackMap locals: java.lang.String[] java.lang.String java.lang.String java.lang.String[] java.lang.String[] java.lang.ClassLoader java.util.HashSet java.util.List java.util.List top java.util.Iterator
StackMap stack:
42: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Class
astore 9
start local 9 43: aload 8
aload 9
invokestatic org.graalvm.compiler.graph.NodeClass.get:(Ljava/lang/Class;)Lorg/graalvm/compiler/graph/NodeClass;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
44: goto 46
StackMap locals: java.lang.String[] java.lang.String java.lang.String java.lang.String[] java.lang.String[] java.lang.ClassLoader java.util.HashSet java.util.List java.util.List java.lang.Class java.util.Iterator
StackMap stack: java.lang.Throwable
45: pop
end local 9 46: StackMap locals: java.lang.String[] java.lang.String java.lang.String java.lang.String[] java.lang.String[] java.lang.ClassLoader java.util.HashSet java.util.List java.util.List top java.util.Iterator
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 42
47: getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "Read TYPE field from %s node classes...\n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 8
invokeinterface java.util.List.size:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokevirtual java.io.PrintStream.printf:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintStream;
pop
48: aload 8
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
invokedynamic test()Ljava/util/function/Predicate;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Z
org/graalvm/compiler/hotspot/NodeCostDumpUtil.lambda$0(Lorg/graalvm/compiler/graph/NodeClass;)Z (6)
(Lorg/graalvm/compiler/graph/NodeClass;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
invokestatic java.util.stream.Collectors.toList:()Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.List
astore 8
49: aload 8
invokedynamic compare()Ljava/util/Comparator;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;Ljava/lang/Object;)I
org/graalvm/compiler/hotspot/NodeCostDumpUtil.lambda$1(Lorg/graalvm/compiler/graph/NodeClass;Lorg/graalvm/compiler/graph/NodeClass;)I (6)
(Lorg/graalvm/compiler/graph/NodeClass;Lorg/graalvm/compiler/graph/NodeClass;)I
invokeinterface java.util.List.sort:(Ljava/util/Comparator;)V
50: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic org.graalvm.compiler.hotspot.NodeCostDumpUtil.FMT:Ljava/lang/String;
bipush 8
anewarray java.lang.Object
dup
iconst_0
ldc "NodeName"
aastore
dup
iconst_1
ldc "Size"
aastore
dup
iconst_2
ldc "Overrides Size Method"
aastore
dup
iconst_3
ldc "Cycles"
aastore
dup
iconst_4
ldc "Overrides Cycles Method"
aastore
dup
iconst_5
ldc "Canonicalizable"
aastore
dup
bipush 6
ldc "MemoryCheckPoint"
aastore
dup
bipush 7
ldc "Virtualizable"
aastore
invokestatic org.graalvm.compiler.debug.CSVUtil$Escape.println:(Ljava/io/PrintStream;Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintStream;
pop
51: aload 8
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 10
goto 74
StackMap locals:
StackMap stack:
52: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.NodeClass
astore 9
start local 9 53: aconst_null
astore 11
start local 11 54: aload 9
invokevirtual org.graalvm.compiler.graph.NodeClass.getJavaClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getCanonicalName:()Ljava/lang/String;
ldc "com.oracle."
ldc ""
invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
ldc "org.graalvm."
ldc ""
invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
astore 11
55: goto 58
StackMap locals: java.lang.String[] java.lang.String java.lang.String java.lang.String[] java.lang.String[] java.lang.ClassLoader java.util.HashSet java.util.List java.util.List org.graalvm.compiler.graph.NodeClass java.util.Iterator java.lang.String
StackMap stack: java.lang.Throwable
56: pop
57: goto 74
58: StackMap locals:
StackMap stack:
aload 1
ifnull 60
aload 11
aload 1
invokevirtual java.lang.String.matches:(Ljava/lang/String;)Z
ifne 60
59: goto 74
60: StackMap locals:
StackMap stack:
iconst_0
istore 12
start local 12 61: iconst_0
istore 13
start local 13 62: aload 9
invokevirtual org.graalvm.compiler.graph.NodeClass.getJavaClass:()Ljava/lang/Class;
astore 14
start local 14 63: aload 14
ldc "estimatedNodeSize"
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getDeclaredMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
pop
64: iconst_1
istore 12
65: goto 67
StackMap locals: java.lang.String[] java.lang.String java.lang.String java.lang.String[] java.lang.String[] java.lang.ClassLoader java.util.HashSet java.util.List java.util.List org.graalvm.compiler.graph.NodeClass java.util.Iterator java.lang.String int int java.lang.Class
StackMap stack: java.lang.Throwable
66: pop
67: StackMap locals:
StackMap stack:
aload 14
ldc "estimatedNodeCycles"
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getDeclaredMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
pop
68: iconst_1
istore 13
69: goto 71
StackMap locals:
StackMap stack: java.lang.Throwable
70: pop
71: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic org.graalvm.compiler.hotspot.NodeCostDumpUtil.FMT:Ljava/lang/String;
bipush 8
anewarray java.lang.Object
dup
iconst_0
aload 11
aastore
dup
iconst_1
aload 9
invokevirtual org.graalvm.compiler.graph.NodeClass.size:()Lorg/graalvm/compiler/nodeinfo/NodeSize;
aastore
dup
iconst_2
iload 12
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_3
aload 9
invokevirtual org.graalvm.compiler.graph.NodeClass.cycles:()Lorg/graalvm/compiler/nodeinfo/NodeCycles;
aastore
dup
iconst_4
iload 13
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_5
aload 14
invokestatic org.graalvm.compiler.hotspot.NodeCostDumpUtil.canonicalizable:(Ljava/lang/Class;)Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
bipush 6
aload 14
invokestatic org.graalvm.compiler.hotspot.NodeCostDumpUtil.memoryCheckPoint:(Ljava/lang/Class;)Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
bipush 7
72: aload 14
invokestatic org.graalvm.compiler.hotspot.NodeCostDumpUtil.virtualizable:(Ljava/lang/Class;)Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
73: invokestatic org.graalvm.compiler.debug.CSVUtil$Escape.println:(Ljava/io/PrintStream;Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintStream;
pop
end local 14 end local 13 end local 12 end local 11 end local 9 74: StackMap locals: java.lang.String[] java.lang.String java.lang.String java.lang.String[] java.lang.String[] java.lang.ClassLoader java.util.HashSet java.util.List java.util.List top java.util.Iterator
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 52
75: return
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 76 0 args [Ljava/lang/String;
4 76 1 pattern Ljava/lang/String;
5 76 2 version Ljava/lang/String;
9 76 3 jvmciCP [Ljava/lang/String;
10 76 4 primarySuiteCP [Ljava/lang/String;
11 76 5 applicationClassLoader Ljava/lang/ClassLoader;
12 76 6 classes Ljava/util/HashSet<Ljava/lang/Class<*>;>;
13 29 7 uniquePaths Ljava/util/Set<Ljava/lang/String;>;
16 28 8 path Ljava/lang/String;
20 23 12 jarFileSystem Ljava/nio/file/FileSystem;
34 76 7 nodeClasses Ljava/util/List<Ljava/lang/Class<*>;>;
36 38 8 loaded Ljava/lang/Class<*>;
41 76 8 nc Ljava/util/List<Lorg/graalvm/compiler/graph/NodeClass<*>;>;
43 46 9 c Ljava/lang/Class<*>;
53 74 9 nodeclass Lorg/graalvm/compiler/graph/NodeClass<*>;
54 74 11 packageStrippedName Ljava/lang/String;
61 74 12 overridesSizeMethod Z
62 74 13 overridesCyclesMethod Z
63 74 14 c Ljava/lang/Class<*>;
Exception table:
from to target type
20 21 22 any
19 24 24 any
12 29 30 Class java.io.IOException
43 44 45 Class java.lang.Throwable
54 55 56 Class java.lang.Throwable
63 65 66 Class java.lang.Throwable
67 69 70 Class java.lang.Throwable
MethodParameters:
Name Flags
args
private static boolean canonicalizable(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc Lorg/graalvm/compiler/graph/spi/Canonicalizable;
aload 0
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 c Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
c
private static boolean virtualizable(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc Lorg/graalvm/compiler/nodes/spi/Virtualizable;
aload 0
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 c Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
c
private static boolean memoryCheckPoint(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc Lorg/graalvm/compiler/nodes/memory/MemoryCheckpoint;
aload 0
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 c Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
c
private static void initAllClasses(java.nio.file.Path, java.lang.ClassLoader, java.util.HashSet<java.lang.Class<?>>);
descriptor: (Ljava/nio/file/Path;Ljava/lang/ClassLoader;Ljava/util/HashSet;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
new org.graalvm.compiler.hotspot.NodeCostDumpUtil$1
dup
aload 0
aload 1
aload 2
invokespecial org.graalvm.compiler.hotspot.NodeCostDumpUtil$1.<init>:(Ljava/nio/file/Path;Ljava/lang/ClassLoader;Ljava/util/HashSet;)V
invokestatic java.nio.file.Files.walkFileTree:(Ljava/nio/file/Path;Ljava/nio/file/FileVisitor;)Ljava/nio/file/Path;
pop
1: goto 4
StackMap locals:
StackMap stack: java.io.IOException
2: pop
3: invokestatic org.graalvm.compiler.debug.GraalError.shouldNotReachHere:()Ljava/lang/RuntimeException;
pop
4: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 root Ljava/nio/file/Path;
0 5 1 classLoader Ljava/lang/ClassLoader;
0 5 2 classes Ljava/util/HashSet<Ljava/lang/Class<*>;>;
Exception table:
from to target type
0 1 2 Class java.io.IOException
Signature: (Ljava/nio/file/Path;Ljava/lang/ClassLoader;Ljava/util/HashSet<Ljava/lang/Class<*>;>;)V
MethodParameters:
Name Flags
root final
classLoader
classes
private static java.lang.String prefixed(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "com.oracle."
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 2
aload 0
ldc "com.oracle."
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
ifle 2
1: ldc "com.oracle."
areturn
2: StackMap locals:
StackMap stack:
aload 0
ldc "org.graalvm."
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 4
aload 0
ldc "org.graalvm."
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
ifle 4
3: ldc "org.graalvm."
areturn
4: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 className Ljava/lang/String;
MethodParameters:
Name Flags
className
private static java.lang.String stripClassName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
bipush 47
bipush 46
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 className Ljava/lang/String;
MethodParameters:
Name Flags
className
private static java.lang.String constructClazzPart(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 0
aload 1
invokevirtual java.lang.String.lastIndexOf:(Ljava/lang/String;)I
aload 0
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 2
start local 2 1: aload 2
iconst_0
aload 2
invokevirtual java.lang.String.length:()I
ldc ".class"
invokevirtual java.lang.String.length:()I
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 stripped Ljava/lang/String;
0 2 1 prefix Ljava/lang/String;
1 2 2 clazzPart Ljava/lang/String;
MethodParameters:
Name Flags
stripped
prefix
private static java.lang.String constructURLPart(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
iconst_0
aload 0
aload 2
invokevirtual java.lang.String.lastIndexOf:(Ljava/lang/String;)I
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 stripped Ljava/lang/String;
0 1 1 className Ljava/lang/String;
0 1 2 prefix Ljava/lang/String;
MethodParameters:
Name Flags
stripped
className
prefix
private static boolean lambda$0(org.graalvm.compiler.graph.NodeClass);
descriptor: (Lorg/graalvm/compiler/graph/NodeClass;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
ifnull 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 x Lorg/graalvm/compiler/graph/NodeClass<*>;
private static int lambda$1(org.graalvm.compiler.graph.NodeClass, org.graalvm.compiler.graph.NodeClass);
descriptor: (Lorg/graalvm/compiler/graph/NodeClass;Lorg/graalvm/compiler/graph/NodeClass;)I
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.graalvm.compiler.graph.NodeClass.getJavaClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
astore 2
start local 2 1: aload 1
invokevirtual org.graalvm.compiler.graph.NodeClass.getJavaClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
astore 3
start local 3 2: aload 2
aload 3
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 x Lorg/graalvm/compiler/graph/NodeClass<*>;
0 3 1 y Lorg/graalvm/compiler/graph/NodeClass<*>;
1 3 2 a Ljava/lang/String;
2 3 3 b Ljava/lang/String;
}
SourceFile: "NodeCostDumpUtil.java"
NestMembers:
org.graalvm.compiler.hotspot.NodeCostDumpUtil$1
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final Escape = org.graalvm.compiler.debug.CSVUtil$Escape of org.graalvm.compiler.debug.CSVUtil
org.graalvm.compiler.hotspot.NodeCostDumpUtil$1