public class com.oracle.truffle.js.jmh.JMHArrayInteropBenchmark$MyState
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.oracle.truffle.js.jmh.JMHArrayInteropBenchmark$MyState
super_class: java.lang.Object
{
protected static final int ARRAY_SIZE;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 10000
org.graalvm.polyglot.Context context;
descriptor: Lorg/graalvm/polyglot/Context;
flags: (0x0000)
org.graalvm.polyglot.Source preSizedArraySource;
descriptor: Lorg/graalvm/polyglot/Source;
flags: (0x0000)
org.graalvm.polyglot.Value preallocatedArray;
descriptor: Lorg/graalvm/polyglot/Value;
flags: (0x0000)
org.graalvm.polyglot.Value preallocatedTypedArray;
descriptor: Lorg/graalvm/polyglot/Value;
flags: (0x0000)
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // com.oracle.truffle.js.jmh.JMHArrayInteropBenchmark$MyState this
0: .line 62
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // com.oracle.truffle.js.jmh.JMHArrayInteropBenchmark$MyState this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/jmh/JMHArrayInteropBenchmark$MyState;
public void doSetup();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 // com.oracle.truffle.js.jmh.JMHArrayInteropBenchmark$MyState this
0: .line 72
aload 0 /* this */
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "js"
aastore
invokestatic org.graalvm.polyglot.Context.create:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context;
putfield com.oracle.truffle.js.jmh.JMHArrayInteropBenchmark$MyState.context:Lorg/graalvm/polyglot/Context;
1: .line 73
aload 0 /* this */
ldc "js"
ldc "new Array(10000)"
invokestatic org.graalvm.polyglot.Source.create:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Source;
putfield com.oracle.truffle.js.jmh.JMHArrayInteropBenchmark$MyState.preSizedArraySource:Lorg/graalvm/polyglot/Source;
2: .line 74
aload 0 /* this */
aload 0 /* this */
getfield com.oracle.truffle.js.jmh.JMHArrayInteropBenchmark$MyState.context:Lorg/graalvm/polyglot/Context;
ldc "js"
ldc "new Array(10000).fill(0)"
invokestatic org.graalvm.polyglot.Source.create:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Source;
invokevirtual org.graalvm.polyglot.Context.eval:(Lorg/graalvm/polyglot/Source;)Lorg/graalvm/polyglot/Value;
putfield com.oracle.truffle.js.jmh.JMHArrayInteropBenchmark$MyState.preallocatedArray:Lorg/graalvm/polyglot/Value;
3: .line 75
aload 0 /* this */
aload 0 /* this */
getfield com.oracle.truffle.js.jmh.JMHArrayInteropBenchmark$MyState.context:Lorg/graalvm/polyglot/Context;
ldc "js"
ldc "new Int32Array(10000)"
invokestatic org.graalvm.polyglot.Source.create:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Source;
invokevirtual org.graalvm.polyglot.Context.eval:(Lorg/graalvm/polyglot/Source;)Lorg/graalvm/polyglot/Value;
putfield com.oracle.truffle.js.jmh.JMHArrayInteropBenchmark$MyState.preallocatedTypedArray:Lorg/graalvm/polyglot/Value;
4: .line 76
return
end local 0 // com.oracle.truffle.js.jmh.JMHArrayInteropBenchmark$MyState this
LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/truffle/js/jmh/JMHArrayInteropBenchmark$MyState;
RuntimeVisibleAnnotations:
org.openjdk.jmh.annotations.Setup(value = org.openjdk.jmh.annotations.Level.Trial:Lorg/openjdk/jmh/annotations/Level;)
public void doTearDown();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // com.oracle.truffle.js.jmh.JMHArrayInteropBenchmark$MyState this
0: .line 80
aload 0 /* this */
getfield com.oracle.truffle.js.jmh.JMHArrayInteropBenchmark$MyState.context:Lorg/graalvm/polyglot/Context;
invokevirtual org.graalvm.polyglot.Context.close:()V
1: .line 81
return
end local 0 // com.oracle.truffle.js.jmh.JMHArrayInteropBenchmark$MyState this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/js/jmh/JMHArrayInteropBenchmark$MyState;
RuntimeVisibleAnnotations:
org.openjdk.jmh.annotations.TearDown(value = org.openjdk.jmh.annotations.Level.Trial:Lorg/openjdk/jmh/annotations/Level;)
}
SourceFile: "JMHArrayInteropBenchmark.java"
NestHost: com.oracle.truffle.js.jmh.JMHArrayInteropBenchmark
InnerClasses:
public MyState = com.oracle.truffle.js.jmh.JMHArrayInteropBenchmark$MyState of com.oracle.truffle.js.jmh.JMHArrayInteropBenchmark
RuntimeVisibleAnnotations:
org.openjdk.jmh.annotations.State(value = org.openjdk.jmh.annotations.Scope.Thread:Lorg/openjdk/jmh/annotations/Scope;)