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, org.graalvm.compiler.options.OptionValues);
descriptor: (Ljdk/vm/ci/code/CodeCacheProvider;Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljdk/vm/ci/hotspot/HotSpotCompilationRequest;Lorg/graalvm/compiler/code/CompilationResult;Lorg/graalvm/compiler/options/OptionValues;)Ljdk/vm/ci/hotspot/HotSpotCompiledCode;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=21, locals=28, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 3
invokevirtual org.graalvm.compiler.code.CompilationResult.getName:()Ljava/lang/String;
astore 5
start local 5 1: aload 3
invokevirtual org.graalvm.compiler.code.CompilationResult.getTargetCode:()[B
astore 6
start local 6 2: aload 3
invokevirtual org.graalvm.compiler.code.CompilationResult.getTargetCodeSize:()I
istore 7
start local 7 3: aload 3
aload 4
aload 0
invokeinterface jdk.vm.ci.code.CodeCacheProvider.shouldDebugNonSafepoints:()Z
ifeq 4
aload 1
ifnull 4
iconst_1
goto 5
StackMap locals: jdk.vm.ci.code.CodeCacheProvider jdk.vm.ci.meta.ResolvedJavaMethod jdk.vm.ci.hotspot.HotSpotCompilationRequest org.graalvm.compiler.code.CompilationResult org.graalvm.compiler.options.OptionValues java.lang.String byte[] int
StackMap stack: org.graalvm.compiler.code.CompilationResult org.graalvm.compiler.options.OptionValues
4: iconst_0
StackMap locals: jdk.vm.ci.code.CodeCacheProvider jdk.vm.ci.meta.ResolvedJavaMethod jdk.vm.ci.hotspot.HotSpotCompilationRequest org.graalvm.compiler.code.CompilationResult org.graalvm.compiler.options.OptionValues java.lang.String byte[] int
StackMap stack: org.graalvm.compiler.code.CompilationResult org.graalvm.compiler.options.OptionValues int
5: invokestatic org.graalvm.compiler.hotspot.HotSpotCompiledCodeBuilder.getSortedSites:(Lorg/graalvm/compiler/code/CompilationResult;Lorg/graalvm/compiler/options/OptionValues;Z)[Ljdk/vm/ci/code/site/Site;
astore 8
start local 8 6: aload 3
invokevirtual org.graalvm.compiler.code.CompilationResult.getAssumptions:()[Ljdk/vm/ci/meta/Assumptions$Assumption;
astore 9
start local 9 7: aload 3
invokevirtual org.graalvm.compiler.code.CompilationResult.getMethods:()[Ljdk/vm/ci/meta/ResolvedJavaMethod;
astore 10
start local 10 8: aload 3
invokevirtual org.graalvm.compiler.code.CompilationResult.getAnnotations:()Ljava/util/List;
astore 11
start local 11 9: aload 11
invokeinterface java.util.List.size:()I
anewarray jdk.vm.ci.hotspot.HotSpotCompiledCode$Comment
astore 12
start local 12 10: aload 11
invokeinterface java.util.List.isEmpty:()Z
ifne 26
11: iconst_0
istore 13
start local 13 12: goto 25
13: StackMap locals: jdk.vm.ci.code.CodeCacheProvider jdk.vm.ci.meta.ResolvedJavaMethod jdk.vm.ci.hotspot.HotSpotCompilationRequest org.graalvm.compiler.code.CompilationResult org.graalvm.compiler.options.OptionValues 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 11
iload 13
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.graalvm.compiler.code.CompilationResult$CodeAnnotation
astore 14
start local 14 14: aload 14
instanceof org.graalvm.compiler.code.CompilationResult$CodeComment
ifeq 18
15: aload 14
checkcast org.graalvm.compiler.code.CompilationResult$CodeComment
astore 16
start local 16 16: aload 16
getfield org.graalvm.compiler.code.CompilationResult$CodeComment.value:Ljava/lang/String;
astore 15
end local 16 start local 15 17: goto 23
end local 15 StackMap locals: org.graalvm.compiler.code.CompilationResult$CodeAnnotation
StackMap stack:
18: aload 14
instanceof org.graalvm.compiler.code.CompilationResult$JumpTable
ifeq 22
19: aload 14
checkcast org.graalvm.compiler.code.CompilationResult$JumpTable
astore 16
start local 16 20: new java.lang.StringBuilder
dup
ldc "JumpTable ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 16
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 16
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 15
end local 16 start local 15 21: goto 23
end local 15 22: StackMap locals:
StackMap stack:
aload 14
invokevirtual org.graalvm.compiler.code.CompilationResult$CodeAnnotation.toString:()Ljava/lang/String;
astore 15
start local 15 23: StackMap locals: java.lang.String
StackMap stack:
aload 12
iload 13
new jdk.vm.ci.hotspot.HotSpotCompiledCode$Comment
dup
aload 14
getfield org.graalvm.compiler.code.CompilationResult$CodeAnnotation.position:I
aload 15
invokespecial jdk.vm.ci.hotspot.HotSpotCompiledCode$Comment.<init>:(ILjava/lang/String;)V
aastore
end local 15 end local 14 24: iinc 13 1
StackMap locals:
StackMap stack:
25: iload 13
aload 12
arraylength
if_icmplt 13
end local 13 26: StackMap locals:
StackMap stack:
aload 3
invokevirtual org.graalvm.compiler.code.CompilationResult.getDataSection:()Lorg/graalvm/compiler/code/DataSection;
astore 13
start local 13 27: aload 13
invokevirtual org.graalvm.compiler.code.DataSection.getSectionSize:()I
newarray 8
astore 14
start local 14 28: aload 14
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 15
start local 15 29: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 16
start local 16 30: aload 13
aload 15
aload 16
invokedynamic registerPatch(Ljava/util/List;)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/List;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
31: aload 13
invokevirtual org.graalvm.compiler.code.DataSection.getSectionAlignment:()I
istore 17
start local 17 32: aload 16
aload 16
invokeinterface java.util.List.size:()I
anewarray jdk.vm.ci.code.site.DataPatch
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast jdk.vm.ci.code.site.DataPatch[]
astore 18
start local 18 33: aload 3
invokevirtual org.graalvm.compiler.code.CompilationResult.getTotalFrameSize:()I
istore 19
start local 19 34: aload 3
invokevirtual org.graalvm.compiler.code.CompilationResult.getCustomStackArea:()Ljdk/vm/ci/code/StackSlot;
astore 20
start local 20 35: aload 3
invokevirtual org.graalvm.compiler.code.CompilationResult.isImmutablePIC:()Z
istore 21
start local 21 36: aload 1
instanceof jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod
ifeq 49
37: aload 1
checkcast jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod
astore 22
start local 22 38: aload 3
invokevirtual org.graalvm.compiler.code.CompilationResult.getEntryBCI:()I
istore 23
start local 23 39: aload 3
invokevirtual org.graalvm.compiler.code.CompilationResult.hasUnsafeAccess:()Z
istore 24
start local 24 40: aload 2
ifnull 44
41: aload 2
invokevirtual jdk.vm.ci.hotspot.HotSpotCompilationRequest.getId:()I
istore 25
start local 25 42: aload 2
invokevirtual jdk.vm.ci.hotspot.HotSpotCompilationRequest.getJvmciEnv:()J
lstore 26
start local 26 43: goto 46
end local 26 end local 25 44: StackMap locals: jdk.vm.ci.code.CodeCacheProvider jdk.vm.ci.meta.ResolvedJavaMethod jdk.vm.ci.hotspot.HotSpotCompilationRequest org.graalvm.compiler.code.CompilationResult org.graalvm.compiler.options.OptionValues 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.List int jdk.vm.ci.code.site.DataPatch[] int jdk.vm.ci.code.StackSlot int jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod int int
StackMap stack:
aload 22
iload 23
invokeinterface jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod.allocateCompileId:(I)I
istore 25
start local 25 45: lconst_0
lstore 26
start local 26 46: StackMap locals: int long
StackMap stack:
new jdk.vm.ci.hotspot.HotSpotCompiledNmethod
dup
aload 5
aload 6
iload 7
aload 8
aload 9
aload 10
aload 12
aload 14
iload 17
aload 18
iload 21
47: iload 19
aload 20
aload 22
iload 23
iload 25
lload 26
iload 24
48: 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 26 end local 25 end local 24 end local 23 end local 22 49: StackMap locals: jdk.vm.ci.code.CodeCacheProvider jdk.vm.ci.meta.ResolvedJavaMethod jdk.vm.ci.hotspot.HotSpotCompilationRequest org.graalvm.compiler.code.CompilationResult org.graalvm.compiler.options.OptionValues 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.List int jdk.vm.ci.code.site.DataPatch[] int jdk.vm.ci.code.StackSlot int
StackMap stack:
new jdk.vm.ci.hotspot.HotSpotCompiledCode
dup
aload 5
aload 6
iload 7
aload 8
aload 9
aload 10
aload 12
aload 14
iload 17
aload 18
iload 21
50: iload 19
aload 20
51: 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 21 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 52 0 codeCache Ljdk/vm/ci/code/CodeCacheProvider;
0 52 1 method Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 52 2 compRequest Ljdk/vm/ci/hotspot/HotSpotCompilationRequest;
0 52 3 compResult Lorg/graalvm/compiler/code/CompilationResult;
0 52 4 options Lorg/graalvm/compiler/options/OptionValues;
1 52 5 name Ljava/lang/String;
2 52 6 targetCode [B
3 52 7 targetCodeSize I
6 52 8 sites [Ljdk/vm/ci/code/site/Site;
7 52 9 assumptions [Ljdk/vm/ci/meta/Assumptions$Assumption;
8 52 10 methods [Ljdk/vm/ci/meta/ResolvedJavaMethod;
9 52 11 annotations Ljava/util/List<Lorg/graalvm/compiler/code/CompilationResult$CodeAnnotation;>;
10 52 12 comments [Ljdk/vm/ci/hotspot/HotSpotCompiledCode$Comment;
12 26 13 i I
14 24 14 annotation Lorg/graalvm/compiler/code/CompilationResult$CodeAnnotation;
17 18 15 text Ljava/lang/String;
21 22 15 text Ljava/lang/String;
23 24 15 text Ljava/lang/String;
16 17 16 codeComment Lorg/graalvm/compiler/code/CompilationResult$CodeComment;
20 21 16 jumpTable Lorg/graalvm/compiler/code/CompilationResult$JumpTable;
27 52 13 data Lorg/graalvm/compiler/code/DataSection;
28 52 14 dataSection [B
29 52 15 buffer Ljava/nio/ByteBuffer;
30 52 16 patches Ljava/util/List<Ljdk/vm/ci/code/site/DataPatch;>;
32 52 17 dataSectionAlignment I
33 52 18 dataSectionPatches [Ljdk/vm/ci/code/site/DataPatch;
34 52 19 totalFrameSize I
35 52 20 customStackArea Ljdk/vm/ci/code/StackSlot;
36 52 21 isImmutablePIC Z
38 49 22 hsMethod Ljdk/vm/ci/hotspot/HotSpotResolvedJavaMethod;
39 49 23 entryBCI I
40 49 24 hasUnsafeAccess Z
42 44 25 id I
45 49 25 id I
43 44 26 jvmciEnv J
46 49 26 jvmciEnv J
MethodParameters:
Name Flags
codeCache
method
compRequest
compResult
options
private static jdk.vm.ci.code.site.Site[] getSortedSites(org.graalvm.compiler.code.CompilationResult, org.graalvm.compiler.options.OptionValues, boolean);
descriptor: (Lorg/graalvm/compiler/code/CompilationResult;Lorg/graalvm/compiler/options/OptionValues;Z)[Ljdk/vm/ci/code/site/Site;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=11, args_size=3
start local 0 start local 1 start local 2 0: new java.util.ArrayList
dup
1: aload 0
invokevirtual org.graalvm.compiler.code.CompilationResult.getExceptionHandlers:()Ljava/util/List;
invokeinterface java.util.List.size:()I
aload 0
invokevirtual org.graalvm.compiler.code.CompilationResult.getInfopoints:()Ljava/util/List;
invokeinterface java.util.List.size:()I
iadd
aload 0
invokevirtual org.graalvm.compiler.code.CompilationResult.getDataPatches:()Ljava/util/List;
invokeinterface java.util.List.size:()I
iadd
aload 0
invokevirtual org.graalvm.compiler.code.CompilationResult.getMarks:()Ljava/util/List;
invokeinterface java.util.List.size:()I
iadd
aload 0
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 3
start local 3 3: aload 3
aload 0
invokevirtual org.graalvm.compiler.code.CompilationResult.getExceptionHandlers:()Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
4: aload 3
aload 0
invokevirtual org.graalvm.compiler.code.CompilationResult.getInfopoints:()Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
5: aload 3
aload 0
invokevirtual org.graalvm.compiler.code.CompilationResult.getDataPatches:()Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
6: aload 3
aload 0
invokevirtual org.graalvm.compiler.code.CompilationResult.getMarks:()Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
7: iload 2
ifeq 50
8: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
start local 4 9: aload 0
invokevirtual org.graalvm.compiler.code.CompilationResult.getSourceMappings:()Ljava/util/List;
invokeinterface java.util.List.listIterator:()Ljava/util/ListIterator;
astore 5
start local 5 10: aload 5
invokeinterface java.util.ListIterator.hasNext:()Z
ifeq 23
11: aload 5
invokeinterface java.util.ListIterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.code.SourceMapping
astore 6
start local 6 12: aload 6
invokevirtual org.graalvm.compiler.code.SourceMapping.getSourcePosition:()Lorg/graalvm/compiler/graph/NodeSourcePosition;
astore 7
start local 7 13: aload 7
invokevirtual org.graalvm.compiler.graph.NodeSourcePosition.isPlaceholder:()Z
ifne 22
aload 7
invokevirtual org.graalvm.compiler.graph.NodeSourcePosition.isSubstitution:()Z
ifne 22
14: aload 4
aload 6
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
15: goto 22
16: StackMap locals: org.graalvm.compiler.code.CompilationResult org.graalvm.compiler.options.OptionValues int java.util.List java.util.List java.util.ListIterator org.graalvm.compiler.code.SourceMapping org.graalvm.compiler.graph.NodeSourcePosition
StackMap stack:
aload 5
invokeinterface java.util.ListIterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.code.SourceMapping
astore 8
start local 8 17: getstatic org.graalvm.compiler.hotspot.HotSpotCompiledCodeBuilder.$assertionsDisabled:Z
ifne 18
aload 6
invokevirtual org.graalvm.compiler.code.SourceMapping.getStartOffset:()I
aload 8
invokevirtual org.graalvm.compiler.code.SourceMapping.getStartOffset:()I
if_icmple 18
new java.lang.AssertionError
dup
ldc "Must be presorted"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
18: StackMap locals: org.graalvm.compiler.code.SourceMapping
StackMap stack:
aload 8
astore 6
19: aload 6
invokevirtual org.graalvm.compiler.code.SourceMapping.getSourcePosition:()Lorg/graalvm/compiler/graph/NodeSourcePosition;
astore 7
20: aload 7
invokevirtual org.graalvm.compiler.graph.NodeSourcePosition.isPlaceholder:()Z
ifne 22
aload 7
invokevirtual org.graalvm.compiler.graph.NodeSourcePosition.isSubstitution:()Z
ifne 22
21: aload 4
aload 6
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 8 22: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.ListIterator.hasNext:()Z
ifne 16
end local 7 end local 6 23: StackMap locals:
StackMap stack:
aload 3
new org.graalvm.compiler.hotspot.HotSpotCompiledCodeBuilder$SiteComparator
dup
invokespecial org.graalvm.compiler.hotspot.HotSpotCompiledCodeBuilder$SiteComparator.<init>:()V
invokeinterface java.util.List.sort:(Ljava/util/Comparator;)V
24: aload 3
invokeinterface java.util.List.listIterator:()Ljava/util/ListIterator;
astore 6
start local 6 25: aload 4
invokeinterface java.util.List.listIterator:()Ljava/util/ListIterator;
astore 5
26: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 7
start local 7 27: aconst_null
astore 8
start local 8 28: goto 48
29: StackMap locals: java.util.ListIterator java.util.List jdk.vm.ci.code.site.Site
StackMap stack:
aload 5
invokeinterface java.util.ListIterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.code.SourceMapping
astore 9
start local 9 30: aload 8
ifnull 35
aload 8
getfield jdk.vm.ci.code.site.Site.pcOffset:I
aload 9
invokevirtual org.graalvm.compiler.code.SourceMapping.getStartOffset:()I
if_icmpge 36
31: goto 35
32: StackMap locals: org.graalvm.compiler.code.SourceMapping
StackMap stack:
aload 6
invokeinterface java.util.ListIterator.next:()Ljava/lang/Object;
checkcast jdk.vm.ci.code.site.Site
astore 8
33: aload 8
getfield jdk.vm.ci.code.site.Site.pcOffset:I
aload 9
invokevirtual org.graalvm.compiler.code.SourceMapping.getStartOffset:()I
if_icmplt 35
34: goto 36
35: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.ListIterator.hasNext:()Z
ifne 32
36: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.hotspot.HotSpotCompiledCodeBuilder.$assertionsDisabled:Z
ifne 37
aload 6
invokeinterface java.util.ListIterator.hasNext:()Z
ifeq 37
aload 8
getfield jdk.vm.ci.code.site.Site.pcOffset:I
aload 9
invokevirtual org.graalvm.compiler.code.SourceMapping.getStartOffset:()I
if_icmpge 37
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
37: StackMap locals:
StackMap stack:
aload 8
ifnull 39
aload 9
invokevirtual org.graalvm.compiler.code.SourceMapping.getStartOffset:()I
aload 8
getfield jdk.vm.ci.code.site.Site.pcOffset:I
if_icmpgt 39
aload 8
getfield jdk.vm.ci.code.site.Site.pcOffset:I
aload 9
invokevirtual org.graalvm.compiler.code.SourceMapping.getEndOffset:()I
if_icmpgt 39
38: goto 48
39: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.hotspot.HotSpotCompiledCodeBuilder.$assertionsDisabled:Z
ifne 40
aload 6
invokeinterface java.util.ListIterator.hasNext:()Z
ifeq 40
aload 8
getfield jdk.vm.ci.code.site.Site.pcOffset:I
aload 9
invokevirtual org.graalvm.compiler.code.SourceMapping.getEndOffset:()I
if_icmpgt 40
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
40: StackMap locals:
StackMap stack:
aload 9
invokevirtual org.graalvm.compiler.code.SourceMapping.getSourcePosition:()Lorg/graalvm/compiler/graph/NodeSourcePosition;
astore 10
start local 10 41: getstatic org.graalvm.compiler.hotspot.HotSpotCompiledCodeBuilder.$assertionsDisabled:Z
ifne 42
aload 10
invokevirtual org.graalvm.compiler.graph.NodeSourcePosition.verify:()Z
ifne 42
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
42: StackMap locals: org.graalvm.compiler.graph.NodeSourcePosition
StackMap stack:
getstatic org.graalvm.compiler.hotspot.HotSpotCompiledCodeBuilder$Options.ShowSubstitutionSourceInfo:Lorg/graalvm/compiler/options/OptionKey;
aload 1
invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifne 45
43: aload 10
invokevirtual org.graalvm.compiler.graph.NodeSourcePosition.trim:()Lorg/graalvm/compiler/graph/NodeSourcePosition;
astore 10
44: getstatic org.graalvm.compiler.hotspot.HotSpotCompiledCodeBuilder.$assertionsDisabled:Z
ifne 45
aload 10
invokestatic org.graalvm.compiler.hotspot.HotSpotCompiledCodeBuilder.verifyTrim:(Lorg/graalvm/compiler/graph/NodeSourcePosition;)Z
ifne 45
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
45: StackMap locals:
StackMap stack:
aload 10
ifnull 48
46: getstatic org.graalvm.compiler.hotspot.HotSpotCompiledCodeBuilder.$assertionsDisabled:Z
ifne 47
aload 3
aload 9
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$1(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
ifeq 47
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
47: StackMap locals:
StackMap stack:
aload 7
new jdk.vm.ci.code.site.Infopoint
dup
aload 9
invokevirtual org.graalvm.compiler.code.SourceMapping.getEndOffset:()I
new jdk.vm.ci.code.DebugInfo
dup
aload 10
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 10 end local 9 48: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.ListIterator.hasNext:()Z
ifne 29
49: aload 3
aload 7
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
end local 8 end local 7 end local 6 end local 5 end local 4 50: StackMap locals: org.graalvm.compiler.code.CompilationResult org.graalvm.compiler.options.OptionValues int java.util.List
StackMap stack:
new org.graalvm.compiler.hotspot.HotSpotCompiledCodeBuilder$SiteComparator
dup
invokespecial org.graalvm.compiler.hotspot.HotSpotCompiledCodeBuilder$SiteComparator.<init>:()V
astore 4
start local 4 51: aload 3
aload 4
invokestatic java.util.Collections.sort:(Ljava/util/List;Ljava/util/Comparator;)V
52: aload 4
getfield org.graalvm.compiler.hotspot.HotSpotCompiledCodeBuilder$SiteComparator.sawCollidingInfopoints:Z
ifeq 67
53: aconst_null
astore 5
start local 5 54: new java.util.ArrayList
dup
aload 3
invokeinterface java.util.List.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 6
start local 6 55: aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 8
goto 65
StackMap locals: org.graalvm.compiler.code.CompilationResult org.graalvm.compiler.options.OptionValues int java.util.List org.graalvm.compiler.hotspot.HotSpotCompiledCodeBuilder$SiteComparator jdk.vm.ci.code.site.Infopoint java.util.List top java.util.Iterator
StackMap stack:
56: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.vm.ci.code.site.Site
astore 7
start local 7 57: aload 7
instanceof jdk.vm.ci.code.site.Infopoint
ifeq 64
58: aload 7
checkcast jdk.vm.ci.code.site.Infopoint
astore 9
start local 9 59: aload 5
ifnull 60
aload 5
getfield jdk.vm.ci.code.site.Infopoint.pcOffset:I
aload 9
getfield jdk.vm.ci.code.site.Infopoint.pcOffset:I
if_icmpeq 63
60: StackMap locals: org.graalvm.compiler.code.CompilationResult org.graalvm.compiler.options.OptionValues int 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 9
astore 5
61: aload 6
aload 9
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
62: goto 65
63: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.hotspot.HotSpotCompiledCodeBuilder.$assertionsDisabled:Z
ifne 65
aload 5
getfield jdk.vm.ci.code.site.Infopoint.reason:Ljdk/vm/ci/code/site/InfopointReason;
aload 9
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 65
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
end local 9 64: StackMap locals:
StackMap stack:
aload 6
aload 7
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 7 65: StackMap locals: org.graalvm.compiler.code.CompilationResult org.graalvm.compiler.options.OptionValues int 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 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 56
66: aload 6
astore 3
end local 6 end local 5 67: StackMap locals: org.graalvm.compiler.code.CompilationResult org.graalvm.compiler.options.OptionValues int java.util.List org.graalvm.compiler.hotspot.HotSpotCompiledCodeBuilder$SiteComparator
StackMap stack:
aload 3
aload 3
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 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 68 0 target Lorg/graalvm/compiler/code/CompilationResult;
0 68 1 options Lorg/graalvm/compiler/options/OptionValues;
0 68 2 includeSourceInfo Z
3 68 3 sites Ljava/util/List<Ljdk/vm/ci/code/site/Site;>;
9 50 4 sourceMappings Ljava/util/List<Lorg/graalvm/compiler/code/SourceMapping;>;
10 50 5 sourceMappingListIterator Ljava/util/ListIterator<Lorg/graalvm/compiler/code/SourceMapping;>;
12 23 6 currentSource Lorg/graalvm/compiler/code/SourceMapping;
13 23 7 sourcePosition Lorg/graalvm/compiler/graph/NodeSourcePosition;
17 22 8 nextSource Lorg/graalvm/compiler/code/SourceMapping;
25 50 6 siteListIterator Ljava/util/ListIterator<Ljdk/vm/ci/code/site/Site;>;
27 50 7 sourcePositionSites Ljava/util/List<Ljdk/vm/ci/code/site/Site;>;
28 50 8 site Ljdk/vm/ci/code/site/Site;
30 48 9 source Lorg/graalvm/compiler/code/SourceMapping;
41 48 10 sourcePosition Lorg/graalvm/compiler/graph/NodeSourcePosition;
51 68 4 c Lorg/graalvm/compiler/hotspot/HotSpotCompiledCodeBuilder$SiteComparator;
54 67 5 lastInfopoint Ljdk/vm/ci/code/site/Infopoint;
55 67 6 copy Ljava/util/List<Ljdk/vm/ci/code/site/Site;>;
57 65 7 site Ljdk/vm/ci/code/site/Site;
59 64 9 info Ljdk/vm/ci/code/site/Infopoint;
MethodParameters:
Name Flags
target
options
includeSourceInfo
private static boolean verifyTrim(org.graalvm.compiler.graph.NodeSourcePosition);
descriptor: (Lorg/graalvm/compiler/graph/NodeSourcePosition;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
astore 1
start local 1 1: goto 5
2: StackMap locals: org.graalvm.compiler.graph.NodeSourcePosition
StackMap stack:
getstatic org.graalvm.compiler.hotspot.HotSpotCompiledCodeBuilder.$assertionsDisabled:Z
ifne 4
aload 1
invokevirtual org.graalvm.compiler.graph.NodeSourcePosition.getMethod:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
ldc Lorg/graalvm/compiler/api/replacements/Snippet;
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
ifnonnull 3
aload 1
invokevirtual org.graalvm.compiler.graph.NodeSourcePosition.getMethod:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
ldc Lorg/graalvm/compiler/api/replacements/MethodSubstitution;
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
ifnull 4
StackMap locals:
StackMap stack:
3: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.graalvm.compiler.graph.NodeSourcePosition.getCaller:()Lorg/graalvm/compiler/graph/NodeSourcePosition;
astore 1
StackMap locals:
StackMap stack:
5: aload 1
ifnonnull 2
end local 1 6: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 sourcePosition Lorg/graalvm/compiler/graph/NodeSourcePosition;
1 6 1 sp Lorg/graalvm/compiler/graph/NodeSourcePosition;
MethodParameters:
Name Flags
sourcePosition
private static void lambda$0(java.util.List, int, jdk.vm.ci.meta.VMConstant);
descriptor: (Ljava/util/List;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.List.add:(Ljava/lang/Object;)Z
pop
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 boolean lambda$1(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
invokevirtual org.graalvm.compiler.code.SourceMapping.getStartOffset:()I
aload 1
getfield jdk.vm.ci.code.site.Site.pcOffset:I
if_icmpgt 1
aload 1
getfield jdk.vm.ci.code.site.Site.pcOffset:I
aload 0
invokevirtual org.graalvm.compiler.code.SourceMapping.getEndOffset:()I
if_icmpgt 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ireturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 3 1 s Ljdk/vm/ci/code/site/Site;
}
SourceFile: "HotSpotCompiledCodeBuilder.java"
NestMembers:
org.graalvm.compiler.hotspot.HotSpotCompiledCodeBuilder$Options org.graalvm.compiler.hotspot.HotSpotCompiledCodeBuilder$SiteComparator
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
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
public Options = org.graalvm.compiler.hotspot.HotSpotCompiledCodeBuilder$Options of org.graalvm.compiler.hotspot.HotSpotCompiledCodeBuilder
SiteComparator = org.graalvm.compiler.hotspot.HotSpotCompiledCodeBuilder$SiteComparator of org.graalvm.compiler.hotspot.HotSpotCompiledCodeBuilder