final class com.oracle.truffle.js.runtime.array.ScriptArray$ProfileHolderImpl extends com.oracle.truffle.api.nodes.NodeCloneable implements com.oracle.truffle.js.runtime.array.ScriptArray$ProfileHolder
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.oracle.truffle.js.runtime.array.ScriptArray$ProfileHolderImpl
super_class: com.oracle.truffle.api.nodes.NodeCloneable
{
private com.oracle.truffle.api.profiles.ConditionProfile[] conditionProfiles;
descriptor: [Lcom/oracle/truffle/api/profiles/ConditionProfile;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$CompilationFinal(dimensions = 1)
private java.lang.Class<?> profileAccessClass;
descriptor: Ljava/lang/Class;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/lang/Class<*>;
private static final com.oracle.truffle.js.runtime.array.ScriptArray$ProfileHolderImpl EMPTY;
descriptor: Lcom/oracle/truffle/js/runtime/array/ScriptArray$ProfileHolderImpl;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
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=2, locals=0, args_size=0
0: ldc Lcom/oracle/truffle/js/runtime/array/ScriptArray;
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 com.oracle.truffle.js.runtime.array.ScriptArray$ProfileHolderImpl.$assertionsDisabled:Z
3: new com.oracle.truffle.js.runtime.array.ScriptArray$ProfileHolderImpl
dup
invokespecial com.oracle.truffle.js.runtime.array.ScriptArray$ProfileHolderImpl.<init>:()V
putstatic com.oracle.truffle.js.runtime.array.ScriptArray$ProfileHolderImpl.EMPTY:Lcom/oracle/truffle/js/runtime/array/ScriptArray$ProfileHolderImpl;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(int, java.lang.Class<?>);
descriptor: (ILjava/lang/Class;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial com.oracle.truffle.api.nodes.NodeCloneable.<init>:()V
1: aload 0
iload 1
anewarray com.oracle.truffle.api.profiles.ConditionProfile
putfield com.oracle.truffle.js.runtime.array.ScriptArray$ProfileHolderImpl.conditionProfiles:[Lcom/oracle/truffle/api/profiles/ConditionProfile;
2: aload 0
aload 2
putfield com.oracle.truffle.js.runtime.array.ScriptArray$ProfileHolderImpl.profileAccessClass:Ljava/lang/Class;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/js/runtime/array/ScriptArray$ProfileHolderImpl;
0 4 1 profileCount I
0 4 2 profileAccessClass Ljava/lang/Class<*>;
Signature: (ILjava/lang/Class<*>;)V
MethodParameters:
Name Flags
profileCount
profileAccessClass
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.oracle.truffle.api.nodes.NodeCloneable.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/js/runtime/array/ScriptArray$ProfileHolderImpl;
public boolean profile(com.oracle.truffle.js.runtime.array.ScriptArray$ProfileAccess, int, boolean);
descriptor: (Lcom/oracle/truffle/js/runtime/array/ScriptArray$ProfileAccess;IZ)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic com.oracle.truffle.js.runtime.array.ScriptArray$ProfileHolderImpl.$assertionsDisabled:Z
ifne 1
aload 0
getfield com.oracle.truffle.js.runtime.array.ScriptArray$ProfileHolderImpl.profileAccessClass:Ljava/lang/Class;
ifnull 1
aload 0
getfield com.oracle.truffle.js.runtime.array.ScriptArray$ProfileHolderImpl.profileAccessClass:Ljava/lang/Class;
aload 1
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.runtime.array.ScriptArray$ProfileHolderImpl.conditionProfiles:[Lcom/oracle/truffle/api/profiles/ConditionProfile;
astore 4
start local 4 2: aload 4
ifnonnull 4
3: iload 3
ireturn
4: StackMap locals: com.oracle.truffle.api.profiles.ConditionProfile[]
StackMap stack:
aload 4
iload 2
aaload
astore 5
start local 5 5: aload 5
ifnonnull 8
6: invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreterAndInvalidate:()V
7: aload 4
iload 2
invokestatic com.oracle.truffle.api.profiles.ConditionProfile.createBinaryProfile:()Lcom/oracle/truffle/api/profiles/ConditionProfile;
dup_x2
aastore
astore 5
8: StackMap locals: com.oracle.truffle.api.profiles.ConditionProfile
StackMap stack:
aload 5
iload 3
invokevirtual com.oracle.truffle.api.profiles.ConditionProfile.profile:(Z)Z
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 9 0 this Lcom/oracle/truffle/js/runtime/array/ScriptArray$ProfileHolderImpl;
0 9 1 profileAccess Lcom/oracle/truffle/js/runtime/array/ScriptArray$ProfileAccess;
0 9 2 index I
0 9 3 condition Z
2 9 4 profiles [Lcom/oracle/truffle/api/profiles/ConditionProfile;
5 9 5 profile Lcom/oracle/truffle/api/profiles/ConditionProfile;
MethodParameters:
Name Flags
profileAccess
index
condition
}
SourceFile: "ScriptArray.java"
NestHost: com.oracle.truffle.js.runtime.array.ScriptArray
InnerClasses:
public abstract CompilationFinal = com.oracle.truffle.api.CompilerDirectives$CompilationFinal of com.oracle.truffle.api.CompilerDirectives
protected abstract ProfileAccess = com.oracle.truffle.js.runtime.array.ScriptArray$ProfileAccess of com.oracle.truffle.js.runtime.array.ScriptArray
public abstract ProfileHolder = com.oracle.truffle.js.runtime.array.ScriptArray$ProfileHolder of com.oracle.truffle.js.runtime.array.ScriptArray
private final ProfileHolderImpl = com.oracle.truffle.js.runtime.array.ScriptArray$ProfileHolderImpl of com.oracle.truffle.js.runtime.array.ScriptArray