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.meta.ResolvedJavaMethod, jdk.vm.ci.hotspot.HotSpotCompilationRequest, org.graalvm.compiler.code.CompilationResult);
descriptor: (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=26, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual org.graalvm.compiler.code.CompilationResult.getName:()Ljava/lang/String;
astore 3
start local 3 1: aload 2
invokevirtual org.graalvm.compiler.code.CompilationResult.getTargetCode:()[B
astore 4
start local 4 2: aload 2
invokevirtual org.graalvm.compiler.code.CompilationResult.getTargetCodeSize:()I
istore 5
start local 5 3: aload 2
invokestatic org.graalvm.compiler.hotspot.HotSpotCompiledCodeBuilder.getSortedSites:(Lorg/graalvm/compiler/code/CompilationResult;)[Ljdk/vm/ci/code/site/Site;
astore 6
start local 6 4: aload 2
invokevirtual org.graalvm.compiler.code.CompilationResult.getAssumptions:()[Ljdk/vm/ci/meta/Assumptions$Assumption;
astore 7
start local 7 5: aload 2
invokevirtual org.graalvm.compiler.code.CompilationResult.getMethods:()[Ljdk/vm/ci/meta/ResolvedJavaMethod;
astore 8
start local 8 6: aload 2
invokevirtual org.graalvm.compiler.code.CompilationResult.getAnnotations:()Ljava/util/List;
astore 9
start local 9 7: aload 9
invokeinterface java.util.List.size:()I
anewarray jdk.vm.ci.hotspot.HotSpotCompiledCode$Comment
astore 10
start local 10 8: aload 9
invokeinterface java.util.List.isEmpty:()Z
ifne 24
9: iconst_0
istore 11
start local 11 10: goto 23
11: StackMap locals: 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 9
iload 11
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.graalvm.compiler.code.CompilationResult$CodeAnnotation
astore 12
start local 12 12: aload 12
instanceof org.graalvm.compiler.code.CompilationResult$CodeComment
ifeq 16
13: aload 12
checkcast org.graalvm.compiler.code.CompilationResult$CodeComment
astore 14
start local 14 14: aload 14
getfield org.graalvm.compiler.code.CompilationResult$CodeComment.value:Ljava/lang/String;
astore 13
end local 14 start local 13 15: goto 21
end local 13 StackMap locals: org.graalvm.compiler.code.CompilationResult$CodeAnnotation
StackMap stack:
16: aload 12
instanceof org.graalvm.compiler.code.CompilationResult$JumpTable
ifeq 20
17: aload 12
checkcast org.graalvm.compiler.code.CompilationResult$JumpTable
astore 14
start local 14 18: new java.lang.StringBuilder
dup
ldc "JumpTable ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 14
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 14
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 13
end local 14 start local 13 19: goto 21
end local 13 20: StackMap locals:
StackMap stack:
aload 12
invokevirtual org.graalvm.compiler.code.CompilationResult$CodeAnnotation.toString:()Ljava/lang/String;
astore 13
start local 13 21: StackMap locals: java.lang.String
StackMap stack:
aload 10
iload 11
new jdk.vm.ci.hotspot.HotSpotCompiledCode$Comment
dup
aload 12
getfield org.graalvm.compiler.code.CompilationResult$CodeAnnotation.position:I
aload 13
invokespecial jdk.vm.ci.hotspot.HotSpotCompiledCode$Comment.<init>:(ILjava/lang/String;)V
aastore
end local 13 end local 12 22: iinc 11 1
StackMap locals:
StackMap stack:
23: iload 11
aload 10
arraylength
if_icmplt 11
end local 11 24: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.graalvm.compiler.code.CompilationResult.getDataSection:()Lorg/graalvm/compiler/code/DataSection;
astore 11
start local 11 25: aload 11
invokevirtual org.graalvm.compiler.code.DataSection.getSectionSize:()I
newarray 8
astore 12
start local 12 26: aload 12
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 13
start local 13 27: invokestatic java.util.stream.Stream.builder:()Ljava/util/stream/Stream$Builder;
astore 14
start local 14 28: aload 11
aload 13
aload 14
aload 13
invokedynamic registerPatch(Ljava/util/stream/Stream$Builder;Ljava/nio/ByteBuffer;)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:
(Ljdk/vm/ci/meta/VMConstant;)V
org/graalvm/compiler/hotspot/HotSpotCompiledCodeBuilder.lambda$0(Ljava/util/stream/Stream$Builder;Ljava/nio/ByteBuffer;Ljdk/vm/ci/meta/VMConstant;)V (6)
(Ljdk/vm/ci/meta/VMConstant;)V
invokevirtual org.graalvm.compiler.code.DataSection.buildDataSection:(Ljava/nio/ByteBuffer;Lorg/graalvm/compiler/code/DataSection$Patches;)V
29: aload 11
invokevirtual org.graalvm.compiler.code.DataSection.getSectionAlignment:()I
istore 15
start local 15 30: aload 14
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 16
start local 16 31: aload 2
invokevirtual org.graalvm.compiler.code.CompilationResult.getTotalFrameSize:()I
istore 17
start local 17 32: aload 2
invokevirtual org.graalvm.compiler.code.CompilationResult.getCustomStackArea:()Ljdk/vm/ci/code/StackSlot;
astore 18
start local 18 33: aload 2
invokevirtual org.graalvm.compiler.code.CompilationResult.isImmutablePIC:()Z
istore 19
start local 19 34: aload 0
instanceof jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod
ifeq 47
35: aload 0
checkcast jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod
astore 20
start local 20 36: aload 2
invokevirtual org.graalvm.compiler.code.CompilationResult.getEntryBCI:()I
istore 21
start local 21 37: aload 2
invokevirtual org.graalvm.compiler.code.CompilationResult.hasUnsafeAccess:()Z
istore 22
start local 22 38: aload 1
ifnull 42
39: aload 1
invokevirtual jdk.vm.ci.hotspot.HotSpotCompilationRequest.getId:()I
istore 23
start local 23 40: aload 1
invokevirtual jdk.vm.ci.hotspot.HotSpotCompilationRequest.getJvmciEnv:()J
lstore 24
start local 24 41: goto 44
end local 24 end local 23 42: StackMap locals: 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 20
iload 21
invokeinterface jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod.allocateCompileId:(I)I
istore 23
start local 23 43: lconst_0
lstore 24
start local 24 44: StackMap locals: int long
StackMap stack:
new jdk.vm.ci.hotspot.HotSpotCompiledNmethod
dup
aload 3
aload 4
iload 5
aload 6
aload 7
aload 8
aload 10
aload 12
iload 15
aload 16
iload 19
45: iload 17
aload 18
aload 20
iload 21
iload 23
lload 24
iload 22
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 24 end local 23 end local 22 end local 21 end local 20 47: StackMap locals: 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 3
aload 4
iload 5
aload 6
aload 7
aload 8
aload 10
aload 12
iload 15
aload 16
iload 19
48: iload 17
aload 18
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 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 method Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 50 1 compRequest Ljdk/vm/ci/hotspot/HotSpotCompilationRequest;
0 50 2 compResult Lorg/graalvm/compiler/code/CompilationResult;
1 50 3 name Ljava/lang/String;
2 50 4 targetCode [B
3 50 5 targetCodeSize I
4 50 6 sites [Ljdk/vm/ci/code/site/Site;
5 50 7 assumptions [Ljdk/vm/ci/meta/Assumptions$Assumption;
6 50 8 methods [Ljdk/vm/ci/meta/ResolvedJavaMethod;
7 50 9 annotations Ljava/util/List<Lorg/graalvm/compiler/code/CompilationResult$CodeAnnotation;>;
8 50 10 comments [Ljdk/vm/ci/hotspot/HotSpotCompiledCode$Comment;
10 24 11 i I
12 22 12 annotation Lorg/graalvm/compiler/code/CompilationResult$CodeAnnotation;
15 16 13 text Ljava/lang/String;
19 20 13 text Ljava/lang/String;
21 22 13 text Ljava/lang/String;
14 15 14 codeComment Lorg/graalvm/compiler/code/CompilationResult$CodeComment;
18 19 14 jumpTable Lorg/graalvm/compiler/code/CompilationResult$JumpTable;
25 50 11 data Lorg/graalvm/compiler/code/DataSection;
26 50 12 dataSection [B
27 50 13 buffer Ljava/nio/ByteBuffer;
28 50 14 patchBuilder Ljava/util/stream/Stream$Builder<Ljdk/vm/ci/code/site/DataPatch;>;
30 50 15 dataSectionAlignment I
31 50 16 dataSectionPatches [Ljdk/vm/ci/code/site/DataPatch;
32 50 17 totalFrameSize I
33 50 18 customStackArea Ljdk/vm/ci/code/StackSlot;
34 50 19 isImmutablePIC Z
36 47 20 hsMethod Ljdk/vm/ci/hotspot/HotSpotResolvedJavaMethod;
37 47 21 entryBCI I
38 47 22 hasUnsafeAccess Z
40 42 23 id I
43 47 23 id I
41 42 24 jvmciEnv J
44 47 24 jvmciEnv J
MethodParameters:
Name Flags
method
compRequest
compResult
private static jdk.vm.ci.code.site.Site[] getSortedSites(org.graalvm.compiler.code.CompilationResult);
descriptor: (Lorg/graalvm/compiler/code/CompilationResult;)[Ljdk/vm/ci/code/site/Site;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=8, args_size=1
start local 0 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 1
start local 1 3: aload 1
aload 0
invokevirtual org.graalvm.compiler.code.CompilationResult.getExceptionHandlers:()Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
4: aload 1
aload 0
invokevirtual org.graalvm.compiler.code.CompilationResult.getInfopoints:()Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
5: aload 1
aload 0
invokevirtual org.graalvm.compiler.code.CompilationResult.getDataPatches:()Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
6: aload 1
aload 0
invokevirtual org.graalvm.compiler.code.CompilationResult.getMarks:()Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
7: aload 0
invokevirtual org.graalvm.compiler.code.CompilationResult.getSourceMappings:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 11
StackMap locals: org.graalvm.compiler.code.CompilationResult java.util.List top java.util.Iterator
StackMap stack:
8: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.code.SourceMapping
astore 2
start local 2 9: aload 1
new jdk.vm.ci.code.site.Infopoint
dup
aload 2
invokevirtual org.graalvm.compiler.code.SourceMapping.getEndOffset:()I
new jdk.vm.ci.code.DebugInfo
dup
aload 2
invokevirtual org.graalvm.compiler.code.SourceMapping.getSourcePosition:()Lorg/graalvm/compiler/graph/NodeSourcePosition;
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
10: getstatic org.graalvm.compiler.hotspot.HotSpotCompiledCodeBuilder.$assertionsDisabled:Z
ifne 11
aload 2
invokevirtual org.graalvm.compiler.code.SourceMapping.getSourcePosition:()Lorg/graalvm/compiler/graph/NodeSourcePosition;
invokestatic org.graalvm.compiler.hotspot.HotSpotCompiledCodeBuilder.verifySourcePositionReceivers:(Lorg/graalvm/compiler/graph/NodeSourcePosition;)Z
ifne 11
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
end local 2 11: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
12: new org.graalvm.compiler.hotspot.HotSpotCompiledCodeBuilder$SiteComparator
dup
invokespecial org.graalvm.compiler.hotspot.HotSpotCompiledCodeBuilder$SiteComparator.<init>:()V
astore 2
start local 2 13: aload 1
aload 2
invokestatic java.util.Collections.sort:(Ljava/util/List;Ljava/util/Comparator;)V
14: aload 2
getfield org.graalvm.compiler.hotspot.HotSpotCompiledCodeBuilder$SiteComparator.sawCollidingInfopoints:Z
ifeq 29
15: aconst_null
astore 3
start local 3 16: new java.util.ArrayList
dup
aload 1
invokeinterface java.util.List.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 4
start local 4 17: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 27
StackMap locals: 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:
18: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.vm.ci.code.site.Site
astore 5
start local 5 19: aload 5
instanceof jdk.vm.ci.code.site.Infopoint
ifeq 26
20: aload 5
checkcast jdk.vm.ci.code.site.Infopoint
astore 7
start local 7 21: aload 3
ifnull 22
aload 3
getfield jdk.vm.ci.code.site.Infopoint.pcOffset:I
aload 7
getfield jdk.vm.ci.code.site.Infopoint.pcOffset:I
if_icmpeq 25
22: StackMap locals: 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 7
astore 3
23: aload 4
aload 7
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
24: goto 27
25: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.hotspot.HotSpotCompiledCodeBuilder.$assertionsDisabled:Z
ifne 27
aload 3
getfield jdk.vm.ci.code.site.Infopoint.reason:Ljdk/vm/ci/code/site/InfopointReason;
aload 7
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 27
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
end local 7 26: StackMap locals:
StackMap stack:
aload 4
aload 5
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 5 27: StackMap locals: 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 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 18
28: aload 4
astore 1
end local 4 end local 3 29: StackMap locals: org.graalvm.compiler.code.CompilationResult java.util.List org.graalvm.compiler.hotspot.HotSpotCompiledCodeBuilder$SiteComparator
StackMap stack:
aload 1
aload 1
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 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 target Lorg/graalvm/compiler/code/CompilationResult;
3 30 1 sites Ljava/util/List<Ljdk/vm/ci/code/site/Site;>;
9 11 2 source Lorg/graalvm/compiler/code/SourceMapping;
13 30 2 c Lorg/graalvm/compiler/hotspot/HotSpotCompiledCodeBuilder$SiteComparator;
16 29 3 lastInfopoint Ljdk/vm/ci/code/site/Infopoint;
17 29 4 copy Ljava/util/List<Ljdk/vm/ci/code/site/Site;>;
19 27 5 site Ljdk/vm/ci/code/site/Site;
21 26 7 info Ljdk/vm/ci/code/site/Infopoint;
MethodParameters:
Name Flags
target
private static boolean verifySourcePositionReceivers(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:
aload 1
invokevirtual org.graalvm.compiler.graph.NodeSourcePosition.getReceiver:()Ljdk/vm/ci/meta/JavaConstant;
ifnull 4
3: getstatic org.graalvm.compiler.hotspot.HotSpotCompiledCodeBuilder.$assertionsDisabled:Z
ifne 4
aload 1
invokevirtual org.graalvm.compiler.graph.NodeSourcePosition.getReceiver:()Ljdk/vm/ci/meta/JavaConstant;
checkcast jdk.vm.ci.hotspot.HotSpotObjectConstant
aload 1
invokevirtual org.graalvm.compiler.graph.NodeSourcePosition.getMethod:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getDeclaringClass:()Ljdk/vm/ci/meta/ResolvedJavaType;
invokeinterface jdk.vm.ci.hotspot.HotSpotObjectConstant.asObject:(Ljdk/vm/ci/meta/ResolvedJavaType;)Ljava/lang/Object;
ifnonnull 4
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
5: StackMap locals:
StackMap stack:
aload 1
ifnonnull 2
6: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 start Lorg/graalvm/compiler/graph/NodeSourcePosition;
1 7 1 pos Lorg/graalvm/compiler/graph/NodeSourcePosition;
MethodParameters:
Name Flags
start
private static void lambda$0(java.util.stream.Stream$Builder, java.nio.ByteBuffer, jdk.vm.ci.meta.VMConstant);
descriptor: (Ljava/util/stream/Stream$Builder;Ljava/nio/ByteBuffer;Ljdk/vm/ci/meta/VMConstant;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=7, locals=3, args_size=3
start local 2 0: aload 0
new jdk.vm.ci.code.site.DataPatch
dup
aload 1
invokevirtual java.nio.ByteBuffer.position:()I
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 LocalVariableTable:
Start End Slot Name Signature
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
}
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