public class com.oracle.truffle.js.jmh.JMHJsObjectInteropBenchmark
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.oracle.truffle.js.jmh.JMHJsObjectInteropBenchmark
super_class: java.lang.Object
{
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.JMHJsObjectInteropBenchmark this
0: .line 62
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // com.oracle.truffle.js.jmh.JMHJsObjectInteropBenchmark this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/jmh/JMHJsObjectInteropBenchmark;
public org.graalvm.polyglot.Value testPopulateJSObjectFromJava(com.oracle.truffle.js.jmh.JMHJsObjectInteropBenchmark$MyState);
descriptor: (Lcom/oracle/truffle/js/jmh/JMHJsObjectInteropBenchmark$MyState;)Lorg/graalvm/polyglot/Value;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 // com.oracle.truffle.js.jmh.JMHJsObjectInteropBenchmark this
start local 1 // com.oracle.truffle.js.jmh.JMHJsObjectInteropBenchmark$MyState state
0: .line 105
aload 1 /* state */
getfield com.oracle.truffle.js.jmh.JMHJsObjectInteropBenchmark$MyState.context:Lorg/graalvm/polyglot/Context;
aload 1 /* state */
getfield com.oracle.truffle.js.jmh.JMHJsObjectInteropBenchmark$MyState.emptyObjectSource:Lorg/graalvm/polyglot/Source;
invokevirtual org.graalvm.polyglot.Context.eval:(Lorg/graalvm/polyglot/Source;)Lorg/graalvm/polyglot/Value;
astore 2 /* object */
start local 2 // org.graalvm.polyglot.Value object
1: .line 106
iconst_0
istore 3 /* i */
start local 3 // int i
2: goto 5
3: .line 107
StackMap locals: org.graalvm.polyglot.Value int
StackMap stack:
aload 2 /* object */
aload 1 /* state */
getfield com.oracle.truffle.js.jmh.JMHJsObjectInteropBenchmark$MyState.propertyKeys:[Ljava/lang/String;
iload 3 /* i */
aaload
aload 1 /* state */
getfield com.oracle.truffle.js.jmh.JMHJsObjectInteropBenchmark$MyState.propertyValues:[Ljava/lang/String;
iload 3 /* i */
aaload
invokevirtual org.graalvm.polyglot.Value.putMember:(Ljava/lang/String;Ljava/lang/Object;)V
4: .line 106
iinc 3 /* i */ 1
StackMap locals:
StackMap stack:
5: iload 3 /* i */
bipush 10
if_icmplt 3
end local 3 // int i
6: .line 109
aload 2 /* object */
areturn
end local 2 // org.graalvm.polyglot.Value object
end local 1 // com.oracle.truffle.js.jmh.JMHJsObjectInteropBenchmark$MyState state
end local 0 // com.oracle.truffle.js.jmh.JMHJsObjectInteropBenchmark this
LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/oracle/truffle/js/jmh/JMHJsObjectInteropBenchmark;
0 7 1 state Lcom/oracle/truffle/js/jmh/JMHJsObjectInteropBenchmark$MyState;
1 7 2 object Lorg/graalvm/polyglot/Value;
2 6 3 i I
RuntimeVisibleAnnotations:
org.openjdk.jmh.annotations.Benchmark()
MethodParameters:
Name Flags
state
}
SourceFile: "JMHJsObjectInteropBenchmark.java"
NestMembers:
com.oracle.truffle.js.jmh.JMHJsObjectInteropBenchmark$MyState
InnerClasses:
public MyState = com.oracle.truffle.js.jmh.JMHJsObjectInteropBenchmark$MyState of com.oracle.truffle.js.jmh.JMHJsObjectInteropBenchmark
RuntimeVisibleAnnotations:
org.openjdk.jmh.annotations.Warmup(iterations = 5)
org.openjdk.jmh.annotations.Measurement(iterations = 5)
org.openjdk.jmh.annotations.Fork(value = 2)