public class org.graalvm.compiler.hotspot.HotSpotCompiledCodeBuilder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.hotspot.HotSpotCompiledCodeBuilder
super_class: java.lang.Object
{
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/graalvm/compiler/hotspot/HotSpotCompiledCodeBuilder;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.graalvm.compiler.hotspot.HotSpotCompiledCodeBuilder.$assertionsDisabled:Z
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/HotSpotCompiledCodeBuilder;
public static jdk.vm.ci.hotspot.HotSpotCompiledCode createCompiledCode(jdk.vm.ci.code.CodeCacheProvider, jdk.vm.ci.meta.ResolvedJavaMethod, jdk.vm.ci.hotspot.HotSpotCompilationRequest, org.graalvm.compiler.code.CompilationResult);
descriptor: (Ljdk/vm/ci/code/CodeCacheProvider;Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljdk/vm/ci/hotspot/HotSpotCompilationRequest;Lorg/graalvm/compiler/code/CompilationResult;)Ljdk/vm/ci/hotspot/HotSpotCompiledCode;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=21, locals=27, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
invokevirtual org.graalvm.compiler.code.CompilationResult.getName:()Ljava/lang/String;
astore 4
start local 4 1: aload 3
invokevirtual org.graalvm.compiler.code.CompilationResult.getTargetCode:()[B
astore 5
start local 5 2: aload 3
invokevirtual org.graalvm.compiler.code.CompilationResult.getTargetCodeSize:()I
istore 6
start local 6 3: aload 0
aload 3
invokestatic org.graalvm.compiler.hotspot.HotSpotCompiledCodeBuilder.getSortedSites:(Ljdk/vm/ci/code/CodeCacheProvider;Lorg/graalvm/compiler/code/CompilationResult;)[Ljdk/vm/ci/code/site/Site;
astore 7
start local 7 4: aload 3
invokevirtual org.graalvm.compiler.code.CompilationResult.getAssumptions:()[Ljdk/vm/ci/meta/Assumptions$Assumption;
astore 8
start local 8 5: aload 3
invokevirtual org.graalvm.compiler.code.CompilationResult.getMethods:()[Ljdk/vm/ci/meta/ResolvedJavaMethod;
astore 9
start local 9 6: aload 3
invokevirtual org.graalvm.compiler.code.CompilationResult.getAnnotations:()Ljava/util/List;
astore 10
start local 10 7: aload 10
invokeinterface java.util.List.size:()I
anewarray jdk.vm.ci.hotspot.HotSpotCompiledCode$Comment
astore 11
start local 11 8: aload 10
invokeinterface java.util.List.isEmpty:()Z
ifne 24
9: iconst_0
istore 12
start local 12 10: goto 23
11: StackMap locals: jdk.vm.ci.code.CodeCacheProvider jdk.vm.ci.meta.ResolvedJavaMethod jdk.vm.ci.hotspot.HotSpotCompilationRequest org.graalvm.compiler.code.CompilationResult java.lang.String byte[] int jdk.vm.ci.code.site.Site[] jdk.vm.ci.meta.Assumptions$Assumption[] jdk.vm.ci.meta.ResolvedJavaMethod[] java.util.List jdk.vm.ci.hotspot.HotSpotCompiledCode$Comment[] int
StackMap stack:
aload 10
iload 12
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.graalvm.compiler.code.CompilationResult$CodeAnnotation
astore 13
start local 13 12: aload 13
instanceof org.graalvm.compiler.code.CompilationResult$CodeComment
ifeq 16
13: aload 13
checkcast org.graalvm.compiler.code.CompilationResult$CodeComment
astore 15
start local 15 14: aload 15
getfield org.graalvm.compiler.code.CompilationResult$CodeComment.value:Ljava/lang/String;
astore 14
end local 15 start local 14 15: goto 21
end local 14 StackMap locals: org.graalvm.compiler.code.CompilationResult$CodeAnnotation
StackMap stack:
16: aload 13
instanceof org.graalvm.compiler.code.CompilationResult$JumpTable
ifeq 20
17: aload 13
checkcast org.graalvm.compiler.code.CompilationResult$JumpTable
astore 15
start local 15 18: new java.lang.StringBuilder
dup
ldc "JumpTable ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 15
getfield org.graalvm.compiler.code.CompilationResult$JumpTable.low:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " .. "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 15
getfield org.graalvm.compiler.code.CompilationResult$JumpTable.high:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 14
end local 15 start local 14 19: goto 21
end local 14 20: StackMap locals:
StackMap stack:
aload 13
invokevirtual org.graalvm.compiler.code.CompilationResult$CodeAnnotation.toString:()Ljava/lang/String;
astore 14
start local 14 21: StackMap locals: java.lang.String
StackMap stack:
aload 11
iload 12
new jdk.vm.ci.hotspot.HotSpotCompiledCode$Comment
dup
aload 13
getfield org.graalvm.compiler.code.CompilationResult$CodeAnnotation.position:I
aload 14
invokespecial jdk.vm.ci.hotspot.HotSpotCompiledCode$Comment.<init>:(ILjava/lang/String;)V
aastore
end local 14 end local 13 22: iinc 12 1
StackMap locals:
StackMap stack:
23: iload 12
aload 11
arraylength
if_icmplt 11
end local 12 24: StackMap locals:
StackMap stack:
aload 3
invokevirtual org.graalvm.compiler.code.CompilationResult.getDataSection:()Lorg/graalvm/compiler/code/DataSection;
astore 12
start local 12 25: aload 12
invokevirtual org.graalvm.compiler.code.DataSection.getSectionSize:()I
newarray 8
astore 13
start local 13 26: aload 13
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
invokestatic java.nio.ByteOrder.nativeOrder:()Ljava/nio/ByteOrder;
invokevirtual java.nio.ByteBuffer.order:(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer;
astore 14
start local 14 27: invokestatic java.util.stream.Stream.builder:()Ljava/util/stream/Stream$Builder;
astore 15
start local 15 28: aload 12
aload 14
aload 15
invokedynamic registerPatch(Ljava/util/stream/Stream$Builder;)Lorg/graalvm/compiler/code/DataSection$Patches;
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:
(ILjdk/vm/ci/meta/VMConstant;)V
org/graalvm/compiler/hotspot/HotSpotCompiledCodeBuilder.lambda$0(Ljava/util/stream/Stream$Builder;ILjdk/vm/ci/meta/VMConstant;)V (6)
(ILjdk/vm/ci/meta/VMConstant;)V
invokevirtual org.graalvm.compiler.code.DataSection.buildDataSection:(Ljava/nio/ByteBuffer;Lorg/graalvm/compiler/code/DataSection$Patches;)V
29: aload 12
invokevirtual org.graalvm.compiler.code.DataSection.getSectionAlignment:()I
istore 16
start local 16 30: aload 15
invokeinterface java.util.stream.Stream$Builder.build:()Ljava/util/stream/Stream;
invokedynamic apply()Ljava/util/function/IntFunction;
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:
(I)Ljava/lang/Object;
org/graalvm/compiler/hotspot/HotSpotCompiledCodeBuilder.lambda$1(I)[Ljdk/vm/ci/code/site/DataPatch; (6)
(I)[Ljdk/vm/ci/code/site/DataPatch;
invokeinterface java.util.stream.Stream.toArray:(Ljava/util/function/IntFunction;)[Ljava/lang/Object;
checkcast jdk.vm.ci.code.site.DataPatch[]
astore 17
start local 17 31: aload 3
invokevirtual org.graalvm.compiler.code.CompilationResult.getTotalFrameSize:()I
istore 18
start local 18 32: aload 3
invokevirtual org.graalvm.compiler.code.CompilationResult.getCustomStackArea:()Ljdk/vm/ci/code/StackSlot;
astore 19
start local 19 33: aload 3
invokevirtual org.graalvm.compiler.code.CompilationResult.isImmutablePIC:()Z
istore 20
start local 20 34: aload 1
instanceof jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod
ifeq 47
35: aload 1
checkcast jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod
astore 21
start local 21 36: aload 3
invokevirtual org.graalvm.compiler.code.CompilationResult.getEntryBCI:()I
istore 22
start local 22 37: aload 3
invokevirtual org.graalvm.compiler.code.CompilationResult.hasUnsafeAccess:()Z
istore 23
start local 23 38: aload 2
ifnull 42
39: aload 2
invokevirtual jdk.vm.ci.hotspot.HotSpotCompilationRequest.getId:()I
istore 24
start local 24 40: aload 2
invokevirtual jdk.vm.ci.hotspot.HotSpotCompilationRequest.getJvmciEnv:()J
lstore 25
start local 25 41: goto 44
end local 25 end local 24 42: StackMap locals: jdk.vm.ci.code.CodeCacheProvider jdk.vm.ci.meta.ResolvedJavaMethod jdk.vm.ci.hotspot.HotSpotCompilationRequest org.graalvm.compiler.code.CompilationResult java.lang.String byte[] int jdk.vm.ci.code.site.Site[] jdk.vm.ci.meta.Assumptions$Assumption[] jdk.vm.ci.meta.ResolvedJavaMethod[] java.util.List jdk.vm.ci.hotspot.HotSpotCompiledCode$Comment[] org.graalvm.compiler.code.DataSection byte[] java.nio.ByteBuffer java.util.stream.Stream$Builder int jdk.vm.ci.code.site.DataPatch[] int jdk.vm.ci.code.StackSlot int jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod int int
StackMap stack:
aload 21
iload 22
invokeinterface jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod.allocateCompileId:(I)I
istore 24
start local 24 43: lconst_0
lstore 25
start local 25 44: StackMap locals: int long
StackMap stack:
new jdk.vm.ci.hotspot.HotSpotCompiledNmethod
dup
aload 4
aload 5
iload 6
aload 7
aload 8
aload 9
aload 11
aload 13
iload 16
aload 17
iload 20
45: iload 18
aload 19
aload 21
iload 22
iload 24
lload 25
iload 23
46: invokespecial jdk.vm.ci.hotspot.HotSpotCompiledNmethod.<init>:(Ljava/lang/String;[BI[Ljdk/vm/ci/code/site/Site;[Ljdk/vm/ci/meta/Assumptions$Assumption;[Ljdk/vm/ci/meta/ResolvedJavaMethod;[Ljdk/vm/ci/hotspot/HotSpotCompiledCode$Comment;[BI[Ljdk/vm/ci/code/site/DataPatch;ZILjdk/vm/ci/code/StackSlot;Ljdk/vm/ci/hotspot/HotSpotResolvedJavaMethod;IIJZ)V
areturn
end local 25 end local 24 end local 23 end local 22 end local 21 47: StackMap locals: jdk.vm.ci.code.CodeCacheProvider jdk.vm.ci.meta.ResolvedJavaMethod jdk.vm.ci.hotspot.HotSpotCompilationRequest org.graalvm.compiler.code.CompilationResult java.lang.String byte[] int jdk.vm.ci.code.site.Site[] jdk.vm.ci.meta.Assumptions$Assumption[] jdk.vm.ci.meta.ResolvedJavaMethod[] java.util.List jdk.vm.ci.hotspot.HotSpotCompiledCode$Comment[] org.graalvm.compiler.code.DataSection byte[] java.nio.ByteBuffer java.util.stream.Stream$Builder int jdk.vm.ci.code.site.DataPatch[] int jdk.vm.ci.code.StackSlot int
StackMap stack:
new jdk.vm.ci.hotspot.HotSpotCompiledCode
dup
aload 4
aload 5
iload 6
aload 7
aload 8
aload 9
aload 11
aload 13
iload 16
aload 17
iload 20
48: iload 18
aload 19
49: invokespecial jdk.vm.ci.hotspot.HotSpotCompiledCode.<init>:(Ljava/lang/String;[BI[Ljdk/vm/ci/code/site/Site;[Ljdk/vm/ci/meta/Assumptions$Assumption;[Ljdk/vm/ci/meta/ResolvedJavaMethod;[Ljdk/vm/ci/hotspot/HotSpotCompiledCode$Comment;[BI[Ljdk/vm/ci/code/site/DataPatch;ZILjdk/vm/ci/code/StackSlot;)V
areturn
end local 20 end local 19 end local 18 end local 17 end local 16 end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 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 50 0 codeCache Ljdk/vm/ci/code/CodeCacheProvider;
0 50 1 method Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 50 2 compRequest Ljdk/vm/ci/hotspot/HotSpotCompilationRequest;
0 50 3 compResult Lorg/graalvm/compiler/code/CompilationResult;
1 50 4 name Ljava/lang/String;
2 50 5 targetCode [B
3 50 6 targetCodeSize I
4 50 7 sites [Ljdk/vm/ci/code/site/Site;
5 50 8 assumptions [Ljdk/vm/ci/meta/Assumptions$Assumption;
6 50 9 methods [Ljdk/vm/ci/meta/ResolvedJavaMethod;
7 50 10 annotations Ljava/util/List<Lorg/graalvm/compiler/code/CompilationResult$CodeAnnotation;>;
8 50 11 comments [Ljdk/vm/ci/hotspot/HotSpotCompiledCode$Comment;
10 24 12 i I
12 22 13 annotation Lorg/graalvm/compiler/code/CompilationResult$CodeAnnotation;
15 16 14 text Ljava/lang/String;
19 20 14 text Ljava/lang/String;
21 22 14 text Ljava/lang/String;
14 15 15 codeComment Lorg/graalvm/compiler/code/CompilationResult$CodeComment;
18 19 15 jumpTable Lorg/graalvm/compiler/code/CompilationResult$JumpTable;
25 50 12 data Lorg/graalvm/compiler/code/DataSection;
26 50 13 dataSection [B
27 50 14 buffer Ljava/nio/ByteBuffer;
28 50 15 patchBuilder Ljava/util/stream/Stream$Builder<Ljdk/vm/ci/code/site/DataPatch;>;
30 50 16 dataSectionAlignment I
31 50 17 dataSectionPatches [Ljdk/vm/ci/code/site/DataPatch;
32 50 18 totalFrameSize I
33 50 19 customStackArea Ljdk/vm/ci/code/StackSlot;
34 50 20 isImmutablePIC Z
36 47 21 hsMethod Ljdk/vm/ci/hotspot/HotSpotResolvedJavaMethod;
37 47 22 entryBCI I
38 47 23 hasUnsafeAccess Z
40 42 24 id I
43 47 24 id I
41 42 25 jvmciEnv J
44 47 25 jvmciEnv J
MethodParameters:
Name Flags
codeCache
method
compRequest
compResult
private static jdk.vm.ci.code.site.Site[] getSortedSites(jdk.vm.ci.code.CodeCacheProvider, org.graalvm.compiler.code.CompilationResult);
descriptor: (Ljdk/vm/ci/code/CodeCacheProvider;Lorg/graalvm/compiler/code/CompilationResult;)[Ljdk/vm/ci/code/site/Site;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=9, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
1: aload 1
invokevirtual org.graalvm.compiler.code.CompilationResult.getExceptionHandlers:()Ljava/util/List;
invokeinterface java.util.List.size:()I
aload 1
invokevirtual org.graalvm.compiler.code.CompilationResult.getInfopoints:()Ljava/util/List;
invokeinterface java.util.List.size:()I
iadd
aload 1
invokevirtual org.graalvm.compiler.code.CompilationResult.getDataPatches:()Ljava/util/List;
invokeinterface java.util.List.size:()I
iadd
aload 1
invokevirtual org.graalvm.compiler.code.CompilationResult.getMarks:()Ljava/util/List;
invokeinterface java.util.List.size:()I
iadd
aload 1
invokevirtual org.graalvm.compiler.code.CompilationResult.getSourceMappings:()Ljava/util/List;
invokeinterface java.util.List.size:()I
iadd
2: invokespecial java.util.ArrayList.<init>:(I)V
astore 2
start local 2 3: aload 2
aload 1
invokevirtual org.graalvm.compiler.code.CompilationResult.getExceptionHandlers:()Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
4: aload 2
aload 1
invokevirtual org.graalvm.compiler.code.CompilationResult.getInfopoints:()Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
5: aload 2
aload 1
invokevirtual org.graalvm.compiler.code.CompilationResult.getDataPatches:()Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
6: aload 2
aload 1
invokevirtual org.graalvm.compiler.code.CompilationResult.getMarks:()Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
7: aload 0
invokeinterface jdk.vm.ci.code.CodeCacheProvider.shouldDebugNonSafepoints:()Z
ifeq 20
8: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 9: aload 1
invokevirtual org.graalvm.compiler.code.CompilationResult.getSourceMappings:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 18
StackMap locals: jdk.vm.ci.code.CodeCacheProvider org.graalvm.compiler.code.CompilationResult java.util.List java.util.List top java.util.Iterator
StackMap stack:
10: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.code.SourceMapping
astore 4
start local 4 11: aload 4
invokevirtual org.graalvm.compiler.code.SourceMapping.getSourcePosition:()Lorg/graalvm/compiler/graph/NodeSourcePosition;
astore 6
start local 6 12: aload 6
invokevirtual org.graalvm.compiler.graph.NodeSourcePosition.isPlaceholder:()Z
ifne 18
aload 6
invokevirtual org.graalvm.compiler.graph.NodeSourcePosition.isSubstitution:()Z
ifeq 14
13: goto 18
14: StackMap locals: jdk.vm.ci.code.CodeCacheProvider org.graalvm.compiler.code.CompilationResult java.util.List java.util.List org.graalvm.compiler.code.SourceMapping java.util.Iterator org.graalvm.compiler.graph.NodeSourcePosition
StackMap stack:
getstatic org.graalvm.compiler.hotspot.HotSpotCompiledCodeBuilder.$assertionsDisabled:Z
ifne 15
aload 6
invokevirtual org.graalvm.compiler.graph.NodeSourcePosition.verify:()Z
ifne 15
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
15: StackMap locals:
StackMap stack:
aload 6
invokevirtual org.graalvm.compiler.graph.NodeSourcePosition.trim:()Lorg/graalvm/compiler/graph/NodeSourcePosition;
astore 6
16: aload 6
ifnull 18
aload 2
aload 4
invokedynamic test(Lorg/graalvm/compiler/code/SourceMapping;)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/HotSpotCompiledCodeBuilder.lambda$2(Lorg/graalvm/compiler/code/SourceMapping;Ljdk/vm/ci/code/site/Site;)Z (6)
(Ljdk/vm/ci/code/site/Site;)Z
invokestatic org.graalvm.util.CollectionsUtil.anyMatch:(Ljava/lang/Iterable;Ljava/util/function/Predicate;)Z
ifne 18
17: aload 3
new jdk.vm.ci.code.site.Infopoint
dup
aload 4
invokevirtual org.graalvm.compiler.code.SourceMapping.getEndOffset:()I
new jdk.vm.ci.code.DebugInfo
dup
aload 6
invokespecial jdk.vm.ci.code.DebugInfo.<init>:(Ljdk/vm/ci/code/BytecodePosition;)V
getstatic jdk.vm.ci.code.site.InfopointReason.BYTECODE_POSITION:Ljdk/vm/ci/code/site/InfopointReason;
invokespecial jdk.vm.ci.code.site.Infopoint.<init>:(ILjdk/vm/ci/code/DebugInfo;Ljdk/vm/ci/code/site/InfopointReason;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 6 end local 4 18: StackMap locals: jdk.vm.ci.code.CodeCacheProvider org.graalvm.compiler.code.CompilationResult java.util.List java.util.List top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
19: aload 2
aload 3
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
end local 3 20: StackMap locals: jdk.vm.ci.code.CodeCacheProvider org.graalvm.compiler.code.CompilationResult java.util.List
StackMap stack:
new org.graalvm.compiler.hotspot.HotSpotCompiledCodeBuilder$SiteComparator
dup
invokespecial org.graalvm.compiler.hotspot.HotSpotCompiledCodeBuilder$SiteComparator.<init>:()V
astore 3
start local 3 21: aload 2
aload 3
invokestatic java.util.Collections.sort:(Ljava/util/List;Ljava/util/Comparator;)V
22: aload 3
getfield org.graalvm.compiler.hotspot.HotSpotCompiledCodeBuilder$SiteComparator.sawCollidingInfopoints:Z
ifeq 37
23: aconst_null
astore 4
start local 4 24: new java.util.ArrayList
dup
aload 2
invokeinterface java.util.List.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 5
start local 5 25: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 35
StackMap locals: jdk.vm.ci.code.CodeCacheProvider org.graalvm.compiler.code.CompilationResult java.util.List org.graalvm.compiler.hotspot.HotSpotCompiledCodeBuilder$SiteComparator jdk.vm.ci.code.site.Infopoint java.util.List top java.util.Iterator
StackMap stack:
26: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.vm.ci.code.site.Site
astore 6
start local 6 27: aload 6
instanceof jdk.vm.ci.code.site.Infopoint
ifeq 34
28: aload 6
checkcast jdk.vm.ci.code.site.Infopoint
astore 8
start local 8 29: aload 4
ifnull 30
aload 4
getfield jdk.vm.ci.code.site.Infopoint.pcOffset:I
aload 8
getfield jdk.vm.ci.code.site.Infopoint.pcOffset:I
if_icmpeq 33
30: StackMap locals: jdk.vm.ci.code.CodeCacheProvider org.graalvm.compiler.code.CompilationResult java.util.List org.graalvm.compiler.hotspot.HotSpotCompiledCodeBuilder$SiteComparator jdk.vm.ci.code.site.Infopoint java.util.List jdk.vm.ci.code.site.Site java.util.Iterator jdk.vm.ci.code.site.Infopoint
StackMap stack:
aload 8
astore 4
31: aload 5
aload 8
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
32: goto 35
33: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.hotspot.HotSpotCompiledCodeBuilder.$assertionsDisabled:Z
ifne 35
aload 4
getfield jdk.vm.ci.code.site.Infopoint.reason:Ljdk/vm/ci/code/site/InfopointReason;
aload 8
getfield jdk.vm.ci.code.site.Infopoint.reason:Ljdk/vm/ci/code/site/InfopointReason;
invokevirtual jdk.vm.ci.code.site.InfopointReason.compareTo:(Ljava/lang/Enum;)I
ifle 35
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
end local 8 34: StackMap locals:
StackMap stack:
aload 5
aload 6
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 6 35: StackMap locals: jdk.vm.ci.code.CodeCacheProvider org.graalvm.compiler.code.CompilationResult java.util.List org.graalvm.compiler.hotspot.HotSpotCompiledCodeBuilder$SiteComparator jdk.vm.ci.code.site.Infopoint java.util.List top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 26
36: aload 5
astore 2
end local 5 end local 4 37: StackMap locals: jdk.vm.ci.code.CodeCacheProvider org.graalvm.compiler.code.CompilationResult java.util.List org.graalvm.compiler.hotspot.HotSpotCompiledCodeBuilder$SiteComparator
StackMap stack:
aload 2
aload 2
invokeinterface java.util.List.size:()I
anewarray jdk.vm.ci.code.site.Site
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast jdk.vm.ci.code.site.Site[]
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 38 0 codeCache Ljdk/vm/ci/code/CodeCacheProvider;
0 38 1 target Lorg/graalvm/compiler/code/CompilationResult;
3 38 2 sites Ljava/util/List<Ljdk/vm/ci/code/site/Site;>;
9 20 3 sourcePositionSites Ljava/util/List<Ljdk/vm/ci/code/site/Site;>;
11 18 4 source Lorg/graalvm/compiler/code/SourceMapping;
12 18 6 sourcePosition Lorg/graalvm/compiler/graph/NodeSourcePosition;
21 38 3 c Lorg/graalvm/compiler/hotspot/HotSpotCompiledCodeBuilder$SiteComparator;
24 37 4 lastInfopoint Ljdk/vm/ci/code/site/Infopoint;
25 37 5 copy Ljava/util/List<Ljdk/vm/ci/code/site/Site;>;
27 35 6 site Ljdk/vm/ci/code/site/Site;
29 34 8 info Ljdk/vm/ci/code/site/Infopoint;
MethodParameters:
Name Flags
codeCache
target
private static void lambda$0(java.util.stream.Stream$Builder, int, jdk.vm.ci.meta.VMConstant);
descriptor: (Ljava/util/stream/Stream$Builder;ILjdk/vm/ci/meta/VMConstant;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=7, locals=3, args_size=3
start local 1 start local 2 0: aload 0
new jdk.vm.ci.code.site.DataPatch
dup
iload 1
new jdk.vm.ci.code.site.ConstantReference
dup
aload 2
invokespecial jdk.vm.ci.code.site.ConstantReference.<init>:(Ljdk/vm/ci/meta/VMConstant;)V
invokespecial jdk.vm.ci.code.site.DataPatch.<init>:(ILjdk/vm/ci/code/site/Reference;)V
invokeinterface java.util.stream.Stream$Builder.accept:(Ljava/lang/Object;)V
1: return
end local 2 end local 1 LocalVariableTable:
Start End Slot Name Signature
0 2 1 position I
0 2 2 vmConstant Ljdk/vm/ci/meta/VMConstant;
private static jdk.vm.ci.code.site.DataPatch[] lambda$1(int);
descriptor: (I)[Ljdk/vm/ci/code/site/DataPatch;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
anewarray jdk.vm.ci.code.site.DataPatch
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 len I
private static boolean lambda$2(org.graalvm.compiler.code.SourceMapping, jdk.vm.ci.code.site.Site);
descriptor: (Lorg/graalvm/compiler/code/SourceMapping;Ljdk/vm/ci/code/site/Site;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 0
aload 1
getfield jdk.vm.ci.code.site.Site.pcOffset:I
invokevirtual org.graalvm.compiler.code.SourceMapping.contains:(I)Z
ireturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 s Ljdk/vm/ci/code/site/Site;
}
SourceFile: "HotSpotCompiledCodeBuilder.java"
NestMembers:
org.graalvm.compiler.hotspot.HotSpotCompiledCodeBuilder$SiteComparator
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Builder = java.util.stream.Stream$Builder of java.util.stream.Stream
public Comment = jdk.vm.ci.hotspot.HotSpotCompiledCode$Comment of jdk.vm.ci.hotspot.HotSpotCompiledCode
public abstract Assumption = jdk.vm.ci.meta.Assumptions$Assumption of jdk.vm.ci.meta.Assumptions
public abstract CodeAnnotation = org.graalvm.compiler.code.CompilationResult$CodeAnnotation of org.graalvm.compiler.code.CompilationResult
public final CodeComment = org.graalvm.compiler.code.CompilationResult$CodeComment of org.graalvm.compiler.code.CompilationResult
public final JumpTable = org.graalvm.compiler.code.CompilationResult$JumpTable of org.graalvm.compiler.code.CompilationResult
public abstract Patches = org.graalvm.compiler.code.DataSection$Patches of org.graalvm.compiler.code.DataSection
SiteComparator = org.graalvm.compiler.hotspot.HotSpotCompiledCodeBuilder$SiteComparator of org.graalvm.compiler.hotspot.HotSpotCompiledCodeBuilder