final class org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator
super_class: java.lang.Object
{
private final org.graalvm.compiler.lir.LIR lir;
descriptor: Lorg/graalvm/compiler/lir/LIR;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.debug.DebugContext debug;
descriptor: Lorg/graalvm/compiler/debug/DebugContext;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.lir.framemap.FrameMapBuilderTool frameMapBuilder;
descriptor: Lorg/graalvm/compiler/lir/framemap/FrameMapBuilderTool;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.lir.stackslotalloc.StackInterval[] stackSlotMap;
descriptor: [Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.PriorityQueue<org.graalvm.compiler.lir.stackslotalloc.StackInterval> unhandled;
descriptor: Ljava/util/PriorityQueue;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/PriorityQueue<Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;>;
private final java.util.PriorityQueue<org.graalvm.compiler.lir.stackslotalloc.StackInterval> active;
descriptor: Ljava/util/PriorityQueue;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/PriorityQueue<Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;>;
private final org.graalvm.compiler.core.common.cfg.AbstractBlockBase<?>[] sortedBlocks;
descriptor: [Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: [Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
private final int maxOpId;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.util.EnumMap<org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator$SlotSize, java.util.Deque<jdk.vm.ci.code.StackSlot>> freeSlots;
descriptor: Ljava/util/EnumMap;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/EnumMap<Lorg/graalvm/compiler/lir/stackslotalloc/LSStackSlotAllocator$Allocator$SlotSize;Ljava/util/Deque<Ljdk/vm/ci/code/StackSlot;>;>;
org.graalvm.compiler.lir.ValueProcedure assignSlot;
descriptor: Lorg/graalvm/compiler/lir/ValueProcedure;
flags: (0x0000)
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/lir/stackslotalloc/LSStackSlotAllocator;
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.lir.stackslotalloc.LSStackSlotAllocator$Allocator.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(org.graalvm.compiler.lir.LIR, org.graalvm.compiler.lir.framemap.FrameMapBuilderTool);
descriptor: (Lorg/graalvm/compiler/lir/LIR;Lorg/graalvm/compiler/lir/framemap/FrameMapBuilderTool;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator$1
dup
aload 0
invokespecial org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator$1.<init>:(Lorg/graalvm/compiler/lir/stackslotalloc/LSStackSlotAllocator$Allocator;)V
putfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.assignSlot:Lorg/graalvm/compiler/lir/ValueProcedure;
2: aload 0
aload 1
putfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.lir:Lorg/graalvm/compiler/lir/LIR;
3: aload 0
aload 1
invokevirtual org.graalvm.compiler.lir.LIR.getDebug:()Lorg/graalvm/compiler/debug/DebugContext;
putfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.debug:Lorg/graalvm/compiler/debug/DebugContext;
4: aload 0
aload 2
putfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.frameMapBuilder:Lorg/graalvm/compiler/lir/framemap/FrameMapBuilderTool;
5: aload 0
aload 2
invokevirtual org.graalvm.compiler.lir.framemap.FrameMapBuilderTool.getNumberOfStackSlots:()I
anewarray org.graalvm.compiler.lir.stackslotalloc.StackInterval
putfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.stackSlotMap:[Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;
6: aload 0
aload 1
invokevirtual org.graalvm.compiler.lir.LIR.getControlFlowGraph:()Lorg/graalvm/compiler/core/common/cfg/AbstractControlFlowGraph;
invokeinterface org.graalvm.compiler.core.common.cfg.AbstractControlFlowGraph.getBlocks:()[Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
putfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.sortedBlocks:[Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
7: aload 0
new java.util.PriorityQueue
dup
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/lir/stackslotalloc/LSStackSlotAllocator$Allocator.lambda$0(Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;)I (6)
(Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;)I
invokespecial java.util.PriorityQueue.<init>:(Ljava/util/Comparator;)V
putfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.unhandled:Ljava/util/PriorityQueue;
8: aload 0
new java.util.PriorityQueue
dup
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/lir/stackslotalloc/LSStackSlotAllocator$Allocator.lambda$1(Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;)I (6)
(Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;)I
invokespecial java.util.PriorityQueue.<init>:(Ljava/util/Comparator;)V
putfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.active:Ljava/util/PriorityQueue;
9: aconst_null
astore 3
aconst_null
astore 4
10: getstatic org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator.NumInstTimer:Lorg/graalvm/compiler/debug/TimerKey;
aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.debug:Lorg/graalvm/compiler/debug/DebugContext;
invokeinterface org.graalvm.compiler.debug.TimerKey.start:(Lorg/graalvm/compiler/debug/DebugContext;)Lorg/graalvm/compiler/debug/DebugCloseable;
astore 5
start local 5 11: aload 0
aload 1
aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.sortedBlocks:[Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
invokestatic org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.numberInstructions:(Lorg/graalvm/compiler/lir/LIR;[Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)I
putfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.maxOpId:I
12: aload 5
ifnull 18
aload 5
invokeinterface org.graalvm.compiler.debug.DebugCloseable.close:()V
goto 18
StackMap locals: org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator org.graalvm.compiler.lir.LIR org.graalvm.compiler.lir.framemap.FrameMapBuilderTool java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugCloseable
StackMap stack: java.lang.Throwable
13: astore 3
aload 5
ifnull 14
aload 5
invokeinterface org.graalvm.compiler.debug.DebugCloseable.close:()V
end local 5 StackMap locals:
StackMap stack:
14: aload 3
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
15: astore 4
aload 3
ifnonnull 16
aload 4
astore 3
goto 17
StackMap locals:
StackMap stack:
16: aload 3
aload 4
if_acmpeq 17
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
17: aload 3
athrow
18: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/graalvm/compiler/lir/stackslotalloc/LSStackSlotAllocator$Allocator;
0 19 1 lir Lorg/graalvm/compiler/lir/LIR;
0 19 2 frameMapBuilder Lorg/graalvm/compiler/lir/framemap/FrameMapBuilderTool;
11 14 5 t Lorg/graalvm/compiler/debug/DebugCloseable;
Exception table:
from to target type
11 12 13 any
10 15 15 any
MethodParameters:
Name Flags
lir
frameMapBuilder
private void allocate();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=10, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.debug:Lorg/graalvm/compiler/debug/DebugContext;
iconst_3
aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.lir:Lorg/graalvm/compiler/lir/LIR;
ldc "After StackSlot numbering"
invokevirtual org.graalvm.compiler.debug.DebugContext.dump:(ILjava/lang/Object;Ljava/lang/String;)V
1: getstatic org.graalvm.compiler.lir.stackslotalloc.StackSlotAllocatorUtil.allocatedFramesize:Lorg/graalvm/compiler/debug/CounterKey;
aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.debug:Lorg/graalvm/compiler/debug/DebugContext;
invokeinterface org.graalvm.compiler.debug.CounterKey.isEnabled:(Lorg/graalvm/compiler/debug/DebugContext;)Z
istore 1
start local 1 2: iload 1
ifeq 3
aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.frameMapBuilder:Lorg/graalvm/compiler/lir/framemap/FrameMapBuilderTool;
invokevirtual org.graalvm.compiler.lir.framemap.FrameMapBuilderTool.getFrameMap:()Lorg/graalvm/compiler/lir/framemap/FrameMap;
invokevirtual org.graalvm.compiler.lir.framemap.FrameMap.currentFrameSize:()I
goto 4
StackMap locals: int
StackMap stack:
3: iconst_0
StackMap locals:
StackMap stack: int
4: i2l
lstore 2
start local 2 5: aconst_null
astore 5
aconst_null
astore 6
6: aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.debug:Lorg/graalvm/compiler/debug/DebugContext;
ldc "StackSlotAllocationBuildIntervals"
invokevirtual org.graalvm.compiler.debug.DebugContext.scope:(Ljava/lang/Object;)Lorg/graalvm/compiler/debug/DebugContext$Scope;
astore 7
start local 7 7: aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.debug:Lorg/graalvm/compiler/debug/DebugContext;
ldc "BuildIntervals"
invokevirtual org.graalvm.compiler.debug.DebugContext.logAndIndent:(Ljava/lang/String;)Lorg/graalvm/compiler/debug/Indent;
astore 8
start local 8 8: getstatic org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator.BuildIntervalsTimer:Lorg/graalvm/compiler/debug/TimerKey;
aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.debug:Lorg/graalvm/compiler/debug/DebugContext;
invokeinterface org.graalvm.compiler.debug.TimerKey.start:(Lorg/graalvm/compiler/debug/DebugContext;)Lorg/graalvm/compiler/debug/DebugCloseable;
astore 9
start local 9 9: aload 0
invokevirtual org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.buildIntervals:()Ljdk/internal/vm/compiler/collections/EconomicSet;
astore 4
start local 4 10: aload 9
ifnull 13
aload 9
invokeinterface org.graalvm.compiler.debug.DebugCloseable.close:()V
goto 13
end local 4 StackMap locals: org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator int long top java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext$Scope org.graalvm.compiler.debug.Indent org.graalvm.compiler.debug.DebugCloseable
StackMap stack: java.lang.Throwable
11: astore 5
aload 9
ifnull 12
aload 9
invokeinterface org.graalvm.compiler.debug.DebugCloseable.close:()V
end local 9 StackMap locals:
StackMap stack:
12: aload 5
athrow
start local 4 StackMap locals: org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator int long jdk.internal.vm.compiler.collections.EconomicSet java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext$Scope org.graalvm.compiler.debug.Indent
StackMap stack:
13: aload 8
ifnull 18
aload 8
invokeinterface org.graalvm.compiler.debug.Indent.close:()V
goto 18
end local 4 StackMap locals: org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator int long top java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext$Scope org.graalvm.compiler.debug.Indent
StackMap stack: java.lang.Throwable
14: astore 6
aload 5
ifnonnull 15
aload 6
astore 5
goto 16
StackMap locals:
StackMap stack:
15: aload 5
aload 6
if_acmpeq 16
aload 5
aload 6
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
16: aload 8
ifnull 17
aload 8
invokeinterface org.graalvm.compiler.debug.Indent.close:()V
end local 8 StackMap locals:
StackMap stack:
17: aload 5
athrow
start local 4 StackMap locals: org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator int long jdk.internal.vm.compiler.collections.EconomicSet java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext$Scope
StackMap stack:
18: aload 7
ifnull 26
aload 7
invokeinterface org.graalvm.compiler.debug.DebugContext$Scope.close:()V
goto 26
end local 4 StackMap locals: org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator int long top java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext$Scope
StackMap stack: java.lang.Throwable
19: astore 6
aload 5
ifnonnull 20
aload 6
astore 5
goto 21
StackMap locals:
StackMap stack:
20: aload 5
aload 6
if_acmpeq 21
aload 5
aload 6
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
21: aload 7
ifnull 22
aload 7
invokeinterface org.graalvm.compiler.debug.DebugContext$Scope.close:()V
end local 7 StackMap locals:
StackMap stack:
22: aload 5
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
23: astore 6
aload 5
ifnonnull 24
aload 6
astore 5
goto 25
StackMap locals:
StackMap stack:
24: aload 5
aload 6
if_acmpeq 25
aload 5
aload 6
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
25: aload 5
athrow
start local 4 26: StackMap locals: org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator int long jdk.internal.vm.compiler.collections.EconomicSet
StackMap stack:
aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.debug:Lorg/graalvm/compiler/debug/DebugContext;
invokevirtual org.graalvm.compiler.debug.DebugContext.areScopesEnabled:()Z
ifeq 36
27: aconst_null
astore 5
aconst_null
astore 6
28: getstatic org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator.VerifyIntervalsTimer:Lorg/graalvm/compiler/debug/TimerKey;
aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.debug:Lorg/graalvm/compiler/debug/DebugContext;
invokeinterface org.graalvm.compiler.debug.TimerKey.start:(Lorg/graalvm/compiler/debug/DebugContext;)Lorg/graalvm/compiler/debug/DebugCloseable;
astore 7
start local 7 29: getstatic org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.$assertionsDisabled:Z
ifne 30
aload 0
invokevirtual org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.verifyIntervals:()Z
ifne 30
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
30: StackMap locals: java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugCloseable
StackMap stack:
aload 7
ifnull 36
aload 7
invokeinterface org.graalvm.compiler.debug.DebugCloseable.close:()V
goto 36
StackMap locals:
StackMap stack: java.lang.Throwable
31: astore 5
aload 7
ifnull 32
aload 7
invokeinterface org.graalvm.compiler.debug.DebugCloseable.close:()V
end local 7 StackMap locals:
StackMap stack:
32: aload 5
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
33: astore 6
aload 5
ifnonnull 34
aload 6
astore 5
goto 35
StackMap locals:
StackMap stack:
34: aload 5
aload 6
if_acmpeq 35
aload 5
aload 6
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
35: aload 5
athrow
36: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.debug:Lorg/graalvm/compiler/debug/DebugContext;
iconst_3
invokevirtual org.graalvm.compiler.debug.DebugContext.isDumpEnabled:(I)Z
ifeq 38
37: aload 0
ldc "Before stack slot allocation"
invokevirtual org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.dumpIntervals:(Ljava/lang/String;)V
38: StackMap locals:
StackMap stack:
aconst_null
astore 5
aconst_null
astore 6
39: getstatic org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator.AllocateSlotsTimer:Lorg/graalvm/compiler/debug/TimerKey;
aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.debug:Lorg/graalvm/compiler/debug/DebugContext;
invokeinterface org.graalvm.compiler.debug.TimerKey.start:(Lorg/graalvm/compiler/debug/DebugContext;)Lorg/graalvm/compiler/debug/DebugCloseable;
astore 7
start local 7 40: aload 0
invokevirtual org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.allocateStackSlots:()V
41: aload 7
ifnull 47
aload 7
invokeinterface org.graalvm.compiler.debug.DebugCloseable.close:()V
goto 47
StackMap locals: org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator int long jdk.internal.vm.compiler.collections.EconomicSet java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugCloseable
StackMap stack: java.lang.Throwable
42: astore 5
aload 7
ifnull 43
aload 7
invokeinterface org.graalvm.compiler.debug.DebugCloseable.close:()V
end local 7 StackMap locals:
StackMap stack:
43: aload 5
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
44: astore 6
aload 5
ifnonnull 45
aload 6
astore 5
goto 46
StackMap locals:
StackMap stack:
45: aload 5
aload 6
if_acmpeq 46
aload 5
aload 6
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
46: aload 5
athrow
47: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.debug:Lorg/graalvm/compiler/debug/DebugContext;
iconst_3
invokevirtual org.graalvm.compiler.debug.DebugContext.isDumpEnabled:(I)Z
ifeq 49
48: aload 0
ldc "After stack slot allocation"
invokevirtual org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.dumpIntervals:(Ljava/lang/String;)V
49: StackMap locals:
StackMap stack:
aconst_null
astore 5
aconst_null
astore 6
50: getstatic org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator.AssignSlotsTimer:Lorg/graalvm/compiler/debug/TimerKey;
aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.debug:Lorg/graalvm/compiler/debug/DebugContext;
invokeinterface org.graalvm.compiler.debug.TimerKey.start:(Lorg/graalvm/compiler/debug/DebugContext;)Lorg/graalvm/compiler/debug/DebugCloseable;
astore 7
start local 7 51: aload 0
aload 4
invokevirtual org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.assignStackSlots:(Ljdk/internal/vm/compiler/collections/EconomicSet;)V
52: aload 7
ifnull 58
aload 7
invokeinterface org.graalvm.compiler.debug.DebugCloseable.close:()V
goto 58
StackMap locals: org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator int long jdk.internal.vm.compiler.collections.EconomicSet java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugCloseable
StackMap stack: java.lang.Throwable
53: astore 5
aload 7
ifnull 54
aload 7
invokeinterface org.graalvm.compiler.debug.DebugCloseable.close:()V
end local 7 StackMap locals:
StackMap stack:
54: aload 5
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
55: astore 6
aload 5
ifnonnull 56
aload 6
astore 5
goto 57
StackMap locals:
StackMap stack:
56: aload 5
aload 6
if_acmpeq 57
aload 5
aload 6
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
57: aload 5
athrow
58: StackMap locals:
StackMap stack:
iload 1
ifeq 60
59: getstatic org.graalvm.compiler.lir.stackslotalloc.StackSlotAllocatorUtil.allocatedFramesize:Lorg/graalvm/compiler/debug/CounterKey;
aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.debug:Lorg/graalvm/compiler/debug/DebugContext;
aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.frameMapBuilder:Lorg/graalvm/compiler/lir/framemap/FrameMapBuilderTool;
invokevirtual org.graalvm.compiler.lir.framemap.FrameMapBuilderTool.getFrameMap:()Lorg/graalvm/compiler/lir/framemap/FrameMap;
invokevirtual org.graalvm.compiler.lir.framemap.FrameMap.currentFrameSize:()I
i2l
lload 2
lsub
invokeinterface org.graalvm.compiler.debug.CounterKey.add:(Lorg/graalvm/compiler/debug/DebugContext;J)V
60: StackMap locals:
StackMap stack:
return
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 61 0 this Lorg/graalvm/compiler/lir/stackslotalloc/LSStackSlotAllocator$Allocator;
2 61 1 allocationFramesizeEnabled Z
5 61 2 currentFrameSize J
10 11 4 usePos Ljdk/internal/vm/compiler/collections/EconomicSet<Lorg/graalvm/compiler/lir/LIRInstruction;>;
13 14 4 usePos Ljdk/internal/vm/compiler/collections/EconomicSet<Lorg/graalvm/compiler/lir/LIRInstruction;>;
18 19 4 usePos Ljdk/internal/vm/compiler/collections/EconomicSet<Lorg/graalvm/compiler/lir/LIRInstruction;>;
26 61 4 usePos Ljdk/internal/vm/compiler/collections/EconomicSet<Lorg/graalvm/compiler/lir/LIRInstruction;>;
7 22 7 s Lorg/graalvm/compiler/debug/DebugContext$Scope;
8 17 8 indent Lorg/graalvm/compiler/debug/Indent;
9 12 9 t Lorg/graalvm/compiler/debug/DebugCloseable;
29 32 7 t Lorg/graalvm/compiler/debug/DebugCloseable;
40 43 7 t Lorg/graalvm/compiler/debug/DebugCloseable;
51 54 7 t Lorg/graalvm/compiler/debug/DebugCloseable;
Exception table:
from to target type
9 10 11 any
8 13 14 any
7 18 19 any
6 23 23 any
29 30 31 any
28 33 33 any
40 41 42 any
39 44 44 any
51 52 53 any
50 55 55 any
private static int numberInstructions(org.graalvm.compiler.lir.LIR, org.graalvm.compiler.core.common.cfg.AbstractBlockBase<?>[]);
descriptor: (Lorg/graalvm/compiler/lir/LIR;[Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=12, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: iconst_0
istore 3
start local 3 2: aload 1
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 15
StackMap locals: org.graalvm.compiler.lir.LIR org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] int int top int int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[]
StackMap stack:
3: aload 7
iload 5
aaload
astore 4
start local 4 4: aload 0
aload 4
invokevirtual org.graalvm.compiler.lir.LIR.getLIRforBlock:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Ljava/util/ArrayList;
astore 8
start local 8 5: aload 8
invokevirtual java.util.ArrayList.size:()I
istore 9
start local 9 6: iconst_0
istore 10
start local 10 7: goto 13
8: StackMap locals: org.graalvm.compiler.lir.LIR org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] int int org.graalvm.compiler.core.common.cfg.AbstractBlockBase int int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] java.util.ArrayList int int
StackMap stack:
aload 8
iload 10
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast org.graalvm.compiler.lir.LIRInstruction
astore 11
start local 11 9: aload 11
iload 2
invokevirtual org.graalvm.compiler.lir.LIRInstruction.setId:(I)V
10: iinc 3 1
11: iinc 2 2
end local 11 12: iinc 10 1
StackMap locals:
StackMap stack:
13: iload 10
iload 9
if_icmplt 8
end local 10 end local 9 end local 8 end local 4 14: iinc 5 1
StackMap locals: org.graalvm.compiler.lir.LIR org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] int int top int int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[]
StackMap stack:
15: iload 5
iload 6
if_icmplt 3
16: getstatic org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.$assertionsDisabled:Z
ifne 17
iload 3
iconst_1
ishl
iload 2
if_icmpeq 17
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "must match: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 3
iconst_1
ishl
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
17: StackMap locals: org.graalvm.compiler.lir.LIR org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] int int
StackMap stack:
iload 2
iconst_2
isub
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 lir Lorg/graalvm/compiler/lir/LIR;
0 18 1 sortedBlocks [Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
1 18 2 opId I
2 18 3 index I
4 14 4 block Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
5 14 8 instructions Ljava/util/ArrayList<Lorg/graalvm/compiler/lir/LIRInstruction;>;
6 14 9 numInst I
7 14 10 j I
9 12 11 op Lorg/graalvm/compiler/lir/LIRInstruction;
Signature: (Lorg/graalvm/compiler/lir/LIR;[Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;)I
MethodParameters:
Name Flags
lir
sortedBlocks
private jdk.internal.vm.compiler.collections.EconomicSet<org.graalvm.compiler.lir.LIRInstruction> buildIntervals();
descriptor: ()Ljdk/internal/vm/compiler/collections/EconomicSet;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=1, args_size=1
start local 0 0: new org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder
dup
aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.lir:Lorg/graalvm/compiler/lir/LIR;
aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.stackSlotMap:[Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;
aload 0
invokevirtual org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.maxOpId:()I
invokespecial org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder.<init>:(Lorg/graalvm/compiler/lir/LIR;[Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;I)V
invokevirtual org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder.build:()Ljdk/internal/vm/compiler/collections/EconomicSet;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/lir/stackslotalloc/LSStackSlotAllocator$Allocator;
Signature: ()Ljdk/internal/vm/compiler/collections/EconomicSet<Lorg/graalvm/compiler/lir/LIRInstruction;>;
private boolean verifyIntervals();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.stackSlotMap:[Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 5
StackMap locals: org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator top int int org.graalvm.compiler.lir.stackslotalloc.StackInterval[]
StackMap stack:
1: aload 4
iload 2
aaload
astore 1
start local 1 2: aload 1
ifnull 4
3: getstatic org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.$assertionsDisabled:Z
ifne 4
aload 1
aload 0
invokevirtual org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.maxOpId:()I
invokevirtual org.graalvm.compiler.lir.stackslotalloc.StackInterval.verify:(I)Z
ifne 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
end local 1 4: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
iload 3
if_icmplt 1
6: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/graalvm/compiler/lir/stackslotalloc/LSStackSlotAllocator$Allocator;
2 4 1 interval Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;
private void allocateStackSlots();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.stackSlotMap:[Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 5
StackMap locals: org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator top int int org.graalvm.compiler.lir.stackslotalloc.StackInterval[]
StackMap stack:
1: aload 4
iload 2
aaload
astore 1
start local 1 2: aload 1
ifnull 4
3: aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.unhandled:Ljava/util/PriorityQueue;
aload 1
invokevirtual java.util.PriorityQueue.add:(Ljava/lang/Object;)Z
pop
end local 1 4: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
iload 3
if_icmplt 1
6: aload 0
invokevirtual org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.activateNext:()Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;
astore 1
start local 1 7: goto 18
8: StackMap locals: org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator org.graalvm.compiler.lir.stackslotalloc.StackInterval
StackMap stack:
aconst_null
astore 2
aconst_null
astore 3
9: aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.debug:Lorg/graalvm/compiler/debug/DebugContext;
ldc "allocate %s"
aload 1
invokevirtual org.graalvm.compiler.debug.DebugContext.logAndIndent:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/debug/Indent;
astore 4
start local 4 10: aload 0
aload 1
invokevirtual org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.allocateSlot:(Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;)V
11: aload 4
ifnull 17
aload 4
invokeinterface org.graalvm.compiler.debug.Indent.close:()V
goto 17
StackMap locals: org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator org.graalvm.compiler.lir.stackslotalloc.StackInterval java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent
StackMap stack: java.lang.Throwable
12: astore 2
aload 4
ifnull 13
aload 4
invokeinterface org.graalvm.compiler.debug.Indent.close:()V
end local 4 StackMap locals:
StackMap stack:
13: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
14: astore 3
aload 2
ifnonnull 15
aload 3
astore 2
goto 16
StackMap locals:
StackMap stack:
15: aload 2
aload 3
if_acmpeq 16
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
16: aload 2
athrow
17: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.activateNext:()Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;
astore 1
StackMap locals:
StackMap stack:
18: aload 1
ifnonnull 8
end local 1 19: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/graalvm/compiler/lir/stackslotalloc/LSStackSlotAllocator$Allocator;
2 4 1 interval Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;
7 19 1 current Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;
10 13 4 indent Lorg/graalvm/compiler/debug/Indent;
Exception table:
from to target type
10 11 12 any
9 14 14 any
private void allocateSlot(org.graalvm.compiler.lir.stackslotalloc.StackInterval);
descriptor: (Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.graalvm.compiler.lir.stackslotalloc.StackInterval.getOperand:()Lorg/graalvm/compiler/lir/VirtualStackSlot;
astore 2
start local 2 1: aload 2
instanceof org.graalvm.compiler.lir.framemap.VirtualStackSlotRange
ifeq 7
2: aload 2
checkcast org.graalvm.compiler.lir.framemap.VirtualStackSlotRange
astore 4
start local 4 3: aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.frameMapBuilder:Lorg/graalvm/compiler/lir/framemap/FrameMapBuilderTool;
invokevirtual org.graalvm.compiler.lir.framemap.FrameMapBuilderTool.getFrameMap:()Lorg/graalvm/compiler/lir/framemap/FrameMap;
aload 4
invokevirtual org.graalvm.compiler.lir.framemap.VirtualStackSlotRange.getSlots:()I
aload 4
invokevirtual org.graalvm.compiler.lir.framemap.VirtualStackSlotRange.getObjects:()Ljava/util/BitSet;
invokevirtual org.graalvm.compiler.lir.framemap.FrameMap.allocateStackSlots:(ILjava/util/BitSet;)Ljdk/vm/ci/code/StackSlot;
astore 3
start local 3 4: getstatic org.graalvm.compiler.lir.stackslotalloc.StackSlotAllocatorUtil.virtualFramesize:Lorg/graalvm/compiler/debug/CounterKey;
aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.debug:Lorg/graalvm/compiler/debug/DebugContext;
aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.frameMapBuilder:Lorg/graalvm/compiler/lir/framemap/FrameMapBuilderTool;
invokevirtual org.graalvm.compiler.lir.framemap.FrameMapBuilderTool.getFrameMap:()Lorg/graalvm/compiler/lir/framemap/FrameMap;
aload 4
invokevirtual org.graalvm.compiler.lir.framemap.VirtualStackSlotRange.getSlots:()I
invokevirtual org.graalvm.compiler.lir.framemap.FrameMap.spillSlotRangeSize:(I)I
i2l
invokeinterface org.graalvm.compiler.debug.CounterKey.add:(Lorg/graalvm/compiler/debug/DebugContext;J)V
5: getstatic org.graalvm.compiler.lir.stackslotalloc.StackSlotAllocatorUtil.allocatedSlots:Lorg/graalvm/compiler/debug/CounterKey;
aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.debug:Lorg/graalvm/compiler/debug/DebugContext;
invokeinterface org.graalvm.compiler.debug.CounterKey.increment:(Lorg/graalvm/compiler/debug/DebugContext;)V
end local 4 6: goto 18
end local 3 7: StackMap locals: org.graalvm.compiler.lir.VirtualStackSlot
StackMap stack:
getstatic org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.$assertionsDisabled:Z
ifne 8
aload 2
instanceof org.graalvm.compiler.lir.framemap.SimpleVirtualStackSlot
ifne 8
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Unexpected VirtualStackSlot type: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
8: StackMap locals:
StackMap stack:
aload 0
aload 2
checkcast org.graalvm.compiler.lir.framemap.SimpleVirtualStackSlot
invokevirtual org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.findFreeSlot:(Lorg/graalvm/compiler/lir/framemap/SimpleVirtualStackSlot;)Ljdk/vm/ci/code/StackSlot;
astore 4
start local 4 9: aload 4
ifnull 14
10: aload 1
invokevirtual org.graalvm.compiler.lir.stackslotalloc.StackInterval.kind:()Ljdk/vm/ci/meta/ValueKind;
aload 4
invokevirtual jdk.vm.ci.code.StackSlot.getRawOffset:()I
aload 4
invokevirtual jdk.vm.ci.code.StackSlot.getRawAddFrameSize:()Z
invokestatic jdk.vm.ci.code.StackSlot.get:(Ljdk/vm/ci/meta/ValueKind;IZ)Ljdk/vm/ci/code/StackSlot;
astore 3
start local 3 11: getstatic org.graalvm.compiler.lir.stackslotalloc.StackSlotAllocatorUtil.reusedSlots:Lorg/graalvm/compiler/debug/CounterKey;
aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.debug:Lorg/graalvm/compiler/debug/DebugContext;
invokeinterface org.graalvm.compiler.debug.CounterKey.increment:(Lorg/graalvm/compiler/debug/DebugContext;)V
12: aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.debug:Lorg/graalvm/compiler/debug/DebugContext;
iconst_1
ldc "Reuse stack slot %s (reallocated from %s) for virtual stack slot %s"
aload 3
aload 4
aload 2
invokevirtual org.graalvm.compiler.debug.DebugContext.log:(ILjava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V
13: goto 18
end local 3 14: StackMap locals: org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator org.graalvm.compiler.lir.stackslotalloc.StackInterval org.graalvm.compiler.lir.VirtualStackSlot top jdk.vm.ci.code.StackSlot
StackMap stack:
aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.frameMapBuilder:Lorg/graalvm/compiler/lir/framemap/FrameMapBuilderTool;
invokevirtual org.graalvm.compiler.lir.framemap.FrameMapBuilderTool.getFrameMap:()Lorg/graalvm/compiler/lir/framemap/FrameMap;
aload 2
invokevirtual org.graalvm.compiler.lir.VirtualStackSlot.getValueKind:()Ljdk/vm/ci/meta/ValueKind;
invokevirtual org.graalvm.compiler.lir.framemap.FrameMap.allocateSpillSlot:(Ljdk/vm/ci/meta/ValueKind;)Ljdk/vm/ci/code/StackSlot;
astore 3
start local 3 15: getstatic org.graalvm.compiler.lir.stackslotalloc.StackSlotAllocatorUtil.virtualFramesize:Lorg/graalvm/compiler/debug/CounterKey;
aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.debug:Lorg/graalvm/compiler/debug/DebugContext;
aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.frameMapBuilder:Lorg/graalvm/compiler/lir/framemap/FrameMapBuilderTool;
invokevirtual org.graalvm.compiler.lir.framemap.FrameMapBuilderTool.getFrameMap:()Lorg/graalvm/compiler/lir/framemap/FrameMap;
aload 2
invokevirtual org.graalvm.compiler.lir.VirtualStackSlot.getValueKind:()Ljdk/vm/ci/meta/ValueKind;
invokevirtual org.graalvm.compiler.lir.framemap.FrameMap.spillSlotSize:(Ljdk/vm/ci/meta/ValueKind;)I
i2l
invokeinterface org.graalvm.compiler.debug.CounterKey.add:(Lorg/graalvm/compiler/debug/DebugContext;J)V
16: getstatic org.graalvm.compiler.lir.stackslotalloc.StackSlotAllocatorUtil.allocatedSlots:Lorg/graalvm/compiler/debug/CounterKey;
aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.debug:Lorg/graalvm/compiler/debug/DebugContext;
invokeinterface org.graalvm.compiler.debug.CounterKey.increment:(Lorg/graalvm/compiler/debug/DebugContext;)V
17: aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.debug:Lorg/graalvm/compiler/debug/DebugContext;
iconst_1
ldc "New stack slot %s for virtual stack slot %s"
aload 3
aload 2
invokevirtual org.graalvm.compiler.debug.DebugContext.log:(ILjava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
end local 4 18: StackMap locals: org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator org.graalvm.compiler.lir.stackslotalloc.StackInterval org.graalvm.compiler.lir.VirtualStackSlot jdk.vm.ci.code.StackSlot
StackMap stack:
aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.debug:Lorg/graalvm/compiler/debug/DebugContext;
ldc "Allocate location %s for interval %s"
aload 3
aload 1
invokevirtual org.graalvm.compiler.debug.DebugContext.log:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
19: aload 1
aload 3
invokevirtual org.graalvm.compiler.lir.stackslotalloc.StackInterval.setLocation:(Ljdk/vm/ci/code/StackSlot;)V
20: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/graalvm/compiler/lir/stackslotalloc/LSStackSlotAllocator$Allocator;
0 21 1 current Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;
1 21 2 virtualSlot Lorg/graalvm/compiler/lir/VirtualStackSlot;
4 7 3 location Ljdk/vm/ci/code/StackSlot;
11 14 3 location Ljdk/vm/ci/code/StackSlot;
15 21 3 location Ljdk/vm/ci/code/StackSlot;
3 6 4 slotRange Lorg/graalvm/compiler/lir/framemap/VirtualStackSlotRange;
9 18 4 slot Ljdk/vm/ci/code/StackSlot;
MethodParameters:
Name Flags
current
private org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator$SlotSize forKind(jdk.vm.ci.meta.ValueKind<?>);
descriptor: (Ljdk/vm/ci/meta/ValueKind;)Lorg/graalvm/compiler/lir/stackslotalloc/LSStackSlotAllocator$Allocator$SlotSize;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.frameMapBuilder:Lorg/graalvm/compiler/lir/framemap/FrameMapBuilderTool;
invokevirtual org.graalvm.compiler.lir.framemap.FrameMapBuilderTool.getFrameMap:()Lorg/graalvm/compiler/lir/framemap/FrameMap;
aload 1
invokevirtual org.graalvm.compiler.lir.framemap.FrameMap.spillSlotSize:(Ljdk/vm/ci/meta/ValueKind;)I
tableswitch { // 1 - 8
1: 1
2: 2
3: 5
4: 3
5: 5
6: 5
7: 5
8: 4
default: 5
}
1: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator$SlotSize.Size1:Lorg/graalvm/compiler/lir/stackslotalloc/LSStackSlotAllocator$Allocator$SlotSize;
areturn
2: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator$SlotSize.Size2:Lorg/graalvm/compiler/lir/stackslotalloc/LSStackSlotAllocator$Allocator$SlotSize;
areturn
3: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator$SlotSize.Size4:Lorg/graalvm/compiler/lir/stackslotalloc/LSStackSlotAllocator$Allocator$SlotSize;
areturn
4: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator$SlotSize.Size8:Lorg/graalvm/compiler/lir/stackslotalloc/LSStackSlotAllocator$Allocator$SlotSize;
areturn
5: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator$SlotSize.Illegal:Lorg/graalvm/compiler/lir/stackslotalloc/LSStackSlotAllocator$Allocator$SlotSize;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/compiler/lir/stackslotalloc/LSStackSlotAllocator$Allocator;
0 6 1 kind Ljdk/vm/ci/meta/ValueKind<*>;
Signature: (Ljdk/vm/ci/meta/ValueKind<*>;)Lorg/graalvm/compiler/lir/stackslotalloc/LSStackSlotAllocator$Allocator$SlotSize;
MethodParameters:
Name Flags
kind
private java.util.Deque<jdk.vm.ci.code.StackSlot> getOrNullFreeSlots(org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator$SlotSize);
descriptor: (Lorg/graalvm/compiler/lir/stackslotalloc/LSStackSlotAllocator$Allocator$SlotSize;)Ljava/util/Deque;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.freeSlots:Ljava/util/EnumMap;
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.freeSlots:Ljava/util/EnumMap;
aload 1
invokevirtual java.util.EnumMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Deque
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/lir/stackslotalloc/LSStackSlotAllocator$Allocator;
0 3 1 size Lorg/graalvm/compiler/lir/stackslotalloc/LSStackSlotAllocator$Allocator$SlotSize;
Signature: (Lorg/graalvm/compiler/lir/stackslotalloc/LSStackSlotAllocator$Allocator$SlotSize;)Ljava/util/Deque<Ljdk/vm/ci/code/StackSlot;>;
MethodParameters:
Name Flags
size
private java.util.Deque<jdk.vm.ci.code.StackSlot> getOrInitFreeSlots(org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator$SlotSize);
descriptor: (Lorg/graalvm/compiler/lir/stackslotalloc/LSStackSlotAllocator$Allocator$SlotSize;)Ljava/util/Deque;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.$assertionsDisabled:Z
ifne 1
aload 1
getstatic org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator$SlotSize.Illegal:Lorg/graalvm/compiler/lir/stackslotalloc/LSStackSlotAllocator$Allocator$SlotSize;
if_acmpne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.freeSlots:Ljava/util/EnumMap;
ifnull 4
2: aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.freeSlots:Ljava/util/EnumMap;
aload 1
invokevirtual java.util.EnumMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Deque
astore 2
start local 2 3: goto 6
end local 2 4: StackMap locals:
StackMap stack:
aload 0
new java.util.EnumMap
dup
ldc Lorg/graalvm/compiler/lir/stackslotalloc/LSStackSlotAllocator$Allocator$SlotSize;
invokespecial java.util.EnumMap.<init>:(Ljava/lang/Class;)V
putfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.freeSlots:Ljava/util/EnumMap;
5: aconst_null
astore 2
start local 2 6: StackMap locals: java.util.Deque
StackMap stack:
aload 2
ifnonnull 9
7: new java.util.ArrayDeque
dup
invokespecial java.util.ArrayDeque.<init>:()V
astore 2
8: aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.freeSlots:Ljava/util/EnumMap;
aload 1
aload 2
invokevirtual java.util.EnumMap.put:(Ljava/lang/Enum;Ljava/lang/Object;)Ljava/lang/Object;
pop
9: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.$assertionsDisabled:Z
ifne 10
aload 2
ifnonnull 10
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
10: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/graalvm/compiler/lir/stackslotalloc/LSStackSlotAllocator$Allocator;
0 11 1 size Lorg/graalvm/compiler/lir/stackslotalloc/LSStackSlotAllocator$Allocator$SlotSize;
3 4 2 freeList Ljava/util/Deque<Ljdk/vm/ci/code/StackSlot;>;
6 11 2 freeList Ljava/util/Deque<Ljdk/vm/ci/code/StackSlot;>;
Signature: (Lorg/graalvm/compiler/lir/stackslotalloc/LSStackSlotAllocator$Allocator$SlotSize;)Ljava/util/Deque<Ljdk/vm/ci/code/StackSlot;>;
MethodParameters:
Name Flags
size
private jdk.vm.ci.code.StackSlot findFreeSlot(org.graalvm.compiler.lir.framemap.SimpleVirtualStackSlot);
descriptor: (Lorg/graalvm/compiler/lir/framemap/SimpleVirtualStackSlot;)Ljdk/vm/ci/code/StackSlot;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.$assertionsDisabled:Z
ifne 1
aload 1
ifnonnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.graalvm.compiler.lir.framemap.SimpleVirtualStackSlot.getValueKind:()Ljdk/vm/ci/meta/ValueKind;
invokevirtual org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.forKind:(Ljdk/vm/ci/meta/ValueKind;)Lorg/graalvm/compiler/lir/stackslotalloc/LSStackSlotAllocator$Allocator$SlotSize;
astore 2
start local 2 2: aload 2
getstatic org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator$SlotSize.Illegal:Lorg/graalvm/compiler/lir/stackslotalloc/LSStackSlotAllocator$Allocator$SlotSize;
if_acmpne 4
3: aconst_null
areturn
4: StackMap locals: org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator$SlotSize
StackMap stack:
aload 0
aload 2
invokevirtual org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.getOrNullFreeSlots:(Lorg/graalvm/compiler/lir/stackslotalloc/LSStackSlotAllocator$Allocator$SlotSize;)Ljava/util/Deque;
astore 3
start local 3 5: aload 3
ifnonnull 7
6: aconst_null
areturn
7: StackMap locals: java.util.Deque
StackMap stack:
aload 3
invokeinterface java.util.Deque.pollLast:()Ljava/lang/Object;
checkcast jdk.vm.ci.code.StackSlot
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/graalvm/compiler/lir/stackslotalloc/LSStackSlotAllocator$Allocator;
0 8 1 slot Lorg/graalvm/compiler/lir/framemap/SimpleVirtualStackSlot;
2 8 2 size Lorg/graalvm/compiler/lir/stackslotalloc/LSStackSlotAllocator$Allocator$SlotSize;
5 8 3 freeList Ljava/util/Deque<Ljdk/vm/ci/code/StackSlot;>;
MethodParameters:
Name Flags
slot
private void freeSlot(jdk.vm.ci.code.StackSlot);
descriptor: (Ljdk/vm/ci/code/StackSlot;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual jdk.vm.ci.code.StackSlot.getValueKind:()Ljdk/vm/ci/meta/ValueKind;
invokevirtual org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.forKind:(Ljdk/vm/ci/meta/ValueKind;)Lorg/graalvm/compiler/lir/stackslotalloc/LSStackSlotAllocator$Allocator$SlotSize;
astore 2
start local 2 1: aload 2
getstatic org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator$SlotSize.Illegal:Lorg/graalvm/compiler/lir/stackslotalloc/LSStackSlotAllocator$Allocator$SlotSize;
if_acmpne 3
2: return
3: StackMap locals: org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator$SlotSize
StackMap stack:
aload 0
aload 2
invokevirtual org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.getOrInitFreeSlots:(Lorg/graalvm/compiler/lir/stackslotalloc/LSStackSlotAllocator$Allocator$SlotSize;)Ljava/util/Deque;
aload 1
invokeinterface java.util.Deque.addLast:(Ljava/lang/Object;)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/lir/stackslotalloc/LSStackSlotAllocator$Allocator;
0 5 1 slot Ljdk/vm/ci/code/StackSlot;
1 5 2 size Lorg/graalvm/compiler/lir/stackslotalloc/LSStackSlotAllocator$Allocator$SlotSize;
MethodParameters:
Name Flags
slot
private org.graalvm.compiler.lir.stackslotalloc.StackInterval activateNext();
descriptor: ()Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.unhandled:Ljava/util/PriorityQueue;
invokevirtual java.util.PriorityQueue.isEmpty:()Z
ifeq 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.unhandled:Ljava/util/PriorityQueue;
invokevirtual java.util.PriorityQueue.poll:()Ljava/lang/Object;
checkcast org.graalvm.compiler.lir.stackslotalloc.StackInterval
astore 1
start local 1 3: aload 1
invokevirtual org.graalvm.compiler.lir.stackslotalloc.StackInterval.from:()I
istore 2
start local 2 4: goto 6
5: StackMap locals: org.graalvm.compiler.lir.stackslotalloc.StackInterval int
StackMap stack:
aload 0
aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.active:Ljava/util/PriorityQueue;
invokevirtual java.util.PriorityQueue.poll:()Ljava/lang/Object;
checkcast org.graalvm.compiler.lir.stackslotalloc.StackInterval
invokevirtual org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.finished:(Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;)V
6: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.activePeekId:()I
iload 2
if_icmplt 5
end local 2 7: aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.debug:Lorg/graalvm/compiler/debug/DebugContext;
ldc "active %s"
aload 1
invokevirtual org.graalvm.compiler.debug.DebugContext.log:(Ljava/lang/String;Ljava/lang/Object;)V
8: aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.active:Ljava/util/PriorityQueue;
aload 1
invokevirtual java.util.PriorityQueue.add:(Ljava/lang/Object;)Z
pop
9: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/graalvm/compiler/lir/stackslotalloc/LSStackSlotAllocator$Allocator;
3 10 1 next Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;
4 7 2 id I
private int activePeekId();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.active:Ljava/util/PriorityQueue;
invokevirtual java.util.PriorityQueue.peek:()Ljava/lang/Object;
checkcast org.graalvm.compiler.lir.stackslotalloc.StackInterval
astore 1
start local 1 1: aload 1
ifnonnull 3
2: ldc 2147483647
ireturn
3: StackMap locals: org.graalvm.compiler.lir.stackslotalloc.StackInterval
StackMap stack:
aload 1
invokevirtual org.graalvm.compiler.lir.stackslotalloc.StackInterval.to:()I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/lir/stackslotalloc/LSStackSlotAllocator$Allocator;
1 4 1 first Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;
private void finished(org.graalvm.compiler.lir.stackslotalloc.StackInterval);
descriptor: (Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.graalvm.compiler.lir.stackslotalloc.StackInterval.location:()Ljdk/vm/ci/code/StackSlot;
astore 2
start local 2 1: aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.debug:Lorg/graalvm/compiler/debug/DebugContext;
ldc "finished %s (freeing %s)"
aload 1
aload 2
invokevirtual org.graalvm.compiler.debug.DebugContext.log:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
2: aload 0
aload 2
invokevirtual org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.freeSlot:(Ljdk/vm/ci/code/StackSlot;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/lir/stackslotalloc/LSStackSlotAllocator$Allocator;
0 4 1 interval Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;
1 4 2 location Ljdk/vm/ci/code/StackSlot;
MethodParameters:
Name Flags
interval
private void assignStackSlots(jdk.internal.vm.compiler.collections.EconomicSet<org.graalvm.compiler.lir.LIRInstruction>);
descriptor: (Ljdk/internal/vm/compiler/collections/EconomicSet;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface jdk.internal.vm.compiler.collections.EconomicSet.iterator:()Ljava/util/Iterator;
astore 3
goto 7
StackMap locals: org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator jdk.internal.vm.compiler.collections.EconomicSet top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.lir.LIRInstruction
astore 2
start local 2 2: aload 2
aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.assignSlot:Lorg/graalvm/compiler/lir/ValueProcedure;
invokevirtual org.graalvm.compiler.lir.LIRInstruction.forEachInput:(Lorg/graalvm/compiler/lir/ValueProcedure;)V
3: aload 2
aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.assignSlot:Lorg/graalvm/compiler/lir/ValueProcedure;
invokevirtual org.graalvm.compiler.lir.LIRInstruction.forEachAlive:(Lorg/graalvm/compiler/lir/ValueProcedure;)V
4: aload 2
aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.assignSlot:Lorg/graalvm/compiler/lir/ValueProcedure;
invokevirtual org.graalvm.compiler.lir.LIRInstruction.forEachState:(Lorg/graalvm/compiler/lir/ValueProcedure;)V
5: aload 2
aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.assignSlot:Lorg/graalvm/compiler/lir/ValueProcedure;
invokevirtual org.graalvm.compiler.lir.LIRInstruction.forEachTemp:(Lorg/graalvm/compiler/lir/ValueProcedure;)V
6: aload 2
aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.assignSlot:Lorg/graalvm/compiler/lir/ValueProcedure;
invokevirtual org.graalvm.compiler.lir.LIRInstruction.forEachOutput:(Lorg/graalvm/compiler/lir/ValueProcedure;)V
end local 2 7: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/graalvm/compiler/lir/stackslotalloc/LSStackSlotAllocator$Allocator;
0 9 1 usePos Ljdk/internal/vm/compiler/collections/EconomicSet<Lorg/graalvm/compiler/lir/LIRInstruction;>;
2 7 2 op Lorg/graalvm/compiler/lir/LIRInstruction;
Signature: (Ljdk/internal/vm/compiler/collections/EconomicSet<Lorg/graalvm/compiler/lir/LIRInstruction;>;)V
MethodParameters:
Name Flags
usePos
private int maxOpId();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.maxOpId:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/lir/stackslotalloc/LSStackSlotAllocator$Allocator;
private org.graalvm.compiler.lir.stackslotalloc.StackInterval get(org.graalvm.compiler.lir.VirtualStackSlot);
descriptor: (Lorg/graalvm/compiler/lir/VirtualStackSlot;)Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.stackSlotMap:[Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;
aload 1
invokevirtual org.graalvm.compiler.lir.VirtualStackSlot.getId:()I
aaload
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/lir/stackslotalloc/LSStackSlotAllocator$Allocator;
0 1 1 stackSlot Lorg/graalvm/compiler/lir/VirtualStackSlot;
MethodParameters:
Name Flags
stackSlot
private void dumpIntervals(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.debug:Lorg/graalvm/compiler/debug/DebugContext;
iconst_3
new org.graalvm.compiler.lir.stackslotalloc.StackIntervalDumper
dup
aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.stackSlotMap:[Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;
aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator.stackSlotMap:[Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;
arraylength
invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;I)[Ljava/lang/Object;
checkcast org.graalvm.compiler.lir.stackslotalloc.StackInterval[]
invokespecial org.graalvm.compiler.lir.stackslotalloc.StackIntervalDumper.<init>:([Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;)V
aload 1
invokevirtual org.graalvm.compiler.debug.DebugContext.dump:(ILjava/lang/Object;Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/lir/stackslotalloc/LSStackSlotAllocator$Allocator;
0 2 1 label Ljava/lang/String;
MethodParameters:
Name Flags
label
private static int lambda$0(org.graalvm.compiler.lir.stackslotalloc.StackInterval, org.graalvm.compiler.lir.stackslotalloc.StackInterval);
descriptor: (Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;)I
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.graalvm.compiler.lir.stackslotalloc.StackInterval.from:()I
aload 1
invokevirtual org.graalvm.compiler.lir.stackslotalloc.StackInterval.from:()I
isub
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 a Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;
0 1 1 b Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;
private static int lambda$1(org.graalvm.compiler.lir.stackslotalloc.StackInterval, org.graalvm.compiler.lir.stackslotalloc.StackInterval);
descriptor: (Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;)I
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.graalvm.compiler.lir.stackslotalloc.StackInterval.to:()I
aload 1
invokevirtual org.graalvm.compiler.lir.stackslotalloc.StackInterval.to:()I
isub
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 a Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;
0 1 1 b Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;
}
SourceFile: "LSStackSlotAllocator.java"
NestHost: org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Scope = org.graalvm.compiler.debug.DebugContext$Scope of org.graalvm.compiler.debug.DebugContext
private final Allocator = org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator of org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator
org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator$1
private final SlotSize = org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator$SlotSize of org.graalvm.compiler.lir.stackslotalloc.LSStackSlotAllocator$Allocator