class org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl implements org.graalvm.compiler.nodes.spi.VirtualizerTool, org.graalvm.compiler.graph.spi.CanonicalizerTool
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl
super_class: java.lang.Object
{
private final jdk.vm.ci.meta.MetaAccessProvider metaAccess;
descriptor: Ljdk/vm/ci/meta/MetaAccessProvider;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.vm.ci.meta.ConstantReflectionProvider constantReflection;
descriptor: Ljdk/vm/ci/meta/ConstantReflectionProvider;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.core.common.spi.ConstantFieldProvider constantFieldProvider;
descriptor: Lorg/graalvm/compiler/core/common/spi/ConstantFieldProvider;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.virtual.phases.ea.PartialEscapeClosure<?> closure;
descriptor: Lorg/graalvm/compiler/virtual/phases/ea/PartialEscapeClosure;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/graalvm/compiler/virtual/phases/ea/PartialEscapeClosure<*>;
private final jdk.vm.ci.meta.Assumptions assumptions;
descriptor: Ljdk/vm/ci/meta/Assumptions;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.options.OptionValues options;
descriptor: Lorg/graalvm/compiler/options/OptionValues;
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.nodes.spi.LoweringProvider loweringProvider;
descriptor: Lorg/graalvm/compiler/nodes/spi/LoweringProvider;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private org.graalvm.compiler.nodes.ConstantNode illegalConstant;
descriptor: Lorg/graalvm/compiler/nodes/ConstantNode;
flags: (0x0002) ACC_PRIVATE
private boolean deleted;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private org.graalvm.compiler.virtual.phases.ea.PartialEscapeBlockState<?> state;
descriptor: Lorg/graalvm/compiler/virtual/phases/ea/PartialEscapeBlockState;
flags: (0x0002) ACC_PRIVATE
Signature: Lorg/graalvm/compiler/virtual/phases/ea/PartialEscapeBlockState<*>;
private org.graalvm.compiler.nodes.ValueNode current;
descriptor: Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x0002) ACC_PRIVATE
private org.graalvm.compiler.nodes.FixedNode position;
descriptor: Lorg/graalvm/compiler/nodes/FixedNode;
flags: (0x0002) ACC_PRIVATE
private org.graalvm.compiler.virtual.phases.ea.GraphEffectList effects;
descriptor: Lorg/graalvm/compiler/virtual/phases/ea/GraphEffectList;
flags: (0x0002) ACC_PRIVATE
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/virtual/phases/ea/VirtualizerToolImpl;
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.virtual.phases.ea.VirtualizerToolImpl.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(jdk.vm.ci.meta.MetaAccessProvider, jdk.vm.ci.meta.ConstantReflectionProvider, org.graalvm.compiler.core.common.spi.ConstantFieldProvider, org.graalvm.compiler.virtual.phases.ea.PartialEscapeClosure<?>, jdk.vm.ci.meta.Assumptions, org.graalvm.compiler.options.OptionValues, org.graalvm.compiler.debug.DebugContext, org.graalvm.compiler.nodes.spi.LoweringProvider);
descriptor: (Ljdk/vm/ci/meta/MetaAccessProvider;Ljdk/vm/ci/meta/ConstantReflectionProvider;Lorg/graalvm/compiler/core/common/spi/ConstantFieldProvider;Lorg/graalvm/compiler/virtual/phases/ea/PartialEscapeClosure;Ljdk/vm/ci/meta/Assumptions;Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/debug/DebugContext;Lorg/graalvm/compiler/nodes/spi/LoweringProvider;)V
flags: (0x0000)
Code:
stack=2, locals=9, args_size=9
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.metaAccess:Ljdk/vm/ci/meta/MetaAccessProvider;
2: aload 0
aload 2
putfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.constantReflection:Ljdk/vm/ci/meta/ConstantReflectionProvider;
3: aload 0
aload 3
putfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.constantFieldProvider:Lorg/graalvm/compiler/core/common/spi/ConstantFieldProvider;
4: aload 0
aload 4
putfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.closure:Lorg/graalvm/compiler/virtual/phases/ea/PartialEscapeClosure;
5: aload 0
aload 5
putfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.assumptions:Ljdk/vm/ci/meta/Assumptions;
6: aload 0
aload 6
putfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.options:Lorg/graalvm/compiler/options/OptionValues;
7: aload 0
aload 7
putfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.debug:Lorg/graalvm/compiler/debug/DebugContext;
8: aload 0
aload 8
putfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.loweringProvider:Lorg/graalvm/compiler/nodes/spi/LoweringProvider;
9: return
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/graalvm/compiler/virtual/phases/ea/VirtualizerToolImpl;
0 10 1 metaAccess Ljdk/vm/ci/meta/MetaAccessProvider;
0 10 2 constantReflection Ljdk/vm/ci/meta/ConstantReflectionProvider;
0 10 3 constantFieldProvider Lorg/graalvm/compiler/core/common/spi/ConstantFieldProvider;
0 10 4 closure Lorg/graalvm/compiler/virtual/phases/ea/PartialEscapeClosure<*>;
0 10 5 assumptions Ljdk/vm/ci/meta/Assumptions;
0 10 6 options Lorg/graalvm/compiler/options/OptionValues;
0 10 7 debug Lorg/graalvm/compiler/debug/DebugContext;
0 10 8 loweringProvider Lorg/graalvm/compiler/nodes/spi/LoweringProvider;
Signature: (Ljdk/vm/ci/meta/MetaAccessProvider;Ljdk/vm/ci/meta/ConstantReflectionProvider;Lorg/graalvm/compiler/core/common/spi/ConstantFieldProvider;Lorg/graalvm/compiler/virtual/phases/ea/PartialEscapeClosure<*>;Ljdk/vm/ci/meta/Assumptions;Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/debug/DebugContext;Lorg/graalvm/compiler/nodes/spi/LoweringProvider;)V
MethodParameters:
Name Flags
metaAccess
constantReflection
constantFieldProvider
closure
assumptions
options
debug
loweringProvider
public org.graalvm.compiler.options.OptionValues getOptions();
descriptor: ()Lorg/graalvm/compiler/options/OptionValues;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.options:Lorg/graalvm/compiler/options/OptionValues;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/virtual/phases/ea/VirtualizerToolImpl;
public org.graalvm.compiler.debug.DebugContext getDebug();
descriptor: ()Lorg/graalvm/compiler/debug/DebugContext;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.debug:Lorg/graalvm/compiler/debug/DebugContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/virtual/phases/ea/VirtualizerToolImpl;
public org.graalvm.compiler.core.common.spi.ConstantFieldProvider getConstantFieldProvider();
descriptor: ()Lorg/graalvm/compiler/core/common/spi/ConstantFieldProvider;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.constantFieldProvider:Lorg/graalvm/compiler/core/common/spi/ConstantFieldProvider;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/virtual/phases/ea/VirtualizerToolImpl;
public void reset(org.graalvm.compiler.virtual.phases.ea.PartialEscapeBlockState<?>, org.graalvm.compiler.nodes.ValueNode, org.graalvm.compiler.nodes.FixedNode, org.graalvm.compiler.virtual.phases.ea.GraphEffectList);
descriptor: (Lorg/graalvm/compiler/virtual/phases/ea/PartialEscapeBlockState;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/FixedNode;Lorg/graalvm/compiler/virtual/phases/ea/GraphEffectList;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
iconst_0
putfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.deleted:Z
1: aload 0
aload 1
putfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.state:Lorg/graalvm/compiler/virtual/phases/ea/PartialEscapeBlockState;
2: aload 0
aload 2
putfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.current:Lorg/graalvm/compiler/nodes/ValueNode;
3: aload 0
aload 3
putfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.position:Lorg/graalvm/compiler/nodes/FixedNode;
4: aload 0
aload 4
putfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.effects:Lorg/graalvm/compiler/virtual/phases/ea/GraphEffectList;
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/compiler/virtual/phases/ea/VirtualizerToolImpl;
0 6 1 newState Lorg/graalvm/compiler/virtual/phases/ea/PartialEscapeBlockState<*>;
0 6 2 newCurrent Lorg/graalvm/compiler/nodes/ValueNode;
0 6 3 newPosition Lorg/graalvm/compiler/nodes/FixedNode;
0 6 4 newEffects Lorg/graalvm/compiler/virtual/phases/ea/GraphEffectList;
Signature: (Lorg/graalvm/compiler/virtual/phases/ea/PartialEscapeBlockState<*>;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/FixedNode;Lorg/graalvm/compiler/virtual/phases/ea/GraphEffectList;)V
MethodParameters:
Name Flags
newState
newCurrent
newPosition
newEffects
public boolean isDeleted();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.deleted:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/virtual/phases/ea/VirtualizerToolImpl;
public org.graalvm.compiler.nodes.ValueNode getAlias(org.graalvm.compiler.nodes.ValueNode);
descriptor: (Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.closure:Lorg/graalvm/compiler/virtual/phases/ea/PartialEscapeClosure;
aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.state:Lorg/graalvm/compiler/virtual/phases/ea/PartialEscapeBlockState;
aload 1
invokevirtual org.graalvm.compiler.virtual.phases.ea.PartialEscapeClosure.getAliasAndResolve:(Lorg/graalvm/compiler/virtual/phases/ea/PartialEscapeBlockState;Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/virtual/phases/ea/VirtualizerToolImpl;
0 1 1 value Lorg/graalvm/compiler/nodes/ValueNode;
MethodParameters:
Name Flags
value
public org.graalvm.compiler.nodes.ValueNode getEntry(org.graalvm.compiler.nodes.virtual.VirtualObjectNode, int);
descriptor: (Lorg/graalvm/compiler/nodes/virtual/VirtualObjectNode;I)Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.state:Lorg/graalvm/compiler/virtual/phases/ea/PartialEscapeBlockState;
aload 1
invokevirtual org.graalvm.compiler.virtual.phases.ea.PartialEscapeBlockState.getObjectState:(Lorg/graalvm/compiler/nodes/virtual/VirtualObjectNode;)Lorg/graalvm/compiler/virtual/phases/ea/ObjectState;
iload 2
invokevirtual org.graalvm.compiler.virtual.phases.ea.ObjectState.getEntry:(I)Lorg/graalvm/compiler/nodes/ValueNode;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/virtual/phases/ea/VirtualizerToolImpl;
0 1 1 virtualObject Lorg/graalvm/compiler/nodes/virtual/VirtualObjectNode;
0 1 2 index I
MethodParameters:
Name Flags
virtualObject
index
public boolean setVirtualEntry(org.graalvm.compiler.nodes.virtual.VirtualObjectNode, int, org.graalvm.compiler.nodes.ValueNode, jdk.vm.ci.meta.JavaKind, long);
descriptor: (Lorg/graalvm/compiler/nodes/virtual/VirtualObjectNode;ILorg/graalvm/compiler/nodes/ValueNode;Ljdk/vm/ci/meta/JavaKind;J)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=15, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.state:Lorg/graalvm/compiler/virtual/phases/ea/PartialEscapeBlockState;
aload 1
invokevirtual org.graalvm.compiler.virtual.phases.ea.PartialEscapeBlockState.getObjectState:(Lorg/graalvm/compiler/nodes/virtual/VirtualObjectNode;)Lorg/graalvm/compiler/virtual/phases/ea/ObjectState;
astore 7
start local 7 1: getstatic org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.$assertionsDisabled:Z
ifne 2
aload 7
invokevirtual org.graalvm.compiler.virtual.phases.ea.ObjectState.isVirtual:()Z
ifne 2
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "not virtual: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
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
2: StackMap locals: org.graalvm.compiler.virtual.phases.ea.ObjectState
StackMap stack:
aload 1
iload 2
invokevirtual org.graalvm.compiler.nodes.virtual.VirtualObjectNode.entryKind:(I)Ljdk/vm/ci/meta/JavaKind;
astore 8
start local 8 3: aload 4
ifnull 4
aload 4
goto 5
StackMap locals: jdk.vm.ci.meta.JavaKind
StackMap stack:
4: aload 8
StackMap locals:
StackMap stack: jdk.vm.ci.meta.JavaKind
5: astore 9
start local 9 6: aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.closure:Lorg/graalvm/compiler/virtual/phases/ea/PartialEscapeClosure;
aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.state:Lorg/graalvm/compiler/virtual/phases/ea/PartialEscapeBlockState;
aload 3
invokevirtual org.graalvm.compiler.virtual.phases.ea.PartialEscapeClosure.getAliasAndResolve:(Lorg/graalvm/compiler/virtual/phases/ea/PartialEscapeBlockState;Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
astore 10
start local 10 7: aload 0
invokevirtual org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.getDebug:()Lorg/graalvm/compiler/debug/DebugContext;
iconst_4
ldc "Setting entry %d in virtual object %s %s results in %s"
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 1
invokevirtual org.graalvm.compiler.nodes.virtual.VirtualObjectNode.getObjectId:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 1
aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.state:Lorg/graalvm/compiler/virtual/phases/ea/PartialEscapeBlockState;
aload 1
invokevirtual org.graalvm.compiler.nodes.virtual.VirtualObjectNode.getObjectId:()I
invokevirtual org.graalvm.compiler.virtual.phases.ea.PartialEscapeBlockState.getObjectState:(I)Lorg/graalvm/compiler/virtual/phases/ea/ObjectState;
invokevirtual org.graalvm.compiler.debug.DebugContext.log:(ILjava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V
8: aload 0
aload 1
iload 2
invokevirtual org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.getEntry:(Lorg/graalvm/compiler/nodes/virtual/VirtualObjectNode;I)Lorg/graalvm/compiler/nodes/ValueNode;
astore 11
start local 11 9: aload 8
aload 9
if_acmpeq 11
aload 8
aload 9
invokevirtual jdk.vm.ci.meta.JavaKind.getStackKind:()Ljdk/vm/ci/meta/JavaKind;
if_acmpne 10
aload 1
instanceof org.graalvm.compiler.nodes.virtual.VirtualInstanceNode
ifne 11
StackMap locals: jdk.vm.ci.meta.JavaKind org.graalvm.compiler.nodes.ValueNode org.graalvm.compiler.nodes.ValueNode
StackMap stack:
10: iconst_0
goto 12
StackMap locals:
StackMap stack:
11: iconst_1
StackMap locals:
StackMap stack: int
12: istore 12
start local 12 13: iload 12
ifne 26
14: getstatic org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.$assertionsDisabled:Z
ifne 15
aload 8
getstatic jdk.vm.ci.meta.JavaKind.Long:Ljdk/vm/ci/meta/JavaKind;
if_acmpne 15
aload 10
ifnonnull 15
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
15: StackMap locals: int
StackMap stack:
aload 8
getstatic jdk.vm.ci.meta.JavaKind.Long:Ljdk/vm/ci/meta/JavaKind;
if_acmpne 19
aload 11
invokevirtual org.graalvm.compiler.nodes.ValueNode.getStackKind:()Ljdk/vm/ci/meta/JavaKind;
aload 10
invokevirtual org.graalvm.compiler.nodes.ValueNode.getStackKind:()Ljdk/vm/ci/meta/JavaKind;
if_acmpne 19
aload 11
invokevirtual org.graalvm.compiler.nodes.ValueNode.getStackKind:()Ljdk/vm/ci/meta/JavaKind;
invokevirtual jdk.vm.ci.meta.JavaKind.isPrimitive:()Z
ifeq 19
16: aload 0
invokevirtual org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.getDebug:()Lorg/graalvm/compiler/debug/DebugContext;
iconst_4
ldc "virtualizing %s with primitive of kind %s in long entry "
aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.current:Lorg/graalvm/compiler/nodes/ValueNode;
aload 11
invokevirtual org.graalvm.compiler.nodes.ValueNode.getStackKind:()Ljdk/vm/ci/meta/JavaKind;
invokevirtual org.graalvm.compiler.debug.DebugContext.log:(ILjava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
17: iconst_1
istore 12
18: goto 26
StackMap locals:
StackMap stack:
19: aload 8
getstatic jdk.vm.ci.meta.JavaKind.Int:Ljdk/vm/ci/meta/JavaKind;
if_acmpne 26
aload 9
getstatic jdk.vm.ci.meta.JavaKind.Long:Ljdk/vm/ci/meta/JavaKind;
if_acmpeq 20
aload 9
getstatic jdk.vm.ci.meta.JavaKind.Double:Ljdk/vm/ci/meta/JavaKind;
if_acmpne 26
StackMap locals:
StackMap stack:
20: lload 5
ldc 8
lrem
lconst_0
lcmp
ifne 26
21: aload 1
aload 0
invokevirtual org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
lload 5
ldc 4
ladd
getstatic jdk.vm.ci.meta.JavaKind.Int:Ljdk/vm/ci/meta/JavaKind;
invokevirtual org.graalvm.compiler.nodes.virtual.VirtualObjectNode.entryIndexForOffset:(Ljdk/vm/ci/meta/MetaAccessProvider;JLjdk/vm/ci/meta/JavaKind;)I
istore 13
start local 13 22: iload 13
iconst_m1
if_icmpeq 26
23: iconst_1
istore 12
24: getstatic org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.$assertionsDisabled:Z
ifne 25
iload 13
iload 2
iconst_1
iadd
if_icmpeq 25
new java.lang.AssertionError
dup
ldc "expected to be sequential"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
25: StackMap locals: int
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.getDebug:()Lorg/graalvm/compiler/debug/DebugContext;
iconst_4
ldc "virtualizing %s for double word stored in two ints"
aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.current:Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.debug.DebugContext.log:(ILjava/lang/String;Ljava/lang/Object;)V
end local 13 26: StackMap locals:
StackMap stack:
iload 12
ifeq 46
27: aload 0
invokevirtual org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.getDebug:()Lorg/graalvm/compiler/debug/DebugContext;
iconst_4
ldc "virtualizing %s for entryKind %s and access kind %s"
aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.current:Lorg/graalvm/compiler/nodes/ValueNode;
aload 8
aload 9
invokevirtual org.graalvm.compiler.debug.DebugContext.log:(ILjava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V
28: aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.state:Lorg/graalvm/compiler/virtual/phases/ea/PartialEscapeBlockState;
aload 1
invokevirtual org.graalvm.compiler.nodes.virtual.VirtualObjectNode.getObjectId:()I
iload 2
aload 10
invokevirtual org.graalvm.compiler.virtual.phases.ea.PartialEscapeBlockState.setEntry:(IILorg/graalvm/compiler/nodes/ValueNode;)V
29: aload 8
getstatic jdk.vm.ci.meta.JavaKind.Int:Ljdk/vm/ci/meta/JavaKind;
if_acmpne 39
30: aload 9
invokevirtual jdk.vm.ci.meta.JavaKind.needsTwoSlots:()Z
ifeq 34
31: getstatic org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.$assertionsDisabled:Z
ifne 32
aload 1
iload 2
iconst_1
iadd
invokevirtual org.graalvm.compiler.nodes.virtual.VirtualObjectNode.entryKind:(I)Ljdk/vm/ci/meta/JavaKind;
getstatic jdk.vm.ci.meta.JavaKind.Int:Ljdk/vm/ci/meta/JavaKind;
if_acmpeq 32
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
32: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.state:Lorg/graalvm/compiler/virtual/phases/ea/PartialEscapeBlockState;
aload 1
invokevirtual org.graalvm.compiler.nodes.virtual.VirtualObjectNode.getObjectId:()I
iload 2
iconst_1
iadd
aload 0
invokevirtual org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.getIllegalConstant:()Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.virtual.phases.ea.PartialEscapeBlockState.setEntry:(IILorg/graalvm/compiler/nodes/ValueNode;)V
33: goto 39
StackMap locals:
StackMap stack:
34: aload 11
invokevirtual org.graalvm.compiler.nodes.ValueNode.getStackKind:()Ljdk/vm/ci/meta/JavaKind;
getstatic jdk.vm.ci.meta.JavaKind.Double:Ljdk/vm/ci/meta/JavaKind;
if_acmpeq 35
aload 11
invokevirtual org.graalvm.compiler.nodes.ValueNode.getStackKind:()Ljdk/vm/ci/meta/JavaKind;
getstatic jdk.vm.ci.meta.JavaKind.Long:Ljdk/vm/ci/meta/JavaKind;
if_acmpne 39
35: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.getDebug:()Lorg/graalvm/compiler/debug/DebugContext;
iconst_4
ldc "virtualizing %s producing second half of double word value %s"
aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.current:Lorg/graalvm/compiler/nodes/ValueNode;
aload 11
invokevirtual org.graalvm.compiler.debug.DebugContext.log:(ILjava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
36: aload 11
iconst_0
getstatic org.graalvm.compiler.nodes.NodeView.DEFAULT:Lorg/graalvm/compiler/nodes/NodeView;
invokestatic org.graalvm.compiler.nodes.calc.UnpackEndianHalfNode.create:(Lorg/graalvm/compiler/nodes/ValueNode;ZLorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/nodes/ValueNode;
astore 13
start local 13 37: aload 0
aload 13
invokevirtual org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.addNode:(Lorg/graalvm/compiler/nodes/ValueNode;)V
38: aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.state:Lorg/graalvm/compiler/virtual/phases/ea/PartialEscapeBlockState;
aload 1
invokevirtual org.graalvm.compiler.nodes.virtual.VirtualObjectNode.getObjectId:()I
iload 2
iconst_1
iadd
aload 13
invokevirtual org.graalvm.compiler.virtual.phases.ea.PartialEscapeBlockState.setEntry:(IILorg/graalvm/compiler/nodes/ValueNode;)V
end local 13 39: StackMap locals:
StackMap stack:
aload 11
invokevirtual org.graalvm.compiler.nodes.ValueNode.isConstant:()Z
ifeq 45
aload 11
invokevirtual org.graalvm.compiler.nodes.ValueNode.asConstant:()Ljdk/vm/ci/meta/Constant;
invokestatic jdk.vm.ci.meta.JavaConstant.forIllegal:()Ljdk/vm/ci/meta/PrimitiveConstant;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 45
40: aload 0
aload 1
iload 2
iconst_1
isub
invokevirtual org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.getEntry:(Lorg/graalvm/compiler/nodes/virtual/VirtualObjectNode;I)Lorg/graalvm/compiler/nodes/ValueNode;
astore 13
start local 13 41: aload 0
invokevirtual org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.getDebug:()Lorg/graalvm/compiler/debug/DebugContext;
iconst_4
ldc "virtualizing %s producing first half of double word value %s"
aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.current:Lorg/graalvm/compiler/nodes/ValueNode;
aload 13
invokevirtual org.graalvm.compiler.debug.DebugContext.log:(ILjava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
42: aload 13
iconst_1
getstatic org.graalvm.compiler.nodes.NodeView.DEFAULT:Lorg/graalvm/compiler/nodes/NodeView;
invokestatic org.graalvm.compiler.nodes.calc.UnpackEndianHalfNode.create:(Lorg/graalvm/compiler/nodes/ValueNode;ZLorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/nodes/ValueNode;
astore 14
start local 14 43: aload 0
aload 14
invokevirtual org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.addNode:(Lorg/graalvm/compiler/nodes/ValueNode;)V
44: aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.state:Lorg/graalvm/compiler/virtual/phases/ea/PartialEscapeBlockState;
aload 1
invokevirtual org.graalvm.compiler.nodes.virtual.VirtualObjectNode.getObjectId:()I
iload 2
iconst_1
isub
aload 14
invokevirtual org.graalvm.compiler.virtual.phases.ea.PartialEscapeBlockState.setEntry:(IILorg/graalvm/compiler/nodes/ValueNode;)V
end local 14 end local 13 45: StackMap locals:
StackMap stack:
iconst_1
ireturn
46: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.$assertionsDisabled:Z
ifne 47
aload 8
aload 9
if_acmpne 47
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
47: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 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 48 0 this Lorg/graalvm/compiler/virtual/phases/ea/VirtualizerToolImpl;
0 48 1 virtual Lorg/graalvm/compiler/nodes/virtual/VirtualObjectNode;
0 48 2 index I
0 48 3 value Lorg/graalvm/compiler/nodes/ValueNode;
0 48 4 theAccessKind Ljdk/vm/ci/meta/JavaKind;
0 48 5 offset J
1 48 7 obj Lorg/graalvm/compiler/virtual/phases/ea/ObjectState;
3 48 8 entryKind Ljdk/vm/ci/meta/JavaKind;
6 48 9 accessKind Ljdk/vm/ci/meta/JavaKind;
7 48 10 newValue Lorg/graalvm/compiler/nodes/ValueNode;
9 48 11 oldValue Lorg/graalvm/compiler/nodes/ValueNode;
13 48 12 canVirtualize Z
22 26 13 nextIndex I
37 39 13 secondHalf Lorg/graalvm/compiler/nodes/ValueNode;
41 45 13 previous Lorg/graalvm/compiler/nodes/ValueNode;
43 45 14 firstHalf Lorg/graalvm/compiler/nodes/ValueNode;
MethodParameters:
Name Flags
virtual
index
value
theAccessKind
offset
private org.graalvm.compiler.nodes.ValueNode getIllegalConstant();
descriptor: ()Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.illegalConstant:Lorg/graalvm/compiler/nodes/ConstantNode;
ifnonnull 3
1: aload 0
invokestatic jdk.vm.ci.meta.JavaConstant.forIllegal:()Ljdk/vm/ci/meta/PrimitiveConstant;
aload 0
invokevirtual org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
invokestatic org.graalvm.compiler.nodes.ConstantNode.forConstant:(Ljdk/vm/ci/meta/JavaConstant;Ljdk/vm/ci/meta/MetaAccessProvider;)Lorg/graalvm/compiler/nodes/ConstantNode;
putfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.illegalConstant:Lorg/graalvm/compiler/nodes/ConstantNode;
2: aload 0
aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.illegalConstant:Lorg/graalvm/compiler/nodes/ConstantNode;
invokevirtual org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.addNode:(Lorg/graalvm/compiler/nodes/ValueNode;)V
3: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.illegalConstant:Lorg/graalvm/compiler/nodes/ConstantNode;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/virtual/phases/ea/VirtualizerToolImpl;
public void setEnsureVirtualized(org.graalvm.compiler.nodes.virtual.VirtualObjectNode, boolean);
descriptor: (Lorg/graalvm/compiler/nodes/virtual/VirtualObjectNode;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.graalvm.compiler.nodes.virtual.VirtualObjectNode.getObjectId:()I
istore 3
start local 3 1: aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.state:Lorg/graalvm/compiler/virtual/phases/ea/PartialEscapeBlockState;
iload 3
iload 2
invokevirtual org.graalvm.compiler.virtual.phases.ea.PartialEscapeBlockState.setEnsureVirtualized:(IZ)V
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/virtual/phases/ea/VirtualizerToolImpl;
0 3 1 virtualObject Lorg/graalvm/compiler/nodes/virtual/VirtualObjectNode;
0 3 2 ensureVirtualized Z
1 3 3 id I
MethodParameters:
Name Flags
virtualObject
ensureVirtualized
public boolean getEnsureVirtualized(org.graalvm.compiler.nodes.virtual.VirtualObjectNode);
descriptor: (Lorg/graalvm/compiler/nodes/virtual/VirtualObjectNode;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.state:Lorg/graalvm/compiler/virtual/phases/ea/PartialEscapeBlockState;
aload 1
invokevirtual org.graalvm.compiler.virtual.phases.ea.PartialEscapeBlockState.getObjectState:(Lorg/graalvm/compiler/nodes/virtual/VirtualObjectNode;)Lorg/graalvm/compiler/virtual/phases/ea/ObjectState;
invokevirtual org.graalvm.compiler.virtual.phases.ea.ObjectState.getEnsureVirtualized:()Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/virtual/phases/ea/VirtualizerToolImpl;
0 1 1 virtualObject Lorg/graalvm/compiler/nodes/virtual/VirtualObjectNode;
MethodParameters:
Name Flags
virtualObject
public void replaceWithVirtual(org.graalvm.compiler.nodes.virtual.VirtualObjectNode);
descriptor: (Lorg/graalvm/compiler/nodes/virtual/VirtualObjectNode;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.closure:Lorg/graalvm/compiler/virtual/phases/ea/PartialEscapeClosure;
aload 1
aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.current:Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.virtual.phases.ea.PartialEscapeClosure.addVirtualAlias:(Lorg/graalvm/compiler/nodes/virtual/VirtualObjectNode;Lorg/graalvm/compiler/nodes/ValueNode;)V
1: aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.effects:Lorg/graalvm/compiler/virtual/phases/ea/GraphEffectList;
aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.current:Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.virtual.phases.ea.GraphEffectList.deleteNode:(Lorg/graalvm/compiler/graph/Node;)V
2: aload 0
iconst_1
putfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.deleted:Z
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/virtual/phases/ea/VirtualizerToolImpl;
0 4 1 virtual Lorg/graalvm/compiler/nodes/virtual/VirtualObjectNode;
MethodParameters:
Name Flags
virtual
public void replaceWithValue(org.graalvm.compiler.nodes.ValueNode);
descriptor: (Lorg/graalvm/compiler/nodes/ValueNode;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.effects:Lorg/graalvm/compiler/virtual/phases/ea/GraphEffectList;
aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.current:Lorg/graalvm/compiler/nodes/ValueNode;
aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.closure:Lorg/graalvm/compiler/virtual/phases/ea/PartialEscapeClosure;
aload 1
invokevirtual org.graalvm.compiler.virtual.phases.ea.PartialEscapeClosure.getScalarAlias:(Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.position:Lorg/graalvm/compiler/nodes/FixedNode;
invokevirtual org.graalvm.compiler.virtual.phases.ea.GraphEffectList.replaceAtUsages:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/FixedNode;)V
1: aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.closure:Lorg/graalvm/compiler/virtual/phases/ea/PartialEscapeClosure;
aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.current:Lorg/graalvm/compiler/nodes/ValueNode;
aload 1
invokevirtual org.graalvm.compiler.virtual.phases.ea.PartialEscapeClosure.addScalarAlias:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;)V
2: aload 0
iconst_1
putfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.deleted:Z
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/virtual/phases/ea/VirtualizerToolImpl;
0 4 1 replacement Lorg/graalvm/compiler/nodes/ValueNode;
MethodParameters:
Name Flags
replacement
public void delete();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.effects:Lorg/graalvm/compiler/virtual/phases/ea/GraphEffectList;
aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.current:Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.virtual.phases.ea.GraphEffectList.deleteNode:(Lorg/graalvm/compiler/graph/Node;)V
1: aload 0
iconst_1
putfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.deleted:Z
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/virtual/phases/ea/VirtualizerToolImpl;
public void replaceFirstInput(org.graalvm.compiler.graph.Node, org.graalvm.compiler.graph.Node);
descriptor: (Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/graph/Node;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.effects:Lorg/graalvm/compiler/virtual/phases/ea/GraphEffectList;
aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.current:Lorg/graalvm/compiler/nodes/ValueNode;
aload 1
aload 2
invokevirtual org.graalvm.compiler.virtual.phases.ea.GraphEffectList.replaceFirstInput:(Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/graph/Node;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/virtual/phases/ea/VirtualizerToolImpl;
0 2 1 oldInput Lorg/graalvm/compiler/graph/Node;
0 2 2 replacement Lorg/graalvm/compiler/graph/Node;
MethodParameters:
Name Flags
oldInput
replacement
public void addNode(org.graalvm.compiler.nodes.ValueNode);
descriptor: (Lorg/graalvm/compiler/nodes/ValueNode;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.graalvm.compiler.nodes.calc.FloatingNode
ifeq 3
1: aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.effects:Lorg/graalvm/compiler/virtual/phases/ea/GraphEffectList;
aload 1
ldc "VirtualizerTool"
invokevirtual org.graalvm.compiler.virtual.phases.ea.GraphEffectList.addFloatingNode:(Lorg/graalvm/compiler/nodes/ValueNode;Ljava/lang/String;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.effects:Lorg/graalvm/compiler/virtual/phases/ea/GraphEffectList;
aload 1
checkcast org.graalvm.compiler.nodes.FixedWithNextNode
aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.position:Lorg/graalvm/compiler/nodes/FixedNode;
invokevirtual org.graalvm.compiler.virtual.phases.ea.GraphEffectList.addFixedNodeBefore:(Lorg/graalvm/compiler/nodes/FixedWithNextNode;Lorg/graalvm/compiler/nodes/FixedNode;)V
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/virtual/phases/ea/VirtualizerToolImpl;
0 5 1 node Lorg/graalvm/compiler/nodes/ValueNode;
MethodParameters:
Name Flags
node
public void createVirtualObject(org.graalvm.compiler.nodes.virtual.VirtualObjectNode, org.graalvm.compiler.nodes.ValueNode[], java.util.List<org.graalvm.compiler.nodes.java.MonitorIdNode>, );
descriptor: (Lorg/graalvm/compiler/nodes/virtual/VirtualObjectNode;[Lorg/graalvm/compiler/nodes/ValueNode;Ljava/util/List;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.options:Lorg/graalvm/compiler/options/OptionValues;
aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.debug:Lorg/graalvm/compiler/debug/DebugContext;
ldc "{{%s}} "
aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.current:Lorg/graalvm/compiler/nodes/ValueNode;
invokestatic org.graalvm.compiler.virtual.phases.ea.VirtualUtil.trace:(Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/debug/DebugContext;Ljava/lang/String;Ljava/lang/Object;)V
1: aload 1
invokevirtual org.graalvm.compiler.nodes.virtual.VirtualObjectNode.isAlive:()Z
ifne 3
2: aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.effects:Lorg/graalvm/compiler/virtual/phases/ea/GraphEffectList;
aload 1
ldc "newVirtualObject"
invokevirtual org.graalvm.compiler.virtual.phases.ea.GraphEffectList.addFloatingNode:(Lorg/graalvm/compiler/nodes/ValueNode;Ljava/lang/String;)V
3: StackMap locals:
StackMap stack:
iconst_0
istore 5
start local 5 4: goto 10
5: StackMap locals: int
StackMap stack:
aload 2
iload 5
aaload
astore 6
start local 6 6: aload 2
iload 5
aload 6
instanceof org.graalvm.compiler.nodes.virtual.VirtualObjectNode
ifeq 7
aload 6
goto 8
StackMap locals: org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl org.graalvm.compiler.nodes.virtual.VirtualObjectNode org.graalvm.compiler.nodes.ValueNode[] java.util.List int int org.graalvm.compiler.nodes.ValueNode
StackMap stack: org.graalvm.compiler.nodes.ValueNode[] int
7: aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.closure:Lorg/graalvm/compiler/virtual/phases/ea/PartialEscapeClosure;
aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.state:Lorg/graalvm/compiler/virtual/phases/ea/PartialEscapeBlockState;
aload 6
invokevirtual org.graalvm.compiler.virtual.phases.ea.PartialEscapeClosure.getAliasAndResolve:(Lorg/graalvm/compiler/virtual/phases/ea/PartialEscapeBlockState;Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
StackMap locals: org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl org.graalvm.compiler.nodes.virtual.VirtualObjectNode org.graalvm.compiler.nodes.ValueNode[] java.util.List int int org.graalvm.compiler.nodes.ValueNode
StackMap stack: org.graalvm.compiler.nodes.ValueNode[] int org.graalvm.compiler.nodes.ValueNode
8: aastore
end local 6 9: iinc 5 1
StackMap locals:
StackMap stack:
10: iload 5
aload 2
arraylength
if_icmplt 5
end local 5 11: aload 1
invokevirtual org.graalvm.compiler.nodes.virtual.VirtualObjectNode.getObjectId:()I
istore 5
start local 5 12: iload 5
iconst_m1
if_icmpne 16
13: aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.closure:Lorg/graalvm/compiler/virtual/phases/ea/PartialEscapeClosure;
getfield org.graalvm.compiler.virtual.phases.ea.PartialEscapeClosure.virtualObjects:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
istore 5
14: aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.closure:Lorg/graalvm/compiler/virtual/phases/ea/PartialEscapeClosure;
getfield org.graalvm.compiler.virtual.phases.ea.PartialEscapeClosure.virtualObjects:Ljava/util/ArrayList;
aload 1
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
15: aload 1
iload 5
invokevirtual org.graalvm.compiler.nodes.virtual.VirtualObjectNode.setObjectId:(I)V
16: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.state:Lorg/graalvm/compiler/virtual/phases/ea/PartialEscapeBlockState;
iload 5
new org.graalvm.compiler.virtual.phases.ea.ObjectState
dup
aload 2
aload 3
iload 4
invokespecial org.graalvm.compiler.virtual.phases.ea.ObjectState.<init>:([Lorg/graalvm/compiler/nodes/ValueNode;Ljava/util/List;Z)V
invokevirtual org.graalvm.compiler.virtual.phases.ea.PartialEscapeBlockState.addObject:(ILorg/graalvm/compiler/virtual/phases/ea/ObjectState;)V
17: aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.closure:Lorg/graalvm/compiler/virtual/phases/ea/PartialEscapeClosure;
aload 1
aload 1
invokevirtual org.graalvm.compiler.virtual.phases.ea.PartialEscapeClosure.addVirtualAlias:(Lorg/graalvm/compiler/nodes/virtual/VirtualObjectNode;Lorg/graalvm/compiler/nodes/ValueNode;)V
18: getstatic org.graalvm.compiler.virtual.phases.ea.PartialEscapeClosure.COUNTER_ALLOCATION_REMOVED:Lorg/graalvm/compiler/debug/CounterKey;
aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.debug:Lorg/graalvm/compiler/debug/DebugContext;
invokeinterface org.graalvm.compiler.debug.CounterKey.increment:(Lorg/graalvm/compiler/debug/DebugContext;)V
19: aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.effects:Lorg/graalvm/compiler/virtual/phases/ea/GraphEffectList;
iconst_1
invokevirtual org.graalvm.compiler.virtual.phases.ea.GraphEffectList.addVirtualizationDelta:(I)V
20: return
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 21 0 this Lorg/graalvm/compiler/virtual/phases/ea/VirtualizerToolImpl;
0 21 1 virtualObject Lorg/graalvm/compiler/nodes/virtual/VirtualObjectNode;
0 21 2 entryState [Lorg/graalvm/compiler/nodes/ValueNode;
0 21 3 locks Ljava/util/List<Lorg/graalvm/compiler/nodes/java/MonitorIdNode;>;
0 21 4 ensureVirtualized Z
4 11 5 i I
6 9 6 entry Lorg/graalvm/compiler/nodes/ValueNode;
12 21 5 id I
Signature: (Lorg/graalvm/compiler/nodes/virtual/VirtualObjectNode;[Lorg/graalvm/compiler/nodes/ValueNode;Ljava/util/List<Lorg/graalvm/compiler/nodes/java/MonitorIdNode;>;Z)V
MethodParameters:
Name Flags
virtualObject
entryState
locks
ensureVirtualized
public int getMaximumEntryCount();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.core.common.GraalOptions.MaximumEscapeAnalysisArrayLength:Lorg/graalvm/compiler/options/OptionKey;
aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.current:Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.nodes.ValueNode.getOptions:()Lorg/graalvm/compiler/options/OptionValues;
invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/virtual/phases/ea/VirtualizerToolImpl;
public void replaceWith(org.graalvm.compiler.nodes.ValueNode);
descriptor: (Lorg/graalvm/compiler/nodes/ValueNode;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.graalvm.compiler.nodes.virtual.VirtualObjectNode
ifeq 3
1: aload 0
aload 1
checkcast org.graalvm.compiler.nodes.virtual.VirtualObjectNode
invokevirtual org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.replaceWithVirtual:(Lorg/graalvm/compiler/nodes/virtual/VirtualObjectNode;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.replaceWithValue:(Lorg/graalvm/compiler/nodes/ValueNode;)V
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/virtual/phases/ea/VirtualizerToolImpl;
0 5 1 node Lorg/graalvm/compiler/nodes/ValueNode;
MethodParameters:
Name Flags
node
public boolean ensureMaterialized(org.graalvm.compiler.nodes.virtual.VirtualObjectNode);
descriptor: (Lorg/graalvm/compiler/nodes/virtual/VirtualObjectNode;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.closure:Lorg/graalvm/compiler/virtual/phases/ea/PartialEscapeClosure;
aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.state:Lorg/graalvm/compiler/virtual/phases/ea/PartialEscapeBlockState;
aload 1
invokevirtual org.graalvm.compiler.nodes.virtual.VirtualObjectNode.getObjectId:()I
aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.position:Lorg/graalvm/compiler/nodes/FixedNode;
aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.effects:Lorg/graalvm/compiler/virtual/phases/ea/GraphEffectList;
getstatic org.graalvm.compiler.virtual.phases.ea.PartialEscapeClosure.COUNTER_MATERIALIZATIONS_UNHANDLED:Lorg/graalvm/compiler/debug/CounterKey;
invokevirtual org.graalvm.compiler.virtual.phases.ea.PartialEscapeClosure.ensureMaterialized:(Lorg/graalvm/compiler/virtual/phases/ea/PartialEscapeBlockState;ILorg/graalvm/compiler/nodes/FixedNode;Lorg/graalvm/compiler/virtual/phases/ea/GraphEffectList;Lorg/graalvm/compiler/debug/CounterKey;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/virtual/phases/ea/VirtualizerToolImpl;
0 1 1 virtualObject Lorg/graalvm/compiler/nodes/virtual/VirtualObjectNode;
MethodParameters:
Name Flags
virtualObject
public void addLock(org.graalvm.compiler.nodes.virtual.VirtualObjectNode, org.graalvm.compiler.nodes.java.MonitorIdNode);
descriptor: (Lorg/graalvm/compiler/nodes/virtual/VirtualObjectNode;Lorg/graalvm/compiler/nodes/java/MonitorIdNode;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.graalvm.compiler.nodes.virtual.VirtualObjectNode.getObjectId:()I
istore 3
start local 3 1: aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.state:Lorg/graalvm/compiler/virtual/phases/ea/PartialEscapeBlockState;
iload 3
aload 2
invokevirtual org.graalvm.compiler.virtual.phases.ea.PartialEscapeBlockState.addLock:(ILorg/graalvm/compiler/nodes/java/MonitorIdNode;)V
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/virtual/phases/ea/VirtualizerToolImpl;
0 3 1 virtualObject Lorg/graalvm/compiler/nodes/virtual/VirtualObjectNode;
0 3 2 monitorId Lorg/graalvm/compiler/nodes/java/MonitorIdNode;
1 3 3 id I
MethodParameters:
Name Flags
virtualObject
monitorId
public org.graalvm.compiler.nodes.java.MonitorIdNode removeLock(org.graalvm.compiler.nodes.virtual.VirtualObjectNode);
descriptor: (Lorg/graalvm/compiler/nodes/virtual/VirtualObjectNode;)Lorg/graalvm/compiler/nodes/java/MonitorIdNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.graalvm.compiler.nodes.virtual.VirtualObjectNode.getObjectId:()I
istore 2
start local 2 1: aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.state:Lorg/graalvm/compiler/virtual/phases/ea/PartialEscapeBlockState;
iload 2
invokevirtual org.graalvm.compiler.virtual.phases.ea.PartialEscapeBlockState.removeLock:(I)Lorg/graalvm/compiler/nodes/java/MonitorIdNode;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/virtual/phases/ea/VirtualizerToolImpl;
0 2 1 virtualObject Lorg/graalvm/compiler/nodes/virtual/VirtualObjectNode;
1 2 2 id I
MethodParameters:
Name Flags
virtualObject
public jdk.vm.ci.meta.MetaAccessProvider getMetaAccess();
descriptor: ()Ljdk/vm/ci/meta/MetaAccessProvider;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.metaAccess:Ljdk/vm/ci/meta/MetaAccessProvider;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/virtual/phases/ea/VirtualizerToolImpl;
public jdk.vm.ci.meta.ConstantReflectionProvider getConstantReflection();
descriptor: ()Ljdk/vm/ci/meta/ConstantReflectionProvider;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.constantReflection:Ljdk/vm/ci/meta/ConstantReflectionProvider;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/virtual/phases/ea/VirtualizerToolImpl;
public boolean canonicalizeReads();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/virtual/phases/ea/VirtualizerToolImpl;
public boolean allUsagesAvailable();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/virtual/phases/ea/VirtualizerToolImpl;
public jdk.vm.ci.meta.Assumptions getAssumptions();
descriptor: ()Ljdk/vm/ci/meta/Assumptions;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.assumptions:Ljdk/vm/ci/meta/Assumptions;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/virtual/phases/ea/VirtualizerToolImpl;
public java.lang.Integer smallestCompareWidth();
descriptor: ()Ljava/lang/Integer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.loweringProvider:Lorg/graalvm/compiler/nodes/spi/LoweringProvider;
ifnull 2
1: aload 0
getfield org.graalvm.compiler.virtual.phases.ea.VirtualizerToolImpl.loweringProvider:Lorg/graalvm/compiler/nodes/spi/LoweringProvider;
invokeinterface org.graalvm.compiler.nodes.spi.LoweringProvider.smallestCompareWidth:()Ljava/lang/Integer;
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/virtual/phases/ea/VirtualizerToolImpl;
}
SourceFile: "VirtualizerToolImpl.java"