public abstract class org.graalvm.compiler.truffle.runtime.OptimizedCallTarget implements org.graalvm.compiler.truffle.common.CompilableTruffleAST, com.oracle.truffle.api.RootCallTarget, com.oracle.truffle.api.ReplaceObserver
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget
super_class: java.lang.Object
{
private static final java.lang.String NODE_REWRITING_ASSUMPTION_NAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "nodeRewritingAssumption"
private static final java.lang.String VALID_ROOT_ASSUMPTION_NAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "validRootAssumption"
static final java.lang.String EXECUTE_ROOT_NODE_METHOD_NAME;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "executeRootNode"
private static final java.util.concurrent.atomic.AtomicReferenceFieldUpdater<org.graalvm.compiler.truffle.runtime.OptimizedCallTarget, jdk.vm.ci.meta.SpeculationLog> SPECULATION_LOG_UPDATER;
descriptor: Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater<Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;Ljdk/vm/ci/meta/SpeculationLog;>;
private static final java.util.concurrent.atomic.AtomicReferenceFieldUpdater<org.graalvm.compiler.truffle.runtime.OptimizedCallTarget, com.oracle.truffle.api.Assumption> NODE_REWRITING_ASSUMPTION_UPDATER;
descriptor: Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater<Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;Lcom/oracle/truffle/api/Assumption;>;
private static final java.util.concurrent.atomic.AtomicReferenceFieldUpdater<org.graalvm.compiler.truffle.runtime.OptimizedCallTarget, com.oracle.truffle.api.Assumption> VALID_ROOT_ASSUMPTION_UPDATER;
descriptor: Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater<Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;Lcom/oracle/truffle/api/Assumption;>;
private static final java.util.concurrent.atomic.AtomicReferenceFieldUpdater<org.graalvm.compiler.truffle.runtime.OptimizedCallTarget, org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ArgumentsProfile> ARGUMENTS_PROFILE_UPDATER;
descriptor: Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater<Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ArgumentsProfile;>;
private static final java.util.concurrent.atomic.AtomicReferenceFieldUpdater<org.graalvm.compiler.truffle.runtime.OptimizedCallTarget, org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ReturnProfile> RETURN_PROFILE_UPDATER;
descriptor: Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater<Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ReturnProfile;>;
private static final java.lang.ref.WeakReference<org.graalvm.compiler.truffle.runtime.OptimizedDirectCallNode> NO_CALL;
descriptor: Ljava/lang/ref/WeakReference;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/lang/ref/WeakReference<Lorg/graalvm/compiler/truffle/runtime/OptimizedDirectCallNode;>;
private static final java.lang.ref.WeakReference<org.graalvm.compiler.truffle.runtime.OptimizedDirectCallNode> MULTIPLE_CALLS;
descriptor: Ljava/lang/ref/WeakReference;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/lang/ref/WeakReference<Lorg/graalvm/compiler/truffle/runtime/OptimizedDirectCallNode;>;
private static final java.lang.String SPLIT_LOG_FORMAT;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "[poly-event] %-70s %s"
private static final int MAX_PROFILED_ARGUMENTS;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 256
private final com.oracle.truffle.api.nodes.RootNode rootNode;
descriptor: Lcom/oracle/truffle/api/nodes/RootNode;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
protected volatile boolean initialized;
descriptor: Z
flags: (0x0044) ACC_PROTECTED, ACC_VOLATILE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$CompilationFinal()
private int callCount;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int callAndLoopCount;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private volatile org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ArgumentsProfile argumentsProfile;
descriptor: Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ArgumentsProfile;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$CompilationFinal()
private volatile org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ReturnProfile returnProfile;
descriptor: Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ReturnProfile;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$CompilationFinal()
private java.lang.Class<? extends java.lang.Throwable> profiledExceptionType;
descriptor: Ljava/lang/Class;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/lang/Class<+Ljava/lang/Throwable;>;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$CompilationFinal()
private volatile boolean dequeueInlined;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile boolean compilationFailed;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private boolean callProfiled;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$CompilationFinal()
private volatile long initializedTimestamp;
descriptor: J
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile org.graalvm.compiler.truffle.runtime.CompilationTask compilationTask;
descriptor: Lorg/graalvm/compiler/truffle/runtime/CompilationTask;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile boolean needsSplit;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
public final org.graalvm.compiler.truffle.runtime.EngineData engine;
descriptor: Lorg/graalvm/compiler/truffle/runtime/EngineData;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
private volatile com.oracle.truffle.api.nodes.RootNode uninitializedRootNode;
descriptor: Lcom/oracle/truffle/api/nodes/RootNode;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile jdk.vm.ci.meta.SpeculationLog speculationLog;
descriptor: Ljdk/vm/ci/meta/SpeculationLog;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private final org.graalvm.compiler.truffle.runtime.OptimizedCallTarget sourceCallTarget;
descriptor: Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private volatile com.oracle.truffle.api.Assumption nodeRewritingAssumption;
descriptor: Lcom/oracle/truffle/api/Assumption;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile com.oracle.truffle.api.Assumption validRootAssumption;
descriptor: Lcom/oracle/truffle/api/Assumption;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile int cachedNonTrivialNodeCount;
descriptor: I
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile int callSitesKnown;
descriptor: I
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile java.lang.String nameCache;
descriptor: Ljava/lang/String;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private final int uninitializedNodeCount;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private volatile java.lang.ref.WeakReference<org.graalvm.compiler.truffle.runtime.OptimizedDirectCallNode> singleCallNode;
descriptor: Ljava/lang/ref/WeakReference;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
Signature: Ljava/lang/ref/WeakReference<Lorg/graalvm/compiler/truffle/runtime/OptimizedDirectCallNode;>;
volatile java.util.List<org.graalvm.compiler.truffle.runtime.OptimizedCallTarget> blockCompilations;
descriptor: Ljava/util/List;
flags: (0x0040) ACC_VOLATILE
Signature: Ljava/util/List<Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;>;
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=3, locals=0, args_size=0
0: ldc Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
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.truffle.runtime.OptimizedCallTarget.$assertionsDisabled:Z
3: ldc Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
4: ldc Ljdk/vm/ci/meta/SpeculationLog;
ldc "speculationLog"
5: invokestatic java.util.concurrent.atomic.AtomicReferenceFieldUpdater.newUpdater:(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
putstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.SPECULATION_LOG_UPDATER:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
6: ldc Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
7: ldc Lcom/oracle/truffle/api/Assumption;
ldc "nodeRewritingAssumption"
8: invokestatic java.util.concurrent.atomic.AtomicReferenceFieldUpdater.newUpdater:(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
putstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.NODE_REWRITING_ASSUMPTION_UPDATER:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
9: ldc Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
ldc Lcom/oracle/truffle/api/Assumption;
ldc "validRootAssumption"
invokestatic java.util.concurrent.atomic.AtomicReferenceFieldUpdater.newUpdater:(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
10: putstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.VALID_ROOT_ASSUMPTION_UPDATER:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
11: ldc Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
ldc Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ArgumentsProfile;
ldc "argumentsProfile"
12: invokestatic java.util.concurrent.atomic.AtomicReferenceFieldUpdater.newUpdater:(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
putstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.ARGUMENTS_PROFILE_UPDATER:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
13: ldc Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
ldc Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ReturnProfile;
ldc "returnProfile"
14: invokestatic java.util.concurrent.atomic.AtomicReferenceFieldUpdater.newUpdater:(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
putstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.RETURN_PROFILE_UPDATER:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
15: new java.lang.ref.WeakReference
dup
aconst_null
invokespecial java.lang.ref.WeakReference.<init>:(Ljava/lang/Object;)V
putstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.NO_CALL:Ljava/lang/ref/WeakReference;
16: aconst_null
putstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.MULTIPLE_CALLS:Ljava/lang/ref/WeakReference;
17: return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>(org.graalvm.compiler.truffle.runtime.OptimizedCallTarget, com.oracle.truffle.api.nodes.RootNode);
descriptor: (Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;Lcom/oracle/truffle/api/nodes/RootNode;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.dequeueInlined:Z
2: aload 0
iconst_m1
putfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.cachedNonTrivialNodeCount:I
3: aload 0
getstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.NO_CALL:Ljava/lang/ref/WeakReference;
putfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.singleCallNode:Ljava/lang/ref/WeakReference;
4: getstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.$assertionsDisabled:Z
ifne 5
aload 1
ifnull 5
aload 1
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.sourceCallTarget:Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
ifnull 5
new java.lang.AssertionError
dup
ldc "Cannot create a clone of a cloned CallTarget"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
5: StackMap locals: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget org.graalvm.compiler.truffle.runtime.OptimizedCallTarget com.oracle.truffle.api.nodes.RootNode
StackMap stack:
aload 0
aload 1
putfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.sourceCallTarget:Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
6: aload 0
aload 1
ifnull 7
aload 1
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.getSpeculationLog:()Ljdk/vm/ci/meta/SpeculationLog;
goto 8
StackMap locals:
StackMap stack: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget
7: aconst_null
StackMap locals: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget org.graalvm.compiler.truffle.runtime.OptimizedCallTarget com.oracle.truffle.api.nodes.RootNode
StackMap stack: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget jdk.vm.ci.meta.SpeculationLog
8: putfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.speculationLog:Ljdk/vm/ci/meta/SpeculationLog;
9: aload 0
aload 2
putfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.rootNode:Lcom/oracle/truffle/api/nodes/RootNode;
10: aload 0
aload 2
invokestatic org.graalvm.compiler.truffle.runtime.GraalTVMCI.getEngineData:(Lcom/oracle/truffle/api/nodes/RootNode;)Lorg/graalvm/compiler/truffle/runtime/EngineData;
putfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.engine:Lorg/graalvm/compiler/truffle/runtime/EngineData;
11: aload 0
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.resetCompilationProfile:()V
12: aload 0
aload 2
instanceof org.graalvm.compiler.truffle.runtime.OptimizedOSRLoopNode$OSRRootNode
ifne 13
getstatic org.graalvm.compiler.truffle.runtime.GraalRuntimeAccessor.NODES:Lcom/oracle/truffle/api/impl/Accessor$NodeSupport;
aload 2
invokevirtual com.oracle.truffle.api.impl.Accessor$NodeSupport.adoptChildrenAndCount:(Lcom/oracle/truffle/api/nodes/RootNode;)I
goto 14
StackMap locals:
StackMap stack: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget
13: iconst_m1
StackMap locals: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget org.graalvm.compiler.truffle.runtime.OptimizedCallTarget com.oracle.truffle.api.nodes.RootNode
StackMap stack: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget int
14: putfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.uninitializedNodeCount:I
15: getstatic org.graalvm.compiler.truffle.runtime.GraalRuntimeAccessor.NODES:Lcom/oracle/truffle/api/impl/Accessor$NodeSupport;
aload 2
aload 0
invokevirtual com.oracle.truffle.api.impl.Accessor$NodeSupport.setCallTarget:(Lcom/oracle/truffle/api/nodes/RootNode;Lcom/oracle/truffle/api/RootCallTarget;)V
16: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
0 17 1 sourceCallTarget Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
0 17 2 rootNode Lcom/oracle/truffle/api/nodes/RootNode;
MethodParameters:
Name Flags
sourceCallTarget
rootNode
final com.oracle.truffle.api.Assumption getNodeRewritingAssumption();
descriptor: ()Lcom/oracle/truffle/api/Assumption;
flags: (0x0010) ACC_FINAL
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.nodeRewritingAssumption:Lcom/oracle/truffle/api/Assumption;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: aload 0
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.initializeNodeRewritingAssumption:()Lcom/oracle/truffle/api/Assumption;
astore 1
3: StackMap locals: com.oracle.truffle.api.Assumption
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
1 4 1 assumption Lcom/oracle/truffle/api/Assumption;
public jdk.vm.ci.meta.JavaConstant getNodeRewritingAssumptionConstant();
descriptor: ()Ljdk/vm/ci/meta/JavaConstant;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.runtime:()Lorg/graalvm/compiler/truffle/runtime/GraalTruffleRuntime;
aload 0
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.getNodeRewritingAssumption:()Lcom/oracle/truffle/api/Assumption;
invokevirtual org.graalvm.compiler.truffle.runtime.GraalTruffleRuntime.forObject:(Ljava/lang/Object;)Ljdk/vm/ci/meta/JavaConstant;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
final com.oracle.truffle.api.Assumption getValidRootAssumption();
descriptor: ()Lcom/oracle/truffle/api/Assumption;
flags: (0x0010) ACC_FINAL
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.validRootAssumption:Lcom/oracle/truffle/api/Assumption;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: aload 0
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.initializeValidRootAssumption:()Lcom/oracle/truffle/api/Assumption;
astore 1
3: StackMap locals: com.oracle.truffle.api.Assumption
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
1 4 1 assumption Lcom/oracle/truffle/api/Assumption;
public jdk.vm.ci.meta.JavaConstant getValidRootAssumptionConstant();
descriptor: ()Ljdk/vm/ci/meta/JavaConstant;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.runtime:()Lorg/graalvm/compiler/truffle/runtime/GraalTruffleRuntime;
aload 0
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.getValidRootAssumption:()Lcom/oracle/truffle/api/Assumption;
invokevirtual org.graalvm.compiler.truffle.runtime.GraalTruffleRuntime.forObject:(Ljava/lang/Object;)Ljdk/vm/ci/meta/JavaConstant;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
public boolean isTrivial();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.truffle.runtime.GraalRuntimeAccessor.NODES:Lcom/oracle/truffle/api/impl/Accessor$NodeSupport;
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.rootNode:Lcom/oracle/truffle/api/nodes/RootNode;
invokevirtual com.oracle.truffle.api.impl.Accessor$NodeSupport.isTrivial:(Lcom/oracle/truffle/api/nodes/RootNode;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
public void dequeueInlined();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.dequeueInlined:Z
ifne 3
1: aload 0
iconst_1
putfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.dequeueInlined:Z
2: aload 0
ldc "Target inlined into only caller"
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.cancelCompilation:(Ljava/lang/CharSequence;)Z
pop
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
private com.oracle.truffle.api.Assumption initializeNodeRewritingAssumption();
descriptor: ()Lcom/oracle/truffle/api/Assumption;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.NODE_REWRITING_ASSUMPTION_UPDATER:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
ldc "nodeRewritingAssumption"
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.initializeAssumption:(Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;Ljava/lang/String;)Lcom/oracle/truffle/api/Assumption;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
private com.oracle.truffle.api.Assumption initializeAssumption(java.util.concurrent.atomic.AtomicReferenceFieldUpdater<org.graalvm.compiler.truffle.runtime.OptimizedCallTarget, com.oracle.truffle.api.Assumption>, java.lang.String);
descriptor: (Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;Ljava/lang/String;)Lcom/oracle/truffle/api/Assumption;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: invokestatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.runtime:()Lorg/graalvm/compiler/truffle/runtime/GraalTruffleRuntime;
aload 0
getstatic org.graalvm.compiler.truffle.options.PolyglotCompilerOptions.TraceAssumptions:Lorg/graalvm/options/OptionKey;
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.getOptionValue:(Lorg/graalvm/options/OptionKey;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifne 1
aload 2
goto 2
StackMap locals:
StackMap stack: org.graalvm.compiler.truffle.runtime.GraalTruffleRuntime
1: new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " of "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.rootNode:Lcom/oracle/truffle/api/nodes/RootNode;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
StackMap locals: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget java.util.concurrent.atomic.AtomicReferenceFieldUpdater java.lang.String
StackMap stack: org.graalvm.compiler.truffle.runtime.GraalTruffleRuntime java.lang.String
2: invokevirtual org.graalvm.compiler.truffle.runtime.GraalTruffleRuntime.createAssumption:(Ljava/lang/String;)Lcom/oracle/truffle/api/Assumption;
astore 3
start local 3 3: aload 1
aload 0
aconst_null
aload 3
invokevirtual java.util.concurrent.atomic.AtomicReferenceFieldUpdater.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 5
4: aload 3
areturn
5: StackMap locals: com.oracle.truffle.api.Assumption
StackMap stack:
aload 1
aload 0
invokevirtual java.util.concurrent.atomic.AtomicReferenceFieldUpdater.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.oracle.truffle.api.Assumption
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.oracle.truffle.api.Assumption
areturn
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/truffle/runtime/OptimizedCallTarget;
0 6 1 updater Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater<Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;Lcom/oracle/truffle/api/Assumption;>;
0 6 2 name Ljava/lang/String;
3 6 3 newAssumption Lcom/oracle/truffle/api/Assumption;
Signature: (Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater<Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;Lcom/oracle/truffle/api/Assumption;>;Ljava/lang/String;)Lcom/oracle/truffle/api/Assumption;
MethodParameters:
Name Flags
updater
name
private void invalidateNodeRewritingAssumption();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.NODE_REWRITING_ASSUMPTION_UPDATER:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
ldc ""
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.invalidateAssumption:(Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;Ljava/lang/CharSequence;)Z
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
private boolean invalidateAssumption(java.util.concurrent.atomic.AtomicReferenceFieldUpdater<org.graalvm.compiler.truffle.runtime.OptimizedCallTarget, com.oracle.truffle.api.Assumption>, java.lang.CharSequence);
descriptor: (Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;Ljava/lang/CharSequence;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 0
invokedynamic apply()Ljava/util/function/UnaryOperator;
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;
org/graalvm/compiler/truffle/runtime/OptimizedCallTarget.lambda$0(Lcom/oracle/truffle/api/Assumption;)Lcom/oracle/truffle/api/Assumption; (6)
(Lcom/oracle/truffle/api/Assumption;)Lcom/oracle/truffle/api/Assumption;
invokevirtual java.util.concurrent.atomic.AtomicReferenceFieldUpdater.getAndUpdate:(Ljava/lang/Object;Ljava/util/function/UnaryOperator;)Ljava/lang/Object;
checkcast com.oracle.truffle.api.Assumption
astore 3
start local 3 1: aload 3
ifnonnull 3
2: iconst_0
ireturn
3: StackMap locals: com.oracle.truffle.api.Assumption
StackMap stack:
aload 3
aload 2
ifnull 4
aload 2
invokeinterface java.lang.CharSequence.toString:()Ljava/lang/String;
goto 5
StackMap locals:
StackMap stack: com.oracle.truffle.api.Assumption
4: ldc ""
StackMap locals: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget java.util.concurrent.atomic.AtomicReferenceFieldUpdater java.lang.CharSequence com.oracle.truffle.api.Assumption
StackMap stack: com.oracle.truffle.api.Assumption java.lang.String
5: invokeinterface com.oracle.truffle.api.Assumption.invalidate:(Ljava/lang/String;)V
6: iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
0 7 1 updater Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater<Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;Lcom/oracle/truffle/api/Assumption;>;
0 7 2 reason Ljava/lang/CharSequence;
1 7 3 oldAssumption Lcom/oracle/truffle/api/Assumption;
Signature: (Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater<Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;Lcom/oracle/truffle/api/Assumption;>;Ljava/lang/CharSequence;)Z
MethodParameters:
Name Flags
updater
reason
private com.oracle.truffle.api.Assumption initializeValidRootAssumption();
descriptor: ()Lcom/oracle/truffle/api/Assumption;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.VALID_ROOT_ASSUMPTION_UPDATER:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
ldc "validRootAssumption"
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.initializeAssumption:(Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;Ljava/lang/String;)Lcom/oracle/truffle/api/Assumption;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
private boolean invalidateValidRootAssumption(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.VALID_ROOT_ASSUMPTION_UPDATER:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
aload 1
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.invalidateAssumption:(Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;Ljava/lang/CharSequence;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
0 1 1 reason Ljava/lang/CharSequence;
MethodParameters:
Name Flags
reason
public final com.oracle.truffle.api.nodes.RootNode getRootNode();
descriptor: ()Lcom/oracle/truffle/api/nodes/RootNode;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.rootNode:Lcom/oracle/truffle/api/nodes/RootNode;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
public final void resetCompilationProfile();
descriptor: ()V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callCount:I
1: aload 0
iconst_0
putfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callAndLoopCount:I
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
public final java.lang.Object call(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0091) ACC_PUBLIC, ACC_FINAL, ACC_VARARGS
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: invokestatic com.oracle.truffle.api.nodes.EncapsulatingNodeReference.getCurrent:()Lcom/oracle/truffle/api/nodes/EncapsulatingNodeReference;
astore 2
start local 2 1: aload 2
aconst_null
invokevirtual com.oracle.truffle.api.nodes.EncapsulatingNodeReference.set:(Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/api/nodes/Node;
astore 3
start local 3 2: aload 0
aload 1
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.profileArguments:([Ljava/lang/Object;)V
3: aload 0
aload 3
aload 1
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callIndirect:(Lcom/oracle/truffle/api/nodes/Node;[Ljava/lang/Object;)Ljava/lang/Object;
astore 6
4: aload 2
aload 3
invokevirtual com.oracle.truffle.api.nodes.EncapsulatingNodeReference.set:(Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/api/nodes/Node;
pop
5: aload 6
areturn
6: StackMap locals: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget java.lang.Object[] com.oracle.truffle.api.nodes.EncapsulatingNodeReference com.oracle.truffle.api.nodes.Node
StackMap stack: java.lang.Throwable
astore 4
start local 4 7: getstatic org.graalvm.compiler.truffle.runtime.GraalRuntimeAccessor.LANGUAGE:Lcom/oracle/truffle/api/impl/Accessor$LanguageSupport;
aload 3
aconst_null
aload 4
aconst_null
invokevirtual com.oracle.truffle.api.impl.Accessor$LanguageSupport.onThrowable:(Lcom/oracle/truffle/api/nodes/Node;Lcom/oracle/truffle/api/RootCallTarget;Ljava/lang/Throwable;Lcom/oracle/truffle/api/frame/Frame;)V
8: aload 4
invokestatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.rethrow:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 4 9: StackMap locals:
StackMap stack: java.lang.Throwable
astore 5
10: aload 2
aload 3
invokevirtual com.oracle.truffle.api.nodes.EncapsulatingNodeReference.set:(Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/api/nodes/Node;
pop
11: aload 5
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
0 12 1 args [Ljava/lang/Object;
1 12 2 encapsulating Lcom/oracle/truffle/api/nodes/EncapsulatingNodeReference;
2 12 3 prev Lcom/oracle/truffle/api/nodes/Node;
7 9 4 t Ljava/lang/Throwable;
Exception table:
from to target type
2 4 6 Class java.lang.Throwable
2 4 9 any
6 9 9 any
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
args
public java.lang.Object callIndirect(com.oracle.truffle.api.nodes.Node, java.lang.Object[]);
descriptor: (Lcom/oracle/truffle/api/nodes/Node;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.doInvoke:([Ljava/lang/Object;)Ljava/lang/Object;
astore 4
1: getstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.$assertionsDisabled:Z
ifne 2
aload 1
invokestatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.keepAlive:(Ljava/lang/Object;)Z
ifne 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget com.oracle.truffle.api.nodes.Node java.lang.Object[] top java.lang.Object
StackMap stack:
aload 4
areturn
3: StackMap locals: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget com.oracle.truffle.api.nodes.Node java.lang.Object[]
StackMap stack: java.lang.Throwable
astore 3
4: getstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.$assertionsDisabled:Z
ifne 5
aload 1
invokestatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.keepAlive:(Ljava/lang/Object;)Z
ifne 5
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
5: StackMap locals: java.lang.Throwable
StackMap stack:
aload 3
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
0 6 1 location Lcom/oracle/truffle/api/nodes/Node;
0 6 2 args [Ljava/lang/Object;
Exception table:
from to target type
0 1 3 any
MethodParameters:
Name Flags
location
args
public final java.lang.Object callDirect(com.oracle.truffle.api.nodes.Node, java.lang.Object[]);
descriptor: (Lcom/oracle/truffle/api/nodes/Node;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0091) ACC_PUBLIC, ACC_FINAL, ACC_VARARGS
Code:
stack=2, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.profileArguments:([Ljava/lang/Object;)V
1: aload 0
aload 2
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.doInvoke:([Ljava/lang/Object;)Ljava/lang/Object;
astore 3
start local 3 2: invokestatic com.oracle.truffle.api.CompilerDirectives.inCompiledCode:()Z
ifeq 4
3: aload 0
aload 3
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.injectReturnValueProfile:(Ljava/lang/Object;)Ljava/lang/Object;
astore 3
4: StackMap locals: java.lang.Object
StackMap stack:
aload 3
astore 5
5: getstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.$assertionsDisabled:Z
ifne 6
aload 1
invokestatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.keepAlive:(Ljava/lang/Object;)Z
ifne 6
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
6: StackMap locals: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget com.oracle.truffle.api.nodes.Node java.lang.Object[] java.lang.Object top java.lang.Object
StackMap stack:
aload 5
areturn
end local 3 7: StackMap locals: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget com.oracle.truffle.api.nodes.Node java.lang.Object[]
StackMap stack: java.lang.Throwable
astore 3
start local 3 8: aload 0
aload 3
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.profileExceptionType:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
invokestatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.rethrow:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 3 9: StackMap locals:
StackMap stack: java.lang.Throwable
astore 4
10: getstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.$assertionsDisabled:Z
ifne 11
aload 1
invokestatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.keepAlive:(Ljava/lang/Object;)Z
ifne 11
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
11: StackMap locals: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget com.oracle.truffle.api.nodes.Node java.lang.Object[] top java.lang.Throwable
StackMap stack:
aload 4
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
0 12 1 location Lcom/oracle/truffle/api/nodes/Node;
0 12 2 args [Ljava/lang/Object;
2 7 3 result Ljava/lang/Object;
8 9 3 t Ljava/lang/Throwable;
Exception table:
from to target type
0 5 7 Class java.lang.Throwable
0 5 9 any
7 9 9 any
MethodParameters:
Name Flags
location
args
private static boolean keepAlive(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
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 o Ljava/lang/Object;
MethodParameters:
Name Flags
o
public final java.lang.Object callOSR(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0091) ACC_PUBLIC, ACC_FINAL, ACC_VARARGS
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.doInvoke:([Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
0 1 1 args [Ljava/lang/Object;
MethodParameters:
Name Flags
args
public final java.lang.Object callInlined(com.oracle.truffle.api.nodes.Node, java.lang.Object[]);
descriptor: (Lcom/oracle/truffle/api/nodes/Node;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0091) ACC_PUBLIC, ACC_FINAL, ACC_VARARGS
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.ensureInitialized:()V
1: aload 0
aload 0
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.getRootNode:()Lcom/oracle/truffle/api/nodes/RootNode;
invokevirtual com.oracle.truffle.api.nodes.RootNode.getFrameDescriptor:()Lcom/oracle/truffle/api/frame/FrameDescriptor;
aload 2
invokestatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.createFrame:(Lcom/oracle/truffle/api/frame/FrameDescriptor;[Ljava/lang/Object;)Lcom/oracle/truffle/api/frame/VirtualFrame;
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.executeRootNode:(Lcom/oracle/truffle/api/frame/VirtualFrame;)Ljava/lang/Object;
astore 4
2: getstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.$assertionsDisabled:Z
ifne 3
aload 1
invokestatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.keepAlive:(Ljava/lang/Object;)Z
ifne 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget com.oracle.truffle.api.nodes.Node java.lang.Object[] top java.lang.Object
StackMap stack:
aload 4
areturn
4: StackMap locals: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget com.oracle.truffle.api.nodes.Node java.lang.Object[]
StackMap stack: java.lang.Throwable
astore 3
5: getstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.$assertionsDisabled:Z
ifne 6
aload 1
invokestatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.keepAlive:(Ljava/lang/Object;)Z
ifne 6
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
6: StackMap locals: java.lang.Throwable
StackMap stack:
aload 3
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
0 7 1 location Lcom/oracle/truffle/api/nodes/Node;
0 7 2 arguments [Ljava/lang/Object;
Exception table:
from to target type
0 2 4 any
MethodParameters:
Name Flags
location
arguments
protected java.lang.Object doInvoke(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callBoundary:([Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
0 1 1 args [Ljava/lang/Object;
MethodParameters:
Name Flags
args
protected final java.lang.Object callBoundary(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.interpreterCall:()Z
ifeq 2
1: aload 0
aload 1
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.doInvoke:([Ljava/lang/Object;)Ljava/lang/Object;
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.profiledPERoot:([Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
0 3 1 args [Ljava/lang/Object;
RuntimeVisibleAnnotations:
org.graalvm.compiler.truffle.runtime.TruffleCallBoundary()
MethodParameters:
Name Flags
args
private boolean interpreterCall();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.isValid:()Z
ifeq 2
1: invokestatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.runtime:()Lorg/graalvm/compiler/truffle/runtime/GraalTruffleRuntime;
aload 0
invokevirtual org.graalvm.compiler.truffle.runtime.GraalTruffleRuntime.bypassedInstalledCode:(Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;)V
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.ensureInitialized:()V
3: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callCount:I
istore 1
start local 1 4: aload 0
iload 1
ldc 2147483647
if_icmpne 5
iload 1
goto 6
StackMap locals: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget int
StackMap stack: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget
5: iinc 1 1
iload 1
StackMap locals: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget int
StackMap stack: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget int
6: putfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callCount:I
7: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callAndLoopCount:I
istore 2
start local 2 8: aload 0
iload 2
ldc 2147483647
if_icmpne 9
iload 2
goto 10
StackMap locals: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget int int
StackMap stack: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget
9: iinc 2 1
iload 2
StackMap locals: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget int int
StackMap stack: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget int
10: putfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callAndLoopCount:I
11: aload 0
iload 1
iload 2
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.shouldCompileImpl:(II)Z
ifeq 15
12: aload 0
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.engine:Lorg/graalvm/compiler/truffle/runtime/EngineData;
getfield org.graalvm.compiler.truffle.runtime.EngineData.multiTier:Z
ifeq 13
iconst_0
goto 14
StackMap locals:
StackMap stack: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget
13: iconst_1
StackMap locals: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget int int
StackMap stack: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget int
14: invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.compile:(Z)Z
ireturn
15: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
4 16 1 intCallCount I
8 16 2 intLoopCallCount I
private boolean shouldCompileImpl(int, int);
descriptor: (II)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 1
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.engine:Lorg/graalvm/compiler/truffle/runtime/EngineData;
getfield org.graalvm.compiler.truffle.runtime.EngineData.callThresholdInInterpreter:I
if_icmplt 6
1: iload 2
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.engine:Lorg/graalvm/compiler/truffle/runtime/EngineData;
getfield org.graalvm.compiler.truffle.runtime.EngineData.callAndLoopThresholdInInterpreter:I
if_icmplt 6
2: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.compilationFailed:Z
ifne 6
3: aload 0
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.isSubmittedForCompilation:()Z
ifne 6
4: aload 0
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.getRootNode:()Lcom/oracle/truffle/api/nodes/RootNode;
instanceof org.graalvm.compiler.truffle.runtime.OptimizedOSRLoopNode$OSRRootNode
ifne 6
5: iconst_1
ireturn
StackMap locals:
StackMap stack:
6: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
0 7 1 intCallCount I
0 7 2 intLoopCallCount I
MethodParameters:
Name Flags
intCallCount
intLoopCallCount
public final boolean shouldCompile();
descriptor: ()Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.isValid:()Z
ifne 1
aload 0
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callCount:I
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callAndLoopCount:I
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.shouldCompileImpl:(II)Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
public final boolean wasExecuted();
descriptor: ()Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callCount:I
ifgt 1
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callAndLoopCount:I
ifgt 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
protected final java.lang.Object profiledPERoot(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
astore 2
start local 2 1: invokestatic org.graalvm.compiler.truffle.runtime.GraalCompilerDirectives.inFirstTier:()Z
ifeq 3
2: aload 0
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.firstTierCall:()Z
pop
3: StackMap locals: java.lang.Object[]
StackMap stack:
invokestatic com.oracle.truffle.api.CompilerDirectives.inCompiledCode:()Z
ifeq 5
4: aload 0
aload 1
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.injectArgumentsProfile:([Ljava/lang/Object;)[Ljava/lang/Object;
astore 2
5: StackMap locals:
StackMap stack:
aload 0
aload 0
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.getRootNode:()Lcom/oracle/truffle/api/nodes/RootNode;
invokevirtual com.oracle.truffle.api.nodes.RootNode.getFrameDescriptor:()Lcom/oracle/truffle/api/frame/FrameDescriptor;
aload 2
invokestatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.createFrame:(Lcom/oracle/truffle/api/frame/FrameDescriptor;[Ljava/lang/Object;)Lcom/oracle/truffle/api/frame/VirtualFrame;
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.executeRootNode:(Lcom/oracle/truffle/api/frame/VirtualFrame;)Ljava/lang/Object;
astore 3
start local 3 6: aload 0
aload 3
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.profileReturnValue:(Ljava/lang/Object;)V
7: aload 3
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/truffle/runtime/OptimizedCallTarget;
0 8 1 originalArguments [Ljava/lang/Object;
1 8 2 args [Ljava/lang/Object;
6 8 3 result Ljava/lang/Object;
MethodParameters:
Name Flags
originalArguments
public final boolean firstTierCall();
descriptor: ()Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callCount:I
istore 1
start local 1 1: aload 0
iload 1
ldc 2147483647
if_icmpne 2
iload 1
goto 3
StackMap locals: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget int
StackMap stack: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget
2: iinc 1 1
iload 1
StackMap locals: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget int
StackMap stack: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget int
3: putfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callCount:I
4: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callAndLoopCount:I
istore 2
start local 2 5: aload 0
iload 2
ldc 2147483647
if_icmpne 6
iload 2
goto 7
StackMap locals: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget int int
StackMap stack: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget
6: iinc 2 1
iload 2
StackMap locals: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget int int
StackMap stack: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget int
7: putfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callAndLoopCount:I
8: iload 1
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.engine:Lorg/graalvm/compiler/truffle/runtime/EngineData;
getfield org.graalvm.compiler.truffle.runtime.EngineData.callThresholdInFirstTier:I
if_icmplt 13
9: iload 2
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.engine:Lorg/graalvm/compiler/truffle/runtime/EngineData;
getfield org.graalvm.compiler.truffle.runtime.EngineData.callAndLoopThresholdInFirstTier:I
if_icmplt 13
10: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.compilationFailed:Z
ifne 13
11: aload 0
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.isSubmittedForCompilation:()Z
ifne 13
12: aload 0
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.lastTierCompile:()Z
ireturn
13: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
1 14 1 firstTierCallCount I
5 14 2 firstTierLoopCallCount I
private boolean lastTierCompile();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.compile:(Z)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
private java.lang.Object executeRootNode(com.oracle.truffle.api.frame.VirtualFrame);
descriptor: (Lcom/oracle/truffle/api/frame/VirtualFrame;)Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: invokestatic com.oracle.truffle.api.CompilerDirectives.inCompilationRoot:()Z
istore 2
start local 2 1: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.rootNode:Lcom/oracle/truffle/api/nodes/RootNode;
aload 1
invokevirtual com.oracle.truffle.api.nodes.RootNode.execute:(Lcom/oracle/truffle/api/frame/VirtualFrame;)Ljava/lang/Object;
astore 6
2: getstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.$assertionsDisabled:Z
ifne 4
aload 1
ifnull 3
aload 0
ifnonnull 4
StackMap locals: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget com.oracle.truffle.api.frame.VirtualFrame int top top top java.lang.Object
StackMap stack:
3: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
invokestatic com.oracle.truffle.api.CompilerDirectives.inInterpreter:()Z
ifeq 6
iload 2
ifeq 6
5: aload 0
aload 1
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.notifyDeoptimized:(Lcom/oracle/truffle/api/frame/VirtualFrame;)V
6: StackMap locals:
StackMap stack:
aload 6
areturn
7: StackMap locals: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget com.oracle.truffle.api.frame.VirtualFrame int
StackMap stack: com.oracle.truffle.api.nodes.ControlFlowException
astore 3
start local 3 8: aload 0
aload 3
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.profileExceptionType:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
invokestatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.rethrow:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 3 9: StackMap locals:
StackMap stack: java.lang.Throwable
astore 3
start local 3 10: aload 0
aload 3
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.profileExceptionType:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
astore 4
start local 4 11: getstatic org.graalvm.compiler.truffle.runtime.GraalRuntimeAccessor.LANGUAGE:Lcom/oracle/truffle/api/impl/Accessor$LanguageSupport;
aconst_null
aload 0
aload 4
aload 1
invokevirtual com.oracle.truffle.api.impl.Accessor$LanguageSupport.onThrowable:(Lcom/oracle/truffle/api/nodes/Node;Lcom/oracle/truffle/api/RootCallTarget;Ljava/lang/Throwable;Lcom/oracle/truffle/api/frame/Frame;)V
12: aload 4
invokestatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.rethrow:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 4 end local 3 13: StackMap locals:
StackMap stack: java.lang.Throwable
astore 5
14: getstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.$assertionsDisabled:Z
ifne 16
aload 1
ifnull 15
aload 0
ifnonnull 16
StackMap locals: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget com.oracle.truffle.api.frame.VirtualFrame int top top java.lang.Throwable
StackMap stack:
15: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
16: StackMap locals:
StackMap stack:
invokestatic com.oracle.truffle.api.CompilerDirectives.inInterpreter:()Z
ifeq 18
iload 2
ifeq 18
17: aload 0
aload 1
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.notifyDeoptimized:(Lcom/oracle/truffle/api/frame/VirtualFrame;)V
18: StackMap locals:
StackMap stack:
aload 5
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
0 19 1 frame Lcom/oracle/truffle/api/frame/VirtualFrame;
1 19 2 inCompiled Z
8 9 3 t Lcom/oracle/truffle/api/nodes/ControlFlowException;
10 13 3 t Ljava/lang/Throwable;
11 13 4 profiledT Ljava/lang/Throwable;
Exception table:
from to target type
1 2 7 Class com.oracle.truffle.api.nodes.ControlFlowException
1 2 9 Class java.lang.Throwable
1 2 13 any
7 13 13 any
MethodParameters:
Name Flags
frame
private void notifyDeoptimized(com.oracle.truffle.api.frame.VirtualFrame);
descriptor: (Lcom/oracle/truffle/api/frame/VirtualFrame;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: invokestatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.runtime:()Lorg/graalvm/compiler/truffle/runtime/GraalTruffleRuntime;
invokevirtual org.graalvm.compiler.truffle.runtime.GraalTruffleRuntime.getListener:()Lorg/graalvm/compiler/truffle/runtime/GraalTruffleRuntimeListener;
aload 0
aload 1
invokeinterface org.graalvm.compiler.truffle.runtime.GraalTruffleRuntimeListener.onCompilationDeoptimized:(Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;Lcom/oracle/truffle/api/frame/Frame;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
0 2 1 frame Lcom/oracle/truffle/api/frame/VirtualFrame;
MethodParameters:
Name Flags
frame
protected static org.graalvm.compiler.truffle.runtime.GraalTruffleRuntime runtime();
descriptor: ()Lorg/graalvm/compiler/truffle/runtime/GraalTruffleRuntime;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic com.oracle.truffle.api.Truffle.getRuntime:()Lcom/oracle/truffle/api/TruffleRuntime;
checkcast org.graalvm.compiler.truffle.runtime.GraalTruffleRuntime
areturn
LocalVariableTable:
Start End Slot Name Signature
public final void ensureInitialized();
descriptor: ()V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.initialized:Z
ifne 3
1: invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreterAndInvalidate:()V
2: aload 0
iconst_1
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.initialize:(Z)V
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
public final boolean isInitialized();
descriptor: ()Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.initialized:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
private synchronized void initialize(boolean);
descriptor: (Z)V
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.initialized:Z
ifne 9
1: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.sourceCallTarget:Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
ifnonnull 3
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.rootNode:Lcom/oracle/truffle/api/nodes/RootNode;
invokevirtual com.oracle.truffle.api.nodes.RootNode.isCloningAllowed:()Z
ifeq 3
getstatic org.graalvm.compiler.truffle.runtime.GraalRuntimeAccessor.NODES:Lcom/oracle/truffle/api/impl/Accessor$NodeSupport;
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.rootNode:Lcom/oracle/truffle/api/nodes/RootNode;
invokevirtual com.oracle.truffle.api.impl.Accessor$NodeSupport.isCloneUninitializedSupported:(Lcom/oracle/truffle/api/nodes/RootNode;)Z
ifne 3
2: aload 0
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.rootNode:Lcom/oracle/truffle/api/nodes/RootNode;
invokestatic com.oracle.truffle.api.nodes.NodeUtil.cloneNode:(Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/api/nodes/Node;
checkcast com.oracle.truffle.api.nodes.RootNode
putfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.uninitializedRootNode:Lcom/oracle/truffle/api/nodes/RootNode;
3: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.truffle.runtime.GraalRuntimeAccessor.INSTRUMENT:Lcom/oracle/truffle/api/impl/Accessor$InstrumentSupport;
aload 0
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.getRootNode:()Lcom/oracle/truffle/api/nodes/RootNode;
iload 1
invokevirtual com.oracle.truffle.api.impl.Accessor$InstrumentSupport.onFirstExecution:(Lcom/oracle/truffle/api/nodes/RootNode;Z)V
4: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.engine:Lorg/graalvm/compiler/truffle/runtime/EngineData;
getfield org.graalvm.compiler.truffle.runtime.EngineData.callTargetStatistics:Z
ifeq 7
5: aload 0
invokestatic java.lang.System.nanoTime:()J
putfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.initializedTimestamp:J
6: goto 8
7: StackMap locals:
StackMap stack:
aload 0
lconst_0
putfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.initializedTimestamp:J
8: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.initialized:Z
9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
0 10 1 validate Z
MethodParameters:
Name Flags
validate
public final org.graalvm.options.OptionValues getOptionValues();
descriptor: ()Lorg/graalvm/options/OptionValues;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.engine:Lorg/graalvm/compiler/truffle/runtime/EngineData;
getfield org.graalvm.compiler.truffle.runtime.EngineData.engineOptions:Lorg/graalvm/options/OptionValues;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
public final <T> T getOptionValue(org.graalvm.options.OptionKey<T>);
descriptor: (Lorg/graalvm/options/OptionKey;)Ljava/lang/Object;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.getOptionValues:()Lorg/graalvm/options/OptionValues;
aload 1
invokeinterface org.graalvm.options.OptionValues.get:(Lorg/graalvm/options/OptionKey;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
0 1 1 key Lorg/graalvm/options/OptionKey<TT;>;
Signature: <T:Ljava/lang/Object;>(Lorg/graalvm/options/OptionKey<TT;>;)TT;
MethodParameters:
Name Flags
key
final boolean acceptForCompilation();
descriptor: ()Z
flags: (0x0010) ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.engine:Lorg/graalvm/compiler/truffle/runtime/EngineData;
aload 0
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.getRootNode:()Lcom/oracle/truffle/api/nodes/RootNode;
invokevirtual org.graalvm.compiler.truffle.runtime.EngineData.acceptForCompilation:(Lcom/oracle/truffle/api/nodes/RootNode;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
final boolean isCompilationFailed();
descriptor: ()Z
flags: (0x0010) ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.compilationFailed:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
public final boolean compile(boolean);
descriptor: (Z)Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.needsCompile:(Z)Z
ifne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.isSubmittedForCompilation:()Z
ifne 26
3: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.engine:Lorg/graalvm/compiler/truffle/runtime/EngineData;
aload 0
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.getRootNode:()Lcom/oracle/truffle/api/nodes/RootNode;
invokevirtual org.graalvm.compiler.truffle.runtime.EngineData.acceptForCompilation:(Lcom/oracle/truffle/api/nodes/RootNode;)Z
ifne 6
4: aload 0
iconst_1
putfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.compilationFailed:Z
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aconst_null
astore 2
start local 2 7: aload 0
dup
astore 3
monitorenter
8: aload 0
iload 1
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.needsCompile:(Z)Z
ifne 11
9: aload 3
monitorexit
10: iconst_1
ireturn
11: StackMap locals: org.graalvm.compiler.truffle.runtime.CompilationTask org.graalvm.compiler.truffle.runtime.OptimizedCallTarget
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.ensureInitialized:()V
12: aload 0
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.isSubmittedForCompilation:()Z
ifne 19
13: getstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.$assertionsDisabled:Z
ifne 14
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.compilationTask:Lorg/graalvm/compiler/truffle/runtime/CompilationTask;
ifnull 14
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
14: StackMap locals:
StackMap stack:
aload 0
invokestatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.runtime:()Lorg/graalvm/compiler/truffle/runtime/GraalTruffleRuntime;
aload 0
iload 1
invokevirtual org.graalvm.compiler.truffle.runtime.GraalTruffleRuntime.submitForCompilation:(Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;Z)Lorg/graalvm/compiler/truffle/runtime/CompilationTask;
dup
astore 2
putfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.compilationTask:Lorg/graalvm/compiler/truffle/runtime/CompilationTask;
15: goto 19
StackMap locals:
StackMap stack: java.util.concurrent.RejectedExecutionException
16: pop
17: aload 3
monitorexit
18: iconst_0
ireturn
19: StackMap locals:
StackMap stack:
aload 3
monitorexit
20: goto 23
StackMap locals:
StackMap stack: java.lang.Throwable
21: aload 3
monitorexit
22: athrow
23: StackMap locals:
StackMap stack:
aload 2
ifnull 26
24: invokestatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.runtime:()Lorg/graalvm/compiler/truffle/runtime/GraalTruffleRuntime;
invokevirtual org.graalvm.compiler.truffle.runtime.GraalTruffleRuntime.getListener:()Lorg/graalvm/compiler/truffle/runtime/GraalTruffleRuntimeListener;
aload 0
invokeinterface org.graalvm.compiler.truffle.runtime.GraalTruffleRuntimeListener.onCompilationQueued:(Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;)V
25: aload 0
aload 2
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.maybeWaitForTask:(Lorg/graalvm/compiler/truffle/runtime/CompilationTask;)Z
ireturn
end local 2 26: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
0 27 1 lastTierCompilation Z
7 26 2 task Lorg/graalvm/compiler/truffle/runtime/CompilationTask;
Exception table:
from to target type
13 15 16 Class java.util.concurrent.RejectedExecutionException
8 10 21 any
11 18 21 any
19 20 21 any
21 22 21 any
MethodParameters:
Name Flags
lastTierCompilation
public final boolean maybeWaitForTask(org.graalvm.compiler.truffle.runtime.CompilationTask);
descriptor: (Lorg/graalvm/compiler/truffle/runtime/CompilationTask;)Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.engine:Lorg/graalvm/compiler/truffle/runtime/EngineData;
getfield org.graalvm.compiler.truffle.runtime.EngineData.backgroundCompilation:Z
istore 2
start local 2 1: invokestatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.runtime:()Lorg/graalvm/compiler/truffle/runtime/GraalTruffleRuntime;
aload 0
aload 1
iload 2
invokevirtual org.graalvm.compiler.truffle.runtime.GraalTruffleRuntime.finishCompilation:(Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;Lorg/graalvm/compiler/truffle/runtime/CompilationTask;Z)V
2: iload 2
ifne 3
aload 0
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.isValid:()Z
ifeq 3
iconst_1
ireturn
StackMap locals: int
StackMap stack:
3: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
0 4 1 task Lorg/graalvm/compiler/truffle/runtime/CompilationTask;
1 4 2 mayBeAsynchronous Z
MethodParameters:
Name Flags
task
public final boolean needsCompile(boolean);
descriptor: (Z)Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.isValid:()Z
ifeq 2
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.engine:Lorg/graalvm/compiler/truffle/runtime/EngineData;
getfield org.graalvm.compiler.truffle.runtime.EngineData.multiTier:Z
ifeq 1
iload 1
ifeq 1
aload 0
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.isValidLastTier:()Z
ifeq 2
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
StackMap locals:
StackMap stack:
2: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
0 3 1 isLastTierCompilation Z
MethodParameters:
Name Flags
isLastTierCompilation
public final boolean isSubmittedForCompilation();
descriptor: ()Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.compilationTask:Lorg/graalvm/compiler/truffle/runtime/CompilationTask;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
public final void waitForCompilation();
descriptor: ()V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.compilationTask:Lorg/graalvm/compiler/truffle/runtime/CompilationTask;
astore 1
start local 1 1: aload 1
ifnull 3
2: invokestatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.runtime:()Lorg/graalvm/compiler/truffle/runtime/GraalTruffleRuntime;
aload 0
aload 1
iconst_0
invokevirtual org.graalvm.compiler.truffle.runtime.GraalTruffleRuntime.finishCompilation:(Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;Lorg/graalvm/compiler/truffle/runtime/CompilationTask;Z)V
3: StackMap locals: org.graalvm.compiler.truffle.runtime.CompilationTask
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
1 4 1 task Lorg/graalvm/compiler/truffle/runtime/CompilationTask;
boolean isCompiling();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.getCompilationTask:()Lorg/graalvm/compiler/truffle/runtime/CompilationTask;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
public abstract long getCodeAddress();
descriptor: ()J
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract boolean isValid();
descriptor: ()Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract boolean isValidLastTier();
descriptor: ()Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public final boolean invalidate(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
iconst_m1
putfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.cachedNonTrivialNodeCount:I
1: aload 0
aload 1
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.invalidateValidRootAssumption:(Ljava/lang/CharSequence;)Z
istore 2
start local 2 2: aload 0
aload 1
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.cancelCompilation:(Ljava/lang/CharSequence;)Z
ifne 3
iload 2
ifne 3
iconst_0
ireturn
StackMap locals: int
StackMap stack:
3: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
0 4 1 reason Ljava/lang/CharSequence;
2 4 2 invalidated Z
MethodParameters:
Name Flags
reason
final org.graalvm.compiler.truffle.runtime.OptimizedCallTarget cloneUninitialized();
descriptor: ()Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
flags: (0x0010) ACC_FINAL
Code:
stack=3, locals=2, args_size=1
start local 0 0: getstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.sourceCallTarget:Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
ifnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.ensureInitialized:()V
2: getstatic org.graalvm.compiler.truffle.runtime.GraalRuntimeAccessor.NODES:Lcom/oracle/truffle/api/impl/Accessor$NodeSupport;
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.rootNode:Lcom/oracle/truffle/api/nodes/RootNode;
invokevirtual com.oracle.truffle.api.impl.Accessor$NodeSupport.isCloneUninitializedSupported:(Lcom/oracle/truffle/api/nodes/RootNode;)Z
ifeq 6
3: getstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.$assertionsDisabled:Z
ifne 4
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.uninitializedRootNode:Lcom/oracle/truffle/api/nodes/RootNode;
ifnull 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.truffle.runtime.GraalRuntimeAccessor.NODES:Lcom/oracle/truffle/api/impl/Accessor$NodeSupport;
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.rootNode:Lcom/oracle/truffle/api/nodes/RootNode;
invokevirtual com.oracle.truffle.api.impl.Accessor$NodeSupport.cloneUninitialized:(Lcom/oracle/truffle/api/nodes/RootNode;)Lcom/oracle/truffle/api/nodes/RootNode;
astore 1
start local 1 5: goto 7
end local 1 6: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.uninitializedRootNode:Lcom/oracle/truffle/api/nodes/RootNode;
invokestatic com.oracle.truffle.api.nodes.NodeUtil.cloneNode:(Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/api/nodes/Node;
checkcast com.oracle.truffle.api.nodes.RootNode
astore 1
start local 1 7: StackMap locals: com.oracle.truffle.api.nodes.RootNode
StackMap stack:
invokestatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.runtime:()Lorg/graalvm/compiler/truffle/runtime/GraalTruffleRuntime;
aload 1
aload 0
invokevirtual org.graalvm.compiler.truffle.runtime.GraalTruffleRuntime.createClonedCallTarget:(Lcom/oracle/truffle/api/nodes/RootNode;Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;)Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
5 6 1 clonedRoot Lcom/oracle/truffle/api/nodes/RootNode;
7 8 1 clonedRoot Lcom/oracle/truffle/api/nodes/RootNode;
public jdk.vm.ci.meta.SpeculationLog getSpeculationLog();
descriptor: ()Ljdk/vm/ci/meta/SpeculationLog;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.speculationLog:Ljdk/vm/ci/meta/SpeculationLog;
ifnonnull 2
1: getstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.SPECULATION_LOG_UPDATER:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
aload 0
aconst_null
invokestatic com.oracle.truffle.api.Truffle.getRuntime:()Lcom/oracle/truffle/api/TruffleRuntime;
checkcast org.graalvm.compiler.truffle.runtime.GraalTruffleRuntime
invokevirtual org.graalvm.compiler.truffle.runtime.GraalTruffleRuntime.createSpeculationLog:()Ljdk/vm/ci/meta/SpeculationLog;
invokevirtual java.util.concurrent.atomic.AtomicReferenceFieldUpdater.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
pop
2: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.speculationLog:Ljdk/vm/ci/meta/SpeculationLog;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
final void setSpeculationLog(jdk.vm.ci.meta.SpeculationLog);
descriptor: (Ljdk/vm/ci/meta/SpeculationLog;)V
flags: (0x0010) ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.speculationLog:Ljdk/vm/ci/meta/SpeculationLog;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
0 2 1 speculationLog Ljdk/vm/ci/meta/SpeculationLog;
MethodParameters:
Name Flags
speculationLog
public final jdk.vm.ci.meta.JavaConstant asJavaConstant();
descriptor: ()Ljdk/vm/ci/meta/JavaConstant;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic org.graalvm.compiler.truffle.runtime.GraalTruffleRuntime.getRuntime:()Lorg/graalvm/compiler/truffle/runtime/GraalTruffleRuntime;
aload 0
invokevirtual org.graalvm.compiler.truffle.runtime.GraalTruffleRuntime.forObject:(Ljava/lang/Object;)Ljdk/vm/ci/meta/JavaConstant;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
static <E extends java.lang.Throwable> java.lang.RuntimeException rethrow(java.lang.Throwable) throws E;
descriptor: (Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 ex Ljava/lang/Throwable;
Exceptions:
throws java.lang.Throwable
Signature: <E:Ljava/lang/Throwable;>(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;^TE;
MethodParameters:
Name Flags
ex
public final boolean isSameOrSplit(org.graalvm.compiler.truffle.common.CompilableTruffleAST);
descriptor: (Lorg/graalvm/compiler/truffle/common/CompilableTruffleAST;)Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.graalvm.compiler.truffle.runtime.OptimizedCallTarget
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
checkcast org.graalvm.compiler.truffle.runtime.OptimizedCallTarget
astore 2
start local 2 3: aload 0
aload 2
if_acmpeq 6
aload 0
aload 2
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.sourceCallTarget:Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
if_acmpeq 6
aload 2
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.sourceCallTarget:Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
if_acmpeq 6
4: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.sourceCallTarget:Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
ifnull 5
aload 2
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.sourceCallTarget:Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
ifnull 5
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.sourceCallTarget:Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
aload 2
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.sourceCallTarget:Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
if_acmpeq 6
5: StackMap locals: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget
StackMap stack:
iconst_0
ireturn
StackMap locals:
StackMap stack:
6: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
0 7 1 ast Lorg/graalvm/compiler/truffle/common/CompilableTruffleAST;
3 7 2 other Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
MethodParameters:
Name Flags
ast
public boolean cancelCompilation(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)Z
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.truffle.runtime.OptimizedCallTarget.initialized:Z
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.cancelAndResetCompilationTask:()Z
ifeq 5
3: invokestatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.runtime:()Lorg/graalvm/compiler/truffle/runtime/GraalTruffleRuntime;
invokevirtual org.graalvm.compiler.truffle.runtime.GraalTruffleRuntime.getListener:()Lorg/graalvm/compiler/truffle/runtime/GraalTruffleRuntimeListener;
aload 0
aconst_null
aload 1
invokeinterface org.graalvm.compiler.truffle.runtime.GraalTruffleRuntimeListener.onCompilationDequeued:(Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;Ljava/lang/Object;Ljava/lang/CharSequence;)V
4: iconst_1
ireturn
5: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
0 6 1 reason Ljava/lang/CharSequence;
MethodParameters:
Name Flags
reason
private boolean cancelAndResetCompilationTask();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.compilationTask:Lorg/graalvm/compiler/truffle/runtime/CompilationTask;
astore 1
start local 1 1: aload 1
ifnull 11
2: aload 0
dup
astore 2
monitorenter
3: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.compilationTask:Lorg/graalvm/compiler/truffle/runtime/CompilationTask;
astore 1
4: aload 1
ifnull 7
5: aload 1
invokevirtual org.graalvm.compiler.truffle.runtime.CompilationTask.cancel:()Z
aload 2
monitorexit
6: ireturn
7: StackMap locals: org.graalvm.compiler.truffle.runtime.CompilationTask org.graalvm.compiler.truffle.runtime.OptimizedCallTarget
StackMap stack:
aload 2
monitorexit
8: goto 11
StackMap locals:
StackMap stack: java.lang.Throwable
9: aload 2
monitorexit
10: athrow
11: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
1 12 1 task Lorg/graalvm/compiler/truffle/runtime/CompilationTask;
Exception table:
from to target type
3 6 9 any
7 8 9 any
9 10 9 any
public final boolean computeBlockCompilations();
descriptor: ()Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.blockCompilations:Ljava/util/List;
ifnonnull 4
1: aload 0
aload 0
invokestatic org.graalvm.compiler.truffle.runtime.OptimizedBlockNode.preparePartialBlockCompilations:(Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;)Ljava/util/List;
putfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.blockCompilations:Ljava/util/List;
2: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.blockCompilations:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifne 4
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
public final void onCompilationFailed(java.util.function.Supplier<java.lang.String>, boolean, boolean, boolean, );
descriptor: (Ljava/util/function/Supplier;ZZZZ)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=7, locals=10, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: iload 5
ifeq 3
1: aload 0
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.computeBlockCompilations:()Z
ifeq 3
2: return
3: StackMap locals:
StackMap stack:
iload 3
ifeq 6
iload 4
ifne 6
4: getstatic org.graalvm.compiler.truffle.options.PolyglotCompilerOptions$ExceptionAction.Silent:Lorg/graalvm/compiler/truffle/options/PolyglotCompilerOptions$ExceptionAction;
astore 6
start local 6 5: goto 10
end local 6 6: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.compilationFailed:Z
7: iload 2
ifeq 8
getstatic org.graalvm.compiler.truffle.options.PolyglotCompilerOptions$ExceptionAction.Silent:Lorg/graalvm/compiler/truffle/options/PolyglotCompilerOptions$ExceptionAction;
goto 9
StackMap locals:
StackMap stack:
8: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.engine:Lorg/graalvm/compiler/truffle/runtime/EngineData;
getfield org.graalvm.compiler.truffle.runtime.EngineData.compilationFailureAction:Lorg/graalvm/compiler/truffle/options/PolyglotCompilerOptions$ExceptionAction;
StackMap locals:
StackMap stack: org.graalvm.compiler.truffle.options.PolyglotCompilerOptions$ExceptionAction
9: astore 6
start local 6 10: StackMap locals: org.graalvm.compiler.truffle.options.PolyglotCompilerOptions$ExceptionAction
StackMap stack:
aload 6
getstatic org.graalvm.compiler.truffle.options.PolyglotCompilerOptions$ExceptionAction.Throw:Lorg/graalvm/compiler/truffle/options/PolyglotCompilerOptions$ExceptionAction;
if_acmpne 13
11: new java.lang.InternalError
dup
aload 1
invokeinterface java.util.function.Supplier.get:()Ljava/lang/Object;
checkcast java.lang.String
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
astore 7
start local 7 12: new com.oracle.truffle.api.OptimizationFailedException
dup
aload 7
aload 0
invokespecial com.oracle.truffle.api.OptimizationFailedException.<init>:(Ljava/lang/Throwable;Lcom/oracle/truffle/api/RootCallTarget;)V
athrow
end local 7 13: StackMap locals:
StackMap stack:
aload 6
invokevirtual org.graalvm.compiler.truffle.options.PolyglotCompilerOptions$ExceptionAction.ordinal:()I
getstatic org.graalvm.compiler.truffle.options.PolyglotCompilerOptions$ExceptionAction.Print:Lorg/graalvm/compiler/truffle/options/PolyglotCompilerOptions$ExceptionAction;
invokevirtual org.graalvm.compiler.truffle.options.PolyglotCompilerOptions$ExceptionAction.ordinal:()I
if_icmplt 28
14: invokestatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.runtime:()Lorg/graalvm/compiler/truffle/runtime/GraalTruffleRuntime;
astore 7
start local 7 15: new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
astore 8
start local 8 16: aload 8
ldc "AST"
aload 0
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.getNonTrivialNodeCount:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
17: aload 7
aload 0
iconst_0
ldc "opt fail"
aload 0
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.toString:()Ljava/lang/String;
aload 8
aload 1
invokeinterface java.util.function.Supplier.get:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual org.graalvm.compiler.truffle.runtime.GraalTruffleRuntime.logEvent:(Lorg/graalvm/compiler/truffle/common/CompilableTruffleAST;ILjava/lang/String;Ljava/lang/String;Ljava/util/Map;Ljava/lang/String;)V
18: aload 6
getstatic org.graalvm.compiler.truffle.options.PolyglotCompilerOptions$ExceptionAction.ExitVM:Lorg/graalvm/compiler/truffle/options/PolyglotCompilerOptions$ExceptionAction;
if_acmpne 28
19: aload 0
getstatic org.graalvm.compiler.truffle.options.PolyglotCompilerOptions.CompilationFailureAction:Lorg/graalvm/options/OptionKey;
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.getOptionValue:(Lorg/graalvm/options/OptionKey;)Ljava/lang/Object;
getstatic org.graalvm.compiler.truffle.options.PolyglotCompilerOptions$ExceptionAction.ExitVM:Lorg/graalvm/compiler/truffle/options/PolyglotCompilerOptions$ExceptionAction;
if_acmpne 22
20: ldc "engine.CompilationFailureAction=ExitVM"
astore 9
start local 9 21: goto 26
end local 9 StackMap locals: org.graalvm.compiler.truffle.runtime.GraalTruffleRuntime java.util.Map
StackMap stack:
22: aload 0
getstatic org.graalvm.compiler.truffle.options.PolyglotCompilerOptions.CompilationExceptionsAreFatal:Lorg/graalvm/options/OptionKey;
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.getOptionValue:(Lorg/graalvm/options/OptionKey;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 25
23: ldc "engine.CompilationExceptionsAreFatal=true"
astore 9
start local 9 24: goto 26
end local 9 25: StackMap locals:
StackMap stack:
ldc "engine.PerformanceWarningsAreFatal=true"
astore 9
start local 9 26: StackMap locals: java.lang.String
StackMap stack:
aload 0
ldc "Exiting VM due to %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 9
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.log:(Ljava/lang/String;)V
27: iconst_m1
invokestatic java.lang.System.exit:(I)V
end local 9 end local 8 end local 7 28: StackMap locals:
StackMap stack:
return
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 29 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
0 29 1 serializedException Ljava/util/function/Supplier<Ljava/lang/String;>;
0 29 2 silent Z
0 29 3 bailout Z
0 29 4 permanentBailout Z
0 29 5 graphTooBig Z
5 6 6 action Lorg/graalvm/compiler/truffle/options/PolyglotCompilerOptions$ExceptionAction;
10 29 6 action Lorg/graalvm/compiler/truffle/options/PolyglotCompilerOptions$ExceptionAction;
12 13 7 error Ljava/lang/InternalError;
15 28 7 rt Lorg/graalvm/compiler/truffle/runtime/GraalTruffleRuntime;
16 28 8 properties Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
21 22 9 reason Ljava/lang/String;
24 25 9 reason Ljava/lang/String;
26 28 9 reason Ljava/lang/String;
Signature: (Ljava/util/function/Supplier<Ljava/lang/String;>;ZZZZ)V
MethodParameters:
Name Flags
serializedException
silent
bailout
permanentBailout
graphTooBig
public final void log(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: invokestatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.runtime:()Lorg/graalvm/compiler/truffle/runtime/GraalTruffleRuntime;
aload 0
aload 1
invokevirtual org.graalvm.compiler.truffle.runtime.GraalTruffleRuntime.log:(Lorg/graalvm/compiler/truffle/common/CompilableTruffleAST;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/truffle/runtime/OptimizedCallTarget;
0 2 1 message Ljava/lang/String;
MethodParameters:
Name Flags
message
public final int getKnownCallSiteCount();
descriptor: ()I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callSitesKnown:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
public final org.graalvm.compiler.truffle.runtime.OptimizedCallTarget getSourceCallTarget();
descriptor: ()Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.sourceCallTarget:Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
public final java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=1
start local 0 0: invokestatic com.oracle.truffle.api.CompilerAsserts.neverPartOfCompilation:()V
1: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.nameCache:Ljava/lang/String;
astore 1
start local 1 2: aload 1
ifnonnull 5
3: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.rootNode:Lcom/oracle/truffle/api/nodes/RootNode;
invokevirtual com.oracle.truffle.api.nodes.RootNode.toString:()Ljava/lang/String;
astore 1
4: aload 0
aload 1
putfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.nameCache:Ljava/lang/String;
5: StackMap locals: java.lang.String
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
2 6 1 result Ljava/lang/String;
public final java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=2, args_size=1
start local 0 0: invokestatic com.oracle.truffle.api.CompilerAsserts.neverPartOfCompilation:()V
1: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.rootNode:Lcom/oracle/truffle/api/nodes/RootNode;
invokevirtual com.oracle.truffle.api.nodes.RootNode.toString:()Ljava/lang/String;
astore 1
start local 1 2: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.sourceCallTarget:Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
ifnull 4
3: new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " <split-"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.hashCode:()I
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ">"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
4: StackMap locals: java.lang.String
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
2 5 1 superString Ljava/lang/String;
static final java.lang.Object[] castArrayFixedLength(java.lang.Object[], int);
descriptor: ([Ljava/lang/Object;I)[Ljava/lang/Object;
flags: (0x0018) ACC_STATIC, ACC_FINAL
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 args [Ljava/lang/Object;
0 1 1 length I
MethodParameters:
Name Flags
args
length
static <T> T unsafeCast(, java.lang.Class<T>, boolean, boolean, );
descriptor: (Ljava/lang/Object;Ljava/lang/Class;ZZZ)Ljava/lang/Object;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value Ljava/lang/Object;
0 1 1 type Ljava/lang/Class<TT;>;
0 1 2 condition Z
0 1 3 nonNull Z
0 1 4 exact Z
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Object;Ljava/lang/Class<TT;>;ZZZ)TT;
MethodParameters:
Name Flags
value
type
condition
nonNull
exact
public static com.oracle.truffle.api.frame.VirtualFrame createFrame(com.oracle.truffle.api.frame.FrameDescriptor, java.lang.Object[]);
descriptor: (Lcom/oracle/truffle/api/frame/FrameDescriptor;[Ljava/lang/Object;)Lcom/oracle/truffle/api/frame/VirtualFrame;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new org.graalvm.compiler.truffle.runtime.FrameWithoutBoxing
dup
aload 0
aload 1
invokespecial org.graalvm.compiler.truffle.runtime.FrameWithoutBoxing.<init>:(Lcom/oracle/truffle/api/frame/FrameDescriptor;[Ljava/lang/Object;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 descriptor Lcom/oracle/truffle/api/frame/FrameDescriptor;
0 1 1 args [Ljava/lang/Object;
MethodParameters:
Name Flags
descriptor
args
final void onLoopCount(int);
descriptor: (I)V
flags: (0x0010) ACC_FINAL
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.$assertionsDisabled:Z
ifne 1
iload 1
ifge 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callAndLoopCount:I
istore 2
start local 2 2: iload 2
iload 1
iadd
istore 3
start local 3 3: aload 0
iload 3
iload 2
if_icmplt 4
iload 3
goto 5
StackMap locals: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget int int int
StackMap stack: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget
4: ldc 2147483647
StackMap locals: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget int int int
StackMap stack: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget int
5: putfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callAndLoopCount:I
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
0 7 1 count I
2 7 2 oldLoopCallCount I
3 7 3 newLoopCallCount I
MethodParameters:
Name Flags
count
public final boolean nodeReplaced(com.oracle.truffle.api.nodes.Node, com.oracle.truffle.api.nodes.Node, java.lang.CharSequence);
descriptor: (Lcom/oracle/truffle/api/nodes/Node;Lcom/oracle/truffle/api/nodes/Node;Ljava/lang/CharSequence;)Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: invokestatic com.oracle.truffle.api.CompilerAsserts.neverPartOfCompilation:()V
1: aload 0
aload 3
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.invalidate:(Ljava/lang/CharSequence;)Z
pop
2: aload 0
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.invalidateNodeRewritingAssumption:()V
3: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
0 4 1 oldNode Lcom/oracle/truffle/api/nodes/Node;
0 4 2 newNode Lcom/oracle/truffle/api/nodes/Node;
0 4 3 reason Ljava/lang/CharSequence;
MethodParameters:
Name Flags
oldNode
newNode
reason
public final void accept(com.oracle.truffle.api.nodes.NodeVisitor);
descriptor: (Lcom/oracle/truffle/api/nodes/NodeVisitor;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.getRootNode:()Lcom/oracle/truffle/api/nodes/RootNode;
aload 1
invokevirtual com.oracle.truffle.api.nodes.RootNode.accept:(Lcom/oracle/truffle/api/nodes/NodeVisitor;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
0 2 1 visitor Lcom/oracle/truffle/api/nodes/NodeVisitor;
MethodParameters:
Name Flags
visitor
public final int getNonTrivialNodeCount();
descriptor: ()I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.cachedNonTrivialNodeCount:I
iconst_m1
if_icmpne 2
1: aload 0
aload 0
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.getRootNode:()Lcom/oracle/truffle/api/nodes/RootNode;
invokestatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.calculateNonTrivialNodes:(Lcom/oracle/truffle/api/nodes/Node;)I
putfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.cachedNonTrivialNodeCount:I
2: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.cachedNonTrivialNodeCount:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
public final int getCallCount();
descriptor: ()I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callCount:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
public final int getCallAndLoopCount();
descriptor: ()I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callAndLoopCount:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
public final long getInitializedTimestamp();
descriptor: ()J
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.initializedTimestamp:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
public static int calculateNonTrivialNodes(com.oracle.truffle.api.nodes.Node);
descriptor: (Lcom/oracle/truffle/api/nodes/Node;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$NonTrivialNodeCountVisitor
dup
invokespecial org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$NonTrivialNodeCountVisitor.<init>:()V
astore 1
start local 1 1: aload 0
aload 1
invokevirtual com.oracle.truffle.api.nodes.Node.accept:(Lcom/oracle/truffle/api/nodes/NodeVisitor;)V
2: aload 1
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$NonTrivialNodeCountVisitor.nodeCount:I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 node Lcom/oracle/truffle/api/nodes/Node;
1 3 1 visitor Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$NonTrivialNodeCountVisitor;
MethodParameters:
Name Flags
node
public final java.util.Map<java.lang.String, java.lang.Object> getDebugProperties();
descriptor: ()Ljava/util/Map;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=6, args_size=1
start local 0 0: new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
astore 1
start local 1 1: aload 0
aload 1
invokestatic org.graalvm.compiler.truffle.runtime.GraalTruffleRuntimeListener.addASTSizeProperty:(Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;Ljava/util/Map;)V
2: ldc "%7d/%5d"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.getCallCount:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.engine:Lorg/graalvm/compiler/truffle/runtime/EngineData;
getfield org.graalvm.compiler.truffle.runtime.EngineData.callThresholdInInterpreter:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 2
start local 2 3: ldc "%7d/%5d"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.getCallAndLoopCount:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.engine:Lorg/graalvm/compiler/truffle/runtime/EngineData;
getfield org.graalvm.compiler.truffle.runtime.EngineData.callAndLoopThresholdInInterpreter:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 3
start local 3 4: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.engine:Lorg/graalvm/compiler/truffle/runtime/EngineData;
getfield org.graalvm.compiler.truffle.runtime.EngineData.multiTier:Z
ifeq 16
5: aload 0
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.isValidLastTier:()Z
ifeq 12
6: ldc "%7d/%5d"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.getCallCount:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.engine:Lorg/graalvm/compiler/truffle/runtime/EngineData;
getfield org.graalvm.compiler.truffle.runtime.EngineData.callThresholdInFirstTier:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 4
start local 4 7: ldc "%7d/%5d"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.getCallCount:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.engine:Lorg/graalvm/compiler/truffle/runtime/EngineData;
getfield org.graalvm.compiler.truffle.runtime.EngineData.callAndLoopThresholdInFirstTier:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 5
start local 5 8: aload 1
ldc "Tier"
ldc "Last"
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
9: aload 1
ldc "Calls/Thres"
aload 4
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
10: aload 1
ldc "CallsAndLoop/Thres"
aload 5
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 5 end local 4 11: goto 18
12: StackMap locals: java.util.Map java.lang.String java.lang.String
StackMap stack:
aload 1
ldc "Tier"
ldc "First"
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
13: aload 1
ldc "Calls/Thres"
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
14: aload 1
ldc "CallsAndLoop/Thres"
aload 3
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
15: goto 18
16: StackMap locals:
StackMap stack:
aload 1
ldc "Calls/Thres"
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
17: aload 1
ldc "CallsAndLoop/Thres"
aload 3
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
18: StackMap locals:
StackMap stack:
aload 1
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
1 19 1 properties Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
3 19 2 callsThresholdInInterpreter Ljava/lang/String;
4 19 3 loopsThresholdInInterpreter Ljava/lang/String;
7 11 4 callsThresholdInFirstTier Ljava/lang/String;
8 11 5 loopsThresholdInFirstTier Ljava/lang/String;
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
public final org.graalvm.compiler.truffle.common.TruffleCallNode[] getCallNodes();
descriptor: ()[Lorg/graalvm/compiler/truffle/common/TruffleCallNode;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=2, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: aload 0
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.getRootNode:()Lcom/oracle/truffle/api/nodes/RootNode;
new org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$1
dup
aload 0
aload 1
invokespecial org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$1.<init>:(Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;Ljava/util/List;)V
invokevirtual com.oracle.truffle.api.nodes.RootNode.accept:(Lcom/oracle/truffle/api/nodes/NodeVisitor;)V
2: aload 1
iconst_0
anewarray org.graalvm.compiler.truffle.common.TruffleCallNode
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast org.graalvm.compiler.truffle.common.TruffleCallNode[]
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
1 3 1 callNodes Ljava/util/List<Lorg/graalvm/compiler/truffle/runtime/OptimizedDirectCallNode;>;
public final com.oracle.truffle.api.CompilerOptions getCompilerOptions();
descriptor: ()Lcom/oracle/truffle/api/CompilerOptions;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.rootNode:Lcom/oracle/truffle/api/nodes/RootNode;
invokevirtual com.oracle.truffle.api.nodes.RootNode.getCompilerOptions:()Lcom/oracle/truffle/api/CompilerOptions;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
areturn
3: StackMap locals: com.oracle.truffle.api.CompilerOptions
StackMap stack:
getstatic com.oracle.truffle.api.impl.DefaultCompilerOptions.INSTANCE:Lcom/oracle/truffle/api/impl/DefaultCompilerOptions;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
1 4 1 options Lcom/oracle/truffle/api/CompilerOptions;
final void initializeUnsafeArgumentTypes(java.lang.Class<?>[]);
descriptor: ([Ljava/lang/Class;)V
flags: (0x0010) ACC_FINAL
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: invokestatic com.oracle.truffle.api.CompilerAsserts.neverPartOfCompilation:()V
1: new org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ArgumentsProfile
dup
aload 1
ldc "Custom profiled argument types"
invokespecial org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ArgumentsProfile.<init>:([Ljava/lang/Class;Ljava/lang/String;)V
astore 2
start local 2 2: aload 0
aconst_null
aload 2
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.updateArgumentsProfile:(Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ArgumentsProfile;Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ArgumentsProfile;)Z
ifeq 5
3: aload 0
iconst_1
putfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callProfiled:Z
4: goto 7
5: StackMap locals: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ArgumentsProfile
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.transitionToInvalidArgumentsProfile:()V
6: new java.lang.AssertionError
dup
ldc "Argument types already initialized. initializeArgumentTypes() must be called before any profile is initialized."
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
7: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
0 8 1 argumentTypes [Ljava/lang/Class;
2 8 2 newProfile Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ArgumentsProfile;
Signature: ([Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
argumentTypes
final boolean isValidArgumentProfile(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)Z
flags: (0x0010) ACC_FINAL
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callProfiled:Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.argumentsProfile:Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ArgumentsProfile;
astore 2
start local 2 2: aload 2
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ArgumentsProfile.assumption:Lorg/graalvm/compiler/truffle/runtime/OptimizedAssumption;
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedAssumption.isValid:()Z
ifeq 3
aload 1
aload 2
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ArgumentsProfile.types:[Ljava/lang/Class;
invokestatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.checkProfiledArgumentTypes:([Ljava/lang/Object;[Ljava/lang/Class;)Z
ifeq 3
iconst_1
ireturn
StackMap locals: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ArgumentsProfile
StackMap stack:
3: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
0 4 1 args [Ljava/lang/Object;
2 4 2 argumentsProfile Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ArgumentsProfile;
MethodParameters:
Name Flags
args
private static boolean checkProfiledArgumentTypes([], java.lang.Class<?>[]);
descriptor: ([Ljava/lang/Object;[Ljava/lang/Class;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.$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
arraylength
aload 1
arraylength
if_icmpeq 3
2: new java.lang.ArrayIndexOutOfBoundsException
dup
invokespecial java.lang.ArrayIndexOutOfBoundsException.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 1
iconst_0
aaload
aload 0
iconst_0
aaload
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 5
4: new java.lang.ClassCastException
dup
invokespecial java.lang.ClassCastException.<init>:()V
athrow
5: StackMap locals:
StackMap stack:
iconst_1
istore 2
start local 2 6: goto 12
7: StackMap locals: int
StackMap stack:
aload 1
iload 2
aaload
ifnonnull 9
8: goto 11
9: StackMap locals:
StackMap stack:
aload 1
iload 2
aaload
aload 0
iload 2
aaload
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
pop
10: aload 0
iload 2
aaload
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
11: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
12: iload 2
aload 1
arraylength
if_icmplt 7
end local 2 13: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 args [Ljava/lang/Object;
0 14 1 types [Ljava/lang/Class;
6 13 2 j I
Signature: ([Ljava/lang/Object;[Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
args
types
public final void stopProfilingArguments();
descriptor: ()V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=1
start local 0 0: getstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callProfiled:Z
ifeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.argumentsProfile:Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ArgumentsProfile;
astore 1
start local 1 2: aload 1
getstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ArgumentsProfile.INVALID:Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ArgumentsProfile;
if_acmpeq 5
3: invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreter:()V
4: aload 0
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.transitionToInvalidArgumentsProfile:()V
5: StackMap locals: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ArgumentsProfile
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
2 6 1 argumentsProfile Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ArgumentsProfile;
private void transitionToInvalidArgumentsProfile();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.argumentsProfile:Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ArgumentsProfile;
astore 1
start local 1 1: aload 1
getstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ArgumentsProfile.INVALID:Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ArgumentsProfile;
if_acmpne 3
2: return
3: StackMap locals: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ArgumentsProfile
StackMap stack:
aload 0
aload 1
getstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ArgumentsProfile.INVALID:Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ArgumentsProfile;
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.updateArgumentsProfile:(Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ArgumentsProfile;Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ArgumentsProfile;)Z
ifeq 0
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
1 5 1 oldProfile Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ArgumentsProfile;
private boolean updateArgumentsProfile(org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ArgumentsProfile, org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ArgumentsProfile);
descriptor: (Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ArgumentsProfile;Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ArgumentsProfile;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 2
1: aload 1
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ArgumentsProfile.assumption:Lorg/graalvm/compiler/truffle/runtime/OptimizedAssumption;
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedAssumption.invalidate:()V
2: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.ARGUMENTS_PROFILE_UPDATER:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
aload 0
aload 1
aload 2
invokevirtual java.util.concurrent.atomic.AtomicReferenceFieldUpdater.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
0 3 1 oldProfile Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ArgumentsProfile;
0 3 2 newProfile Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ArgumentsProfile;
MethodParameters:
Name Flags
oldProfile
newProfile
public final void profileArguments(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callProfiled:Z
ifeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.argumentsProfile:Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ArgumentsProfile;
astore 2
start local 2 2: aload 2
ifnonnull 6
3: invokestatic com.oracle.truffle.api.CompilerDirectives.inInterpreter:()Z
ifeq 23
4: aload 0
aload 1
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.initializeProfiledArgumentTypes:([Ljava/lang/Object;)V
5: goto 23
6: StackMap locals: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ArgumentsProfile
StackMap stack:
aload 2
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ArgumentsProfile.types:[Ljava/lang/Class;
astore 3
start local 3 7: aload 3
ifnull 23
8: aload 3
arraylength
aload 1
arraylength
if_icmpeq 12
9: invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreterAndInvalidate:()V
10: aload 0
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.transitionToInvalidArgumentsProfile:()V
11: goto 23
StackMap locals: java.lang.Class[]
StackMap stack:
12: aload 2
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ArgumentsProfile.assumption:Lorg/graalvm/compiler/truffle/runtime/OptimizedAssumption;
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedAssumption.isValid:()Z
ifeq 23
13: iconst_0
istore 4
start local 4 14: goto 22
15: StackMap locals: int
StackMap stack:
aload 3
iload 4
aaload
astore 5
start local 5 16: aload 1
iload 4
aaload
astore 6
start local 6 17: aload 5
ifnull 21
aload 6
ifnull 18
aload 6
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 5
if_acmpeq 21
18: StackMap locals: java.lang.Class java.lang.Object
StackMap stack:
invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreterAndInvalidate:()V
19: aload 0
aload 1
aload 2
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.updateProfiledArgumentTypes:([Ljava/lang/Object;Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ArgumentsProfile;)V
20: goto 23
end local 6 end local 5 21: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
22: iload 4
aload 3
arraylength
if_icmplt 15
end local 4 end local 3 23: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
0 24 1 args [Ljava/lang/Object;
2 24 2 argumentsProfile Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ArgumentsProfile;
7 23 3 types [Ljava/lang/Class;
14 23 4 i I
16 21 5 type Ljava/lang/Class<*>;
17 21 6 value Ljava/lang/Object;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.ExplodeLoop()
MethodParameters:
Name Flags
args
private void initializeProfiledArgumentTypes(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: invokestatic com.oracle.truffle.api.CompilerAsserts.neverPartOfCompilation:()V
1: getstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.$assertionsDisabled:Z
ifne 2
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callProfiled:Z
ifeq 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 1
arraylength
sipush 256
if_icmpgt 13
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.engine:Lorg/graalvm/compiler/truffle/runtime/EngineData;
getfield org.graalvm.compiler.truffle.runtime.EngineData.argumentTypeSpeculation:Z
ifeq 13
3: aload 1
arraylength
ifne 4
getstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ArgumentsProfile.EMPTY_ARGUMENT_TYPES:[Ljava/lang/Class;
goto 5
StackMap locals:
StackMap stack:
4: aload 1
arraylength
anewarray java.lang.Class
StackMap locals:
StackMap stack: java.lang.Class[]
5: astore 3
start local 3 6: iconst_0
istore 4
start local 4 7: goto 10
8: StackMap locals: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget java.lang.Object[] top java.lang.Class[] int
StackMap stack:
aload 3
iload 4
aload 1
iload 4
aaload
invokestatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.classOf:(Ljava/lang/Object;)Ljava/lang/Class;
aastore
9: iinc 4 1
StackMap locals:
StackMap stack:
10: iload 4
aload 1
arraylength
if_icmplt 8
end local 4 11: new org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ArgumentsProfile
dup
aload 3
ldc "Profiled Argument Types"
invokespecial org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ArgumentsProfile.<init>:([Ljava/lang/Class;Ljava/lang/String;)V
astore 2
end local 3 start local 2 12: goto 14
end local 2 13: StackMap locals: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget java.lang.Object[]
StackMap stack:
getstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ArgumentsProfile.INVALID:Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ArgumentsProfile;
astore 2
start local 2 14: StackMap locals: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ArgumentsProfile
StackMap stack:
aload 0
aconst_null
aload 2
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.updateArgumentsProfile:(Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ArgumentsProfile;Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ArgumentsProfile;)Z
ifne 16
15: aload 0
aload 1
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.profileArguments:([Ljava/lang/Object;)V
16: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
0 17 1 args [Ljava/lang/Object;
12 13 2 newProfile Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ArgumentsProfile;
14 17 2 newProfile Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ArgumentsProfile;
6 12 3 types [Ljava/lang/Class;
7 11 4 i I
MethodParameters:
Name Flags
args
private void updateProfiledArgumentTypes(java.lang.Object[], org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ArgumentsProfile);
descriptor: ([Ljava/lang/Object;Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ArgumentsProfile;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: invokestatic com.oracle.truffle.api.CompilerAsserts.neverPartOfCompilation:()V
1: getstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.$assertionsDisabled:Z
ifne 2
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callProfiled:Z
ifeq 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 2
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ArgumentsProfile.types:[Ljava/lang/Class;
astore 3
start local 3 3: aload 2
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ArgumentsProfile.types:[Ljava/lang/Class;
arraylength
anewarray java.lang.Class
astore 4
start local 4 4: iconst_0
istore 5
start local 5 5: goto 8
6: StackMap locals: java.lang.Class[] java.lang.Class[] int
StackMap stack:
aload 4
iload 5
aload 3
iload 5
aaload
aload 1
iload 5
aaload
invokestatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.classOf:(Ljava/lang/Object;)Ljava/lang/Class;
invokestatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.joinTypes:(Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/Class;
aastore
7: iinc 5 1
StackMap locals:
StackMap stack:
8: iload 5
aload 3
arraylength
if_icmplt 6
end local 5 9: new org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ArgumentsProfile
dup
aload 4
ldc "Profiled Argument Types"
invokespecial org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ArgumentsProfile.<init>:([Ljava/lang/Class;Ljava/lang/String;)V
astore 5
start local 5 10: aload 0
aload 2
aload 5
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.updateArgumentsProfile:(Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ArgumentsProfile;Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ArgumentsProfile;)Z
ifne 12
11: aload 0
aload 1
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.profileArguments:([Ljava/lang/Object;)V
12: StackMap locals: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget java.lang.Object[] org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ArgumentsProfile java.lang.Class[] java.lang.Class[] org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ArgumentsProfile
StackMap stack:
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 13 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
0 13 1 args [Ljava/lang/Object;
0 13 2 oldProfile Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ArgumentsProfile;
3 13 3 oldTypes [Ljava/lang/Class;
4 13 4 newTypes [Ljava/lang/Class;
5 9 5 j I
10 13 5 newProfile Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ArgumentsProfile;
MethodParameters:
Name Flags
args
oldProfile
public final java.lang.Object[] injectArgumentsProfile(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)[Ljava/lang/Object;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.$assertionsDisabled:Z
ifne 1
invokestatic com.oracle.truffle.api.CompilerDirectives.inCompiledCode:()Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.argumentsProfile:Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ArgumentsProfile;
astore 2
start local 2 2: aload 1
astore 3
start local 3 3: aload 2
ifnull 7
aload 2
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ArgumentsProfile.assumption:Lorg/graalvm/compiler/truffle/runtime/OptimizedAssumption;
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedAssumption.isValid:()Z
ifeq 7
4: aload 2
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ArgumentsProfile.types:[Ljava/lang/Class;
astore 4
start local 4 5: aload 3
aload 4
arraylength
invokestatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.castArrayFixedLength:([Ljava/lang/Object;I)[Ljava/lang/Object;
ldc [Ljava/lang/Object;
iconst_1
iconst_1
iconst_1
invokestatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.unsafeCast:(Ljava/lang/Object;Ljava/lang/Class;ZZZ)Ljava/lang/Object;
checkcast java.lang.Object[]
astore 3
6: aload 0
aload 3
aload 4
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.castArgumentsImpl:([Ljava/lang/Object;[Ljava/lang/Class;)[Ljava/lang/Object;
astore 3
end local 4 7: StackMap locals: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ArgumentsProfile java.lang.Object[]
StackMap stack:
aload 3
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/truffle/runtime/OptimizedCallTarget;
0 8 1 originalArguments [Ljava/lang/Object;
2 8 2 argumentsProfile Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ArgumentsProfile;
3 8 3 args [Ljava/lang/Object;
5 7 4 types [Ljava/lang/Class;
MethodParameters:
Name Flags
originalArguments
private [] castArgumentsImpl([], java.lang.Class<?>[]);
descriptor: ([Ljava/lang/Object;[Ljava/lang/Class;)[Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 2
arraylength
anewarray java.lang.Object
astore 3
start local 3 1: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callProfiled:Z
istore 4
start local 4 2: iconst_0
istore 5
start local 5 3: goto 12
4: StackMap locals: java.lang.Object[] int int
StackMap stack:
aload 2
iload 5
aaload
astore 6
start local 6 5: iload 4
ifeq 6
iload 5
ifeq 6
iconst_0
goto 7
StackMap locals: java.lang.Class
StackMap stack:
6: iconst_1
StackMap locals:
StackMap stack: int
7: istore 7
start local 7 8: aload 3
iload 5
aload 6
ifnull 9
aload 1
iload 5
aaload
aload 6
iconst_1
iconst_1
iload 7
invokestatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.unsafeCast:(Ljava/lang/Object;Ljava/lang/Class;ZZZ)Ljava/lang/Object;
goto 10
StackMap locals: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget java.lang.Object[] java.lang.Class[] java.lang.Object[] int int java.lang.Class int
StackMap stack: java.lang.Object[] int
9: aload 1
iload 5
aaload
StackMap locals: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget java.lang.Object[] java.lang.Class[] java.lang.Object[] int int java.lang.Class int
StackMap stack: java.lang.Object[] int java.lang.Object
10: aastore
end local 7 end local 6 11: iinc 5 1
StackMap locals:
StackMap stack:
12: iload 5
aload 2
arraylength
if_icmplt 4
end local 5 13: aload 3
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
0 14 1 originalArguments [Ljava/lang/Object;
0 14 2 types [Ljava/lang/Class;
1 14 3 castArguments [Ljava/lang/Object;
2 14 4 isCallProfiled Z
3 13 5 i I
5 11 6 targetType Ljava/lang/Class<*>;
8 11 7 exact Z
Signature: ([Ljava/lang/Object;[Ljava/lang/Class<*>;)[Ljava/lang/Object;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.ExplodeLoop()
MethodParameters:
Name Flags
originalArguments
types
protected final org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ArgumentsProfile getInitializedArgumentsProfile();
descriptor: ()Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ArgumentsProfile;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.argumentsProfile:Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ArgumentsProfile;
ifnonnull 4
1: invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreterAndInvalidate:()V
2: aload 0
aconst_null
getstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ArgumentsProfile.INVALID:Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ArgumentsProfile;
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.updateArgumentsProfile:(Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ArgumentsProfile;Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ArgumentsProfile;)Z
pop
3: getstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.$assertionsDisabled:Z
ifne 4
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.argumentsProfile:Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ArgumentsProfile;
ifnonnull 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.argumentsProfile:Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ArgumentsProfile;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
private void profileReturnValue(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.returnProfile:Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ReturnProfile;
astore 2
start local 2 1: aload 2
ifnonnull 10
2: invokestatic com.oracle.truffle.api.CompilerDirectives.inInterpreter:()Z
ifeq 15
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.engine:Lorg/graalvm/compiler/truffle/runtime/EngineData;
getfield org.graalvm.compiler.truffle.runtime.EngineData.returnTypeSpeculation:Z
ifeq 15
3: aload 1
invokestatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.classOf:(Ljava/lang/Object;)Ljava/lang/Class;
astore 3
start local 3 4: aload 3
ifnonnull 5
getstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ReturnProfile.INVALID:Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ReturnProfile;
goto 6
StackMap locals: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ReturnProfile java.lang.Class
StackMap stack:
5: new org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ReturnProfile
dup
aload 3
invokespecial org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ReturnProfile.<init>:(Ljava/lang/Class;)V
StackMap locals:
StackMap stack: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ReturnProfile
6: astore 4
start local 4 7: getstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.RETURN_PROFILE_UPDATER:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
aload 0
aconst_null
aload 4
invokevirtual java.util.concurrent.atomic.AtomicReferenceFieldUpdater.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 15
8: aload 0
aload 1
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.profileReturnValue:(Ljava/lang/Object;)V
end local 4 end local 3 9: goto 15
10: StackMap locals:
StackMap stack:
aload 2
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ReturnProfile.assumption:Lorg/graalvm/compiler/truffle/runtime/OptimizedAssumption;
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedAssumption.isValid:()Z
ifeq 15
aload 1
ifnull 11
aload 2
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ReturnProfile.type:Ljava/lang/Class;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 15
11: StackMap locals:
StackMap stack:
invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreterAndInvalidate:()V
12: aload 2
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ReturnProfile.assumption:Lorg/graalvm/compiler/truffle/runtime/OptimizedAssumption;
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedAssumption.invalidate:()V
13: getstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.RETURN_PROFILE_UPDATER:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
aload 0
getstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ReturnProfile.INVALID:Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ReturnProfile;
invokevirtual java.util.concurrent.atomic.AtomicReferenceFieldUpdater.getAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ReturnProfile
astore 3
start local 3 14: getstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.$assertionsDisabled:Z
ifne 15
aload 3
aload 2
if_acmpeq 15
aload 3
getstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ReturnProfile.INVALID:Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ReturnProfile;
if_acmpeq 15
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
end local 3 15: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
0 16 1 result Ljava/lang/Object;
1 16 2 returnProfile Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ReturnProfile;
4 9 3 type Ljava/lang/Class<*>;
7 9 4 newProfile Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ReturnProfile;
14 15 3 previous Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ReturnProfile;
MethodParameters:
Name Flags
result
private java.lang.Object injectReturnValueProfile(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.returnProfile:Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ReturnProfile;
astore 2
start local 2 1: invokestatic com.oracle.truffle.api.CompilerDirectives.inCompiledCode:()Z
ifeq 3
aload 2
ifnull 3
aload 2
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ReturnProfile.assumption:Lorg/graalvm/compiler/truffle/runtime/OptimizedAssumption;
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedAssumption.isValid:()Z
ifeq 3
2: aload 1
aload 2
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ReturnProfile.type:Ljava/lang/Class;
iconst_1
iconst_1
iconst_1
invokestatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.unsafeCast:(Ljava/lang/Object;Ljava/lang/Class;ZZZ)Ljava/lang/Object;
areturn
3: StackMap locals: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ReturnProfile
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
0 4 1 result Ljava/lang/Object;
1 4 2 returnProfile Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ReturnProfile;
MethodParameters:
Name Flags
result
protected final org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ReturnProfile getInitializedReturnProfile();
descriptor: ()Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ReturnProfile;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.returnProfile:Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ReturnProfile;
ifnonnull 4
1: invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreterAndInvalidate:()V
2: getstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.RETURN_PROFILE_UPDATER:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
aload 0
aconst_null
getstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ReturnProfile.INVALID:Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ReturnProfile;
invokevirtual java.util.concurrent.atomic.AtomicReferenceFieldUpdater.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
pop
3: getstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.$assertionsDisabled:Z
ifne 4
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.returnProfile:Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ReturnProfile;
ifnonnull 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.returnProfile:Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ReturnProfile;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
private <T extends java.lang.Throwable> T profileExceptionType();
descriptor: (Ljava/lang/Throwable;)Ljava/lang/Throwable;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.profiledExceptionType:Ljava/lang/Class;
astore 2
start local 2 1: aload 2
ldc Ljava/lang/Throwable;
if_acmpeq 11
2: aload 2
ifnull 6
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 2
if_acmpne 6
3: invokestatic com.oracle.truffle.api.CompilerDirectives.inInterpreter:()Z
ifeq 5
4: aload 1
areturn
5: StackMap locals: java.lang.Class
StackMap stack:
aload 1
aload 2
invokestatic com.oracle.truffle.api.CompilerDirectives.castExact:(Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object;
checkcast java.lang.Throwable
areturn
6: StackMap locals:
StackMap stack:
invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreterAndInvalidate:()V
7: aload 2
ifnonnull 10
8: aload 0
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
putfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.profiledExceptionType:Ljava/lang/Class;
9: goto 11
10: StackMap locals:
StackMap stack:
aload 0
ldc Ljava/lang/Throwable;
putfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.profiledExceptionType:Ljava/lang/Class;
11: StackMap locals:
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
0 12 1 value TT;
1 12 2 clazz Ljava/lang/Class<+Ljava/lang/Throwable;>;
Signature: <T:Ljava/lang/Throwable;>(TT;)TT;
MethodParameters:
Name Flags
value
private static java.lang.Class<?> classOf();
descriptor: (Ljava/lang/Object;)Ljava/lang/Class;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
goto 2
StackMap locals:
StackMap stack:
1: aconst_null
StackMap locals:
StackMap stack: java.lang.Class
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 arg Ljava/lang/Object;
Signature: (Ljava/lang/Object;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
arg
private static java.lang.Class<?> joinTypes(java.lang.Class<?>, java.lang.Class<?>);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/Class;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: aload 0
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 class1 Ljava/lang/Class<*>;
0 3 1 class2 Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<*>;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
class1
class2
private static org.graalvm.compiler.truffle.runtime.OptimizedAssumption createInvalidAssumption(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/graalvm/compiler/truffle/runtime/OptimizedAssumption;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokestatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.createValidAssumption:(Ljava/lang/String;)Lorg/graalvm/compiler/truffle/runtime/OptimizedAssumption;
astore 1
start local 1 1: aload 1
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedAssumption.invalidate:()V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 name Ljava/lang/String;
1 3 1 result Lorg/graalvm/compiler/truffle/runtime/OptimizedAssumption;
MethodParameters:
Name Flags
name
private static org.graalvm.compiler.truffle.runtime.OptimizedAssumption createValidAssumption(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/graalvm/compiler/truffle/runtime/OptimizedAssumption;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic com.oracle.truffle.api.Truffle.getRuntime:()Lcom/oracle/truffle/api/TruffleRuntime;
aload 0
invokeinterface com.oracle.truffle.api.TruffleRuntime.createAssumption:(Ljava/lang/String;)Lcom/oracle/truffle/api/Assumption;
checkcast org.graalvm.compiler.truffle.runtime.OptimizedAssumption
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public final boolean isSplit();
descriptor: ()Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.sourceCallTarget:Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
public final org.graalvm.compiler.truffle.runtime.OptimizedDirectCallNode getCallSiteForSplit();
descriptor: ()Lorg/graalvm/compiler/truffle/runtime/OptimizedDirectCallNode;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.isSplit:()Z
ifeq 4
1: aload 0
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.getSingleCallNode:()Lorg/graalvm/compiler/truffle/runtime/OptimizedDirectCallNode;
astore 1
start local 1 2: getstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.$assertionsDisabled:Z
ifne 3
aload 1
ifnonnull 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals: org.graalvm.compiler.truffle.runtime.OptimizedDirectCallNode
StackMap stack:
aload 1
areturn
end local 1 4: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
2 4 1 callNode Lorg/graalvm/compiler/truffle/runtime/OptimizedDirectCallNode;
final int getUninitializedNodeCount();
descriptor: ()I
flags: (0x0010) ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.uninitializedNodeCount:I
ifge 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.uninitializedNodeCount:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
public final boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
0 2 1 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
public final int hashCode();
descriptor: ()I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.lang.System.identityHashCode:(Ljava/lang/Object;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
final org.graalvm.compiler.truffle.runtime.CompilationTask getCompilationTask();
descriptor: ()Lorg/graalvm/compiler/truffle/runtime/CompilationTask;
flags: (0x0010) ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.compilationTask:Lorg/graalvm/compiler/truffle/runtime/CompilationTask;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
final synchronized void resetCompilationTask();
descriptor: ()V
flags: (0x0030) ACC_FINAL, ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.compilationTask:Lorg/graalvm/compiler/truffle/runtime/CompilationTask;
ifnonnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.compilationTask:Lorg/graalvm/compiler/truffle/runtime/CompilationTask;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
final synchronized void addDirectCallNode(org.graalvm.compiler.truffle.runtime.OptimizedDirectCallNode);
descriptor: (Lorg/graalvm/compiler/truffle/runtime/OptimizedDirectCallNode;)V
flags: (0x0030) ACC_FINAL, ACC_SYNCHRONIZED
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.singleCallNode:Ljava/lang/ref/WeakReference;
astore 2
start local 2 2: aload 2
getstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.MULTIPLE_CALLS:Ljava/lang/ref/WeakReference;
if_acmpeq 9
3: aload 2
getstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.NO_CALL:Ljava/lang/ref/WeakReference;
if_acmpne 6
4: aload 0
new java.lang.ref.WeakReference
dup
aload 1
invokespecial java.lang.ref.WeakReference.<init>:(Ljava/lang/Object;)V
putfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.singleCallNode:Ljava/lang/ref/WeakReference;
5: goto 9
StackMap locals: java.lang.ref.WeakReference
StackMap stack:
6: aload 2
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
aload 1
if_acmpne 8
7: return
8: StackMap locals:
StackMap stack:
aload 0
getstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.MULTIPLE_CALLS:Ljava/lang/ref/WeakReference;
putfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.singleCallNode:Ljava/lang/ref/WeakReference;
9: StackMap locals:
StackMap stack:
aload 0
dup
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callSitesKnown:I
iconst_1
iadd
putfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callSitesKnown:I
10: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
0 11 1 directCallNode Lorg/graalvm/compiler/truffle/runtime/OptimizedDirectCallNode;
2 11 2 nodeRef Ljava/lang/ref/WeakReference<Lorg/graalvm/compiler/truffle/runtime/OptimizedDirectCallNode;>;
RuntimeInvisibleAnnotations:
org.graalvm.compiler.truffle.runtime.SuppressFBWarnings(value = {"VO_VOLATILE_INCREMENT"}, justification = "All increments and decrements are synchronized.")
MethodParameters:
Name Flags
directCallNode
final synchronized void removeDirectCallNode(org.graalvm.compiler.truffle.runtime.OptimizedDirectCallNode);
descriptor: (Lorg/graalvm/compiler/truffle/runtime/OptimizedDirectCallNode;)V
flags: (0x0030) ACC_FINAL, ACC_SYNCHRONIZED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.singleCallNode:Ljava/lang/ref/WeakReference;
astore 2
start local 2 2: aload 2
getstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.MULTIPLE_CALLS:Ljava/lang/ref/WeakReference;
if_acmpeq 9
3: aload 2
getstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.NO_CALL:Ljava/lang/ref/WeakReference;
if_acmpne 5
4: return
5: StackMap locals: java.lang.ref.WeakReference
StackMap stack:
aload 2
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
aload 1
if_acmpne 8
6: aload 0
getstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.NO_CALL:Ljava/lang/ref/WeakReference;
putfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.singleCallNode:Ljava/lang/ref/WeakReference;
7: goto 9
8: StackMap locals:
StackMap stack:
aload 0
getstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.MULTIPLE_CALLS:Ljava/lang/ref/WeakReference;
putfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.singleCallNode:Ljava/lang/ref/WeakReference;
9: StackMap locals:
StackMap stack:
aload 0
dup
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callSitesKnown:I
iconst_1
isub
putfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callSitesKnown:I
10: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
0 11 1 directCallNode Lorg/graalvm/compiler/truffle/runtime/OptimizedDirectCallNode;
2 11 2 nodeRef Ljava/lang/ref/WeakReference<Lorg/graalvm/compiler/truffle/runtime/OptimizedDirectCallNode;>;
RuntimeInvisibleAnnotations:
org.graalvm.compiler.truffle.runtime.SuppressFBWarnings(value = {"VO_VOLATILE_INCREMENT"}, justification = "All increments and decrements are synchronized.")
MethodParameters:
Name Flags
directCallNode
public final boolean isSingleCaller();
descriptor: ()Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.singleCallNode:Ljava/lang/ref/WeakReference;
astore 1
start local 1 1: aload 1
ifnull 4
2: aload 1
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
ifnull 3
iconst_1
ireturn
StackMap locals: java.lang.ref.WeakReference
StackMap stack:
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
1 5 1 nodeRef Ljava/lang/ref/WeakReference<Lorg/graalvm/compiler/truffle/runtime/OptimizedDirectCallNode;>;
public final org.graalvm.compiler.truffle.runtime.OptimizedDirectCallNode getSingleCallNode();
descriptor: ()Lorg/graalvm/compiler/truffle/runtime/OptimizedDirectCallNode;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.singleCallNode:Ljava/lang/ref/WeakReference;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
checkcast org.graalvm.compiler.truffle.runtime.OptimizedDirectCallNode
areturn
3: StackMap locals: java.lang.ref.WeakReference
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
1 4 1 nodeRef Ljava/lang/ref/WeakReference<Lorg/graalvm/compiler/truffle/runtime/OptimizedDirectCallNode;>;
final boolean isNeedsSplit();
descriptor: ()Z
flags: (0x0010) ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.needsSplit:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
final void polymorphicSpecialize(com.oracle.truffle.api.nodes.Node);
descriptor: (Lcom/oracle/truffle/api/nodes/Node;)V
flags: (0x0010) ACC_FINAL
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.engine:Lorg/graalvm/compiler/truffle/runtime/EngineData;
getfield org.graalvm.compiler.truffle.runtime.EngineData.splittingDumpDecisions:Z
ifeq 4
2: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
3: aload 1
aload 2
invokestatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.pullOutParentChain:(Lcom/oracle/truffle/api/nodes/Node;Ljava/util/List;)V
4: StackMap locals: java.util.List
StackMap stack:
aload 0
iconst_0
ldc "Polymorphic event! Source:"
aload 1
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.logPolymorphicEvent:(ILjava/lang/String;Ljava/lang/Object;)V
5: aload 0
iconst_0
aload 2
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.maybeSetNeedsSplit:(ILjava/util/List;)Z
pop
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
0 7 1 source Lcom/oracle/truffle/api/nodes/Node;
1 7 2 toDump Ljava/util/List<Lcom/oracle/truffle/api/nodes/Node;>;
MethodParameters:
Name Flags
source
public final void resetNeedsSplit();
descriptor: ()V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.needsSplit:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
private boolean maybeSetNeedsSplit(int, java.util.List<com.oracle.truffle.api.nodes.Node>);
descriptor: (ILjava/util/List;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.getSingleCallNode:()Lorg/graalvm/compiler/truffle/runtime/OptimizedDirectCallNode;
astore 3
start local 3 1: iload 1
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.engine:Lorg/graalvm/compiler/truffle/runtime/EngineData;
getfield org.graalvm.compiler.truffle.runtime.EngineData.splittingMaxPropagationDepth:I
if_icmpgt 2
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.needsSplit:Z
ifne 2
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callSitesKnown:I
ifeq 2
aload 0
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.getCallCount:()I
iconst_1
if_icmpne 4
2: StackMap locals: org.graalvm.compiler.truffle.runtime.OptimizedDirectCallNode
StackMap stack:
aload 0
iload 1
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callSitesKnown:I
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.logEarlyReturn:(II)V
3: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.needsSplit:Z
ireturn
4: StackMap locals:
StackMap stack:
aload 3
ifnull 15
5: aload 3
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedDirectCallNode.getRootNode:()Lcom/oracle/truffle/api/nodes/RootNode;
astore 4
start local 4 6: aload 4
ifnull 18
aload 4
invokevirtual com.oracle.truffle.api.nodes.RootNode.getCallTarget:()Lcom/oracle/truffle/api/RootCallTarget;
ifnull 18
7: aload 4
invokevirtual com.oracle.truffle.api.nodes.RootNode.getCallTarget:()Lcom/oracle/truffle/api/RootCallTarget;
checkcast org.graalvm.compiler.truffle.runtime.OptimizedCallTarget
astore 5
start local 5 8: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.engine:Lorg/graalvm/compiler/truffle/runtime/EngineData;
getfield org.graalvm.compiler.truffle.runtime.EngineData.splittingDumpDecisions:Z
ifeq 10
9: aload 3
aload 2
invokestatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.pullOutParentChain:(Lcom/oracle/truffle/api/nodes/Node;Ljava/util/List;)V
10: StackMap locals: com.oracle.truffle.api.nodes.RootNode org.graalvm.compiler.truffle.runtime.OptimizedCallTarget
StackMap stack:
aload 0
iload 1
ldc "One caller! Analysing parent."
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.logPolymorphicEvent:(ILjava/lang/String;)V
11: aload 5
iload 1
iconst_1
iadd
aload 2
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.maybeSetNeedsSplit:(ILjava/util/List;)Z
ifeq 18
12: aload 0
iload 1
ldc "Set needs split to true via parent"
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.logPolymorphicEvent:(ILjava/lang/String;)V
13: aload 0
iconst_1
putfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.needsSplit:Z
end local 5 end local 4 14: goto 18
15: StackMap locals:
StackMap stack:
aload 0
iload 1
ldc "Set needs split to true"
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.logPolymorphicEvent:(ILjava/lang/String;)V
16: aload 0
iconst_1
putfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.needsSplit:Z
17: aload 0
aload 2
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.maybeDump:(Ljava/util/List;)V
18: StackMap locals:
StackMap stack:
aload 0
iload 1
ldc "Return:"
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.needsSplit:Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.logPolymorphicEvent:(ILjava/lang/String;Ljava/lang/Object;)V
19: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.needsSplit:Z
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
0 20 1 depth I
0 20 2 toDump Ljava/util/List<Lcom/oracle/truffle/api/nodes/Node;>;
1 20 3 onlyCaller Lorg/graalvm/compiler/truffle/runtime/OptimizedDirectCallNode;
6 14 4 callerRootNode Lcom/oracle/truffle/api/nodes/RootNode;
8 14 5 callerTarget Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
Signature: (ILjava/util/List<Lcom/oracle/truffle/api/nodes/Node;>;)Z
MethodParameters:
Name Flags
depth
toDump
private void logEarlyReturn(int, int);
descriptor: (II)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.engine:Lorg/graalvm/compiler/truffle/runtime/EngineData;
getfield org.graalvm.compiler.truffle.runtime.EngineData.splittingTraceEvents:Z
ifeq 2
1: aload 0
iload 1
new java.lang.StringBuilder
dup
ldc "Early return: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.needsSplit:Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
ldc " callCount: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.getCallCount:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", numberOfKnownCallNodes: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.logPolymorphicEvent:(ILjava/lang/String;)V
2: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
0 3 1 depth I
0 3 2 numberOfKnownCallNodes I
MethodParameters:
Name Flags
depth
numberOfKnownCallNodes
private void logPolymorphicEvent(int, java.lang.String);
descriptor: (ILjava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
aload 2
aconst_null
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.logPolymorphicEvent:(ILjava/lang/String;Ljava/lang/Object;)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/truffle/runtime/OptimizedCallTarget;
0 2 1 depth I
0 2 2 message Ljava/lang/String;
MethodParameters:
Name Flags
depth
message
private void logPolymorphicEvent(int, java.lang.String, java.lang.Object);
descriptor: (ILjava/lang/String;Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.engine:Lorg/graalvm/compiler/truffle/runtime/EngineData;
getfield org.graalvm.compiler.truffle.runtime.EngineData.splittingTraceEvents:Z
ifeq 6
1: new java.lang.String
dup
iload 1
newarray 5
invokespecial java.lang.String.<init>:([C)V
ldc "\u0000"
ldc " "
invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
astore 4
start local 4 2: aload 3
ifnonnull 3
ldc ""
goto 4
StackMap locals: java.lang.String
StackMap stack:
3: new java.lang.StringBuilder
dup
ldc " "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
4: astore 5
start local 5 5: aload 0
ldc "[poly-event] %-70s %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
new java.lang.StringBuilder
dup
aload 4
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
dup
iconst_1
aload 0
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.toString:()Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.log:(Ljava/lang/String;)V
end local 5 end local 4 6: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
0 7 1 depth I
0 7 2 message Ljava/lang/String;
0 7 3 arg Ljava/lang/Object;
2 6 4 indent Ljava/lang/String;
5 6 5 argString Ljava/lang/String;
MethodParameters:
Name Flags
depth
message
arg
private void maybeDump(java.util.List<com.oracle.truffle.api.nodes.Node>);
descriptor: (Ljava/util/List;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.engine:Lorg/graalvm/compiler/truffle/runtime/EngineData;
getfield org.graalvm.compiler.truffle.runtime.EngineData.splittingDumpDecisions:Z
ifeq 6
1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 2: aload 0
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.getSingleCallNode:()Lorg/graalvm/compiler/truffle/runtime/OptimizedDirectCallNode;
astore 3
start local 3 3: aload 3
ifnull 5
4: aload 2
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
5: StackMap locals: java.util.List org.graalvm.compiler.truffle.runtime.OptimizedDirectCallNode
StackMap stack:
aload 0
aload 1
invokestatic org.graalvm.compiler.truffle.runtime.PolymorphicSpecializeDump.dumpPolymorphicSpecialize:(Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;Ljava/util/List;)V
end local 3 end local 2 6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
0 7 1 toDump Ljava/util/List<Lcom/oracle/truffle/api/nodes/Node;>;
2 6 2 callers Ljava/util/List<Lorg/graalvm/compiler/truffle/runtime/OptimizedDirectCallNode;>;
3 6 3 callNode Lorg/graalvm/compiler/truffle/runtime/OptimizedDirectCallNode;
Signature: (Ljava/util/List<Lcom/oracle/truffle/api/nodes/Node;>;)V
MethodParameters:
Name Flags
toDump
private static void pullOutParentChain(com.oracle.truffle.api.nodes.Node, java.util.List<com.oracle.truffle.api.nodes.Node>);
descriptor: (Lcom/oracle/truffle/api/nodes/Node;Ljava/util/List;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
astore 2
start local 2 1: goto 4
2: StackMap locals: com.oracle.truffle.api.nodes.Node
StackMap stack:
aload 1
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: aload 2
invokevirtual com.oracle.truffle.api.nodes.Node.getParent:()Lcom/oracle/truffle/api/nodes/Node;
astore 2
4: StackMap locals:
StackMap stack:
aload 2
invokevirtual com.oracle.truffle.api.nodes.Node.getParent:()Lcom/oracle/truffle/api/nodes/Node;
ifnonnull 2
5: aload 1
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 node Lcom/oracle/truffle/api/nodes/Node;
0 7 1 toDump Ljava/util/List<Lcom/oracle/truffle/api/nodes/Node;>;
1 7 2 rootNode Lcom/oracle/truffle/api/nodes/Node;
Signature: (Lcom/oracle/truffle/api/nodes/Node;Ljava/util/List<Lcom/oracle/truffle/api/nodes/Node;>;)V
MethodParameters:
Name Flags
node
toDump
final void setNonTrivialNodeCount(int);
descriptor: (I)V
flags: (0x0010) ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.cachedNonTrivialNodeCount:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
0 2 1 nonTrivialNodeCount I
MethodParameters:
Name Flags
nonTrivialNodeCount
public final boolean prepareForAOT();
descriptor: ()Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=6, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.wasExecuted:()Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "Cannot prepare for AOT if call target was already executed."
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
iconst_0
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.initialize:(Z)V
3: getstatic org.graalvm.compiler.truffle.runtime.GraalRuntimeAccessor.NODES:Lcom/oracle/truffle/api/impl/Accessor$NodeSupport;
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.rootNode:Lcom/oracle/truffle/api/nodes/RootNode;
invokevirtual com.oracle.truffle.api.impl.Accessor$NodeSupport.prepareForAOT:(Lcom/oracle/truffle/api/nodes/RootNode;)Lcom/oracle/truffle/api/nodes/ExecutionSignature;
astore 1
start local 1 4: aload 1
ifnonnull 6
5: iconst_0
ireturn
6: StackMap locals: com.oracle.truffle.api.nodes.ExecutionSignature
StackMap stack:
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callProfiled:Z
ifeq 8
7: iconst_1
ireturn
8: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.$assertionsDisabled:Z
ifne 9
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.returnProfile:Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ReturnProfile;
ifnull 9
new java.lang.AssertionError
dup
ldc "return profile already initialized"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
9: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.$assertionsDisabled:Z
ifne 10
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.argumentsProfile:Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ArgumentsProfile;
ifnull 10
new java.lang.AssertionError
dup
ldc "argument profile already initialized"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
10: StackMap locals:
StackMap stack:
aload 1
invokevirtual com.oracle.truffle.api.nodes.ExecutionSignature.getArgumentTypes:()[Ljava/lang/Class;
astore 2
start local 2 11: aload 2
ifnull 14
aload 2
arraylength
sipush 256
if_icmpgt 14
aload 0
getfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.engine:Lorg/graalvm/compiler/truffle/runtime/EngineData;
getfield org.graalvm.compiler.truffle.runtime.EngineData.argumentTypeSpeculation:Z
ifeq 14
12: new org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ArgumentsProfile
dup
aload 2
ldc "Profiled Argument Types"
invokespecial org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ArgumentsProfile.<init>:([Ljava/lang/Class;Ljava/lang/String;)V
astore 3
start local 3 13: goto 15
end local 3 14: StackMap locals: java.lang.Class[]
StackMap stack:
getstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ArgumentsProfile.INVALID:Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ArgumentsProfile;
astore 3
start local 3 15: StackMap locals: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ArgumentsProfile
StackMap stack:
aload 1
invokevirtual com.oracle.truffle.api.nodes.ExecutionSignature.getReturnType:()Ljava/lang/Class;
astore 5
start local 5 16: aload 5
ifnull 19
aload 5
ldc Ljava/lang/Object;
if_acmpeq 19
17: new org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ReturnProfile
dup
aload 5
invokespecial org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ReturnProfile.<init>:(Ljava/lang/Class;)V
astore 4
start local 4 18: goto 20
end local 4 19: StackMap locals: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget com.oracle.truffle.api.nodes.ExecutionSignature java.lang.Class[] org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ArgumentsProfile top java.lang.Class
StackMap stack:
getstatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ReturnProfile.INVALID:Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ReturnProfile;
astore 4
start local 4 20: StackMap locals: org.graalvm.compiler.truffle.runtime.OptimizedCallTarget com.oracle.truffle.api.nodes.ExecutionSignature java.lang.Class[] org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ArgumentsProfile org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ReturnProfile java.lang.Class
StackMap stack:
aload 0
aload 4
putfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.returnProfile:Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ReturnProfile;
21: aload 0
aload 3
putfield org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.argumentsProfile:Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ArgumentsProfile;
22: iconst_1
ireturn
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 23 0 this Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
4 23 1 profile Lcom/oracle/truffle/api/nodes/ExecutionSignature;
11 23 2 argumentTypes [Ljava/lang/Class;
13 14 3 newProfile Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ArgumentsProfile;
15 23 3 newProfile Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ArgumentsProfile;
18 19 4 returnProfile Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ReturnProfile;
20 23 4 returnProfile Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget$ReturnProfile;
16 23 5 returnType Ljava/lang/Class<*>;
private static com.oracle.truffle.api.Assumption lambda$0(com.oracle.truffle.api.Assumption);
descriptor: (Lcom/oracle/truffle/api/Assumption;)Lcom/oracle/truffle/api/Assumption;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 1
aconst_null
goto 2
StackMap locals:
StackMap stack:
1: invokestatic org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.runtime:()Lorg/graalvm/compiler/truffle/runtime/GraalTruffleRuntime;
aload 0
invokeinterface com.oracle.truffle.api.Assumption.getName:()Ljava/lang/String;
invokevirtual org.graalvm.compiler.truffle.runtime.GraalTruffleRuntime.createAssumption:(Ljava/lang/String;)Lcom/oracle/truffle/api/Assumption;
StackMap locals:
StackMap stack: com.oracle.truffle.api.Assumption
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 prev Lcom/oracle/truffle/api/Assumption;
}
SourceFile: "OptimizedCallTarget.java"
NestMembers:
org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$1 org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ArgumentsProfile org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$NonTrivialNodeCountVisitor org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ReturnProfile
InnerClasses:
public abstract CompilationFinal = com.oracle.truffle.api.CompilerDirectives$CompilationFinal of com.oracle.truffle.api.CompilerDirectives
public abstract TruffleBoundary = com.oracle.truffle.api.CompilerDirectives$TruffleBoundary of com.oracle.truffle.api.CompilerDirectives
public abstract InstrumentSupport = com.oracle.truffle.api.impl.Accessor$InstrumentSupport of com.oracle.truffle.api.impl.Accessor
public abstract LanguageSupport = com.oracle.truffle.api.impl.Accessor$LanguageSupport of com.oracle.truffle.api.impl.Accessor
public abstract NodeSupport = com.oracle.truffle.api.impl.Accessor$NodeSupport of com.oracle.truffle.api.impl.Accessor
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final ExceptionAction = org.graalvm.compiler.truffle.options.PolyglotCompilerOptions$ExceptionAction of org.graalvm.compiler.truffle.options.PolyglotCompilerOptions
org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$1
public final ArgumentsProfile = org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ArgumentsProfile of org.graalvm.compiler.truffle.runtime.OptimizedCallTarget
private final NonTrivialNodeCountVisitor = org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$NonTrivialNodeCountVisitor of org.graalvm.compiler.truffle.runtime.OptimizedCallTarget
public final ReturnProfile = org.graalvm.compiler.truffle.runtime.OptimizedCallTarget$ReturnProfile of org.graalvm.compiler.truffle.runtime.OptimizedCallTarget
public OSRRootNode = org.graalvm.compiler.truffle.runtime.OptimizedOSRLoopNode$OSRRootNode of org.graalvm.compiler.truffle.runtime.OptimizedOSRLoopNode