public class com.oracle.truffle.js.jmh.JMHJsObjectInteropBenchmark$MyState
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.oracle.truffle.js.jmh.JMHJsObjectInteropBenchmark$MyState
super_class: java.lang.Object
{
protected static final int MIN_PROPERTY_KEY_LENGTH;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 3
protected static final int MAX_PROPERTY_KEY_LENGTH;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 10
protected static final int MIN_PROPERTY_VALUE_LENGTH;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 3
protected static final int MAX_PROPERTY_VALUE_LENGTH;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 50
protected static final int PROPERTIES_COUNT;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 10
protected static final java.lang.Character[] ALLOWED_CHARS;
descriptor: [Ljava/lang/Character;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
org.graalvm.polyglot.Context context;
descriptor: Lorg/graalvm/polyglot/Context;
flags: (0x0000)
org.graalvm.polyglot.Source emptyObjectSource;
descriptor: Lorg/graalvm/polyglot/Source;
flags: (0x0000)
java.lang.String[] propertyKeys;
descriptor: [Ljava/lang/String;
flags: (0x0000)
java.lang.String[] propertyValues;
descriptor: [Ljava/lang/String;
flags: (0x0000)
java.util.Random rnd;
descriptor: Ljava/util/Random;
flags: (0x0000)
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: iconst_0
sipush 256
invokestatic java.util.stream.IntStream.range:(II)Ljava/util/stream/IntStream;
invokedynamic test()Ljava/util/function/IntPredicate;
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:
(I)Z
com/oracle/truffle/js/jmh/JMHJsObjectInteropBenchmark$MyState.lambda$0(I)Z (6)
(I)Z
invokeinterface java.util.stream.IntStream.filter:(Ljava/util/function/IntPredicate;)Ljava/util/stream/IntStream;
invokedynamic apply()Ljava/util/function/IntFunction;
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:
(I)Ljava/lang/Object;
com/oracle/truffle/js/jmh/JMHJsObjectInteropBenchmark$MyState.lambda$1(I)Ljava/lang/Character; (6)
(I)Ljava/lang/Character;
invokeinterface java.util.stream.IntStream.mapToObj:(Ljava/util/function/IntFunction;)Ljava/util/stream/Stream;
invokedynamic apply()Ljava/util/function/IntFunction;
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:
(I)Ljava/lang/Object;
com/oracle/truffle/js/jmh/JMHJsObjectInteropBenchmark$MyState.lambda$2(I)[Ljava/lang/Character; (6)
(I)[Ljava/lang/Character;
invokeinterface java.util.stream.Stream.toArray:(Ljava/util/function/IntFunction;)[Ljava/lang/Object;
checkcast java.lang.Character[]
putstatic com.oracle.truffle.js.jmh.JMHJsObjectInteropBenchmark$MyState.ALLOWED_CHARS:[Ljava/lang/Character;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/jmh/JMHJsObjectInteropBenchmark$MyState;
java.lang.String generateString(int);
descriptor: (I)Ljava/lang/String;
flags: (0x0000)
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 5
3: StackMap locals: java.lang.StringBuilder int
StackMap stack:
aload 2
getstatic com.oracle.truffle.js.jmh.JMHJsObjectInteropBenchmark$MyState.ALLOWED_CHARS:[Ljava/lang/Character;
aload 0
getfield com.oracle.truffle.js.jmh.JMHJsObjectInteropBenchmark$MyState.rnd:Ljava/util/Random;
getstatic com.oracle.truffle.js.jmh.JMHJsObjectInteropBenchmark$MyState.ALLOWED_CHARS:[Ljava/lang/Character;
arraylength
invokevirtual java.util.Random.nextInt:(I)I
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
4: iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
iload 1
if_icmplt 3
end local 3 6: aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/oracle/truffle/js/jmh/JMHJsObjectInteropBenchmark$MyState;
0 7 1 length I
1 7 2 sb Ljava/lang/StringBuilder;
2 6 3 i I
MethodParameters:
Name Flags
length
public void doSetup();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
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.JMHJsObjectInteropBenchmark$MyState.context:Lorg/graalvm/polyglot/Context;
1: aload 0
ldc "js"
ldc "new Object()"
invokestatic org.graalvm.polyglot.Source.create:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Source;
putfield com.oracle.truffle.js.jmh.JMHJsObjectInteropBenchmark$MyState.emptyObjectSource:Lorg/graalvm/polyglot/Source;
2: aload 0
new java.util.Random
dup
invokespecial java.util.Random.<init>:()V
putfield com.oracle.truffle.js.jmh.JMHJsObjectInteropBenchmark$MyState.rnd:Ljava/util/Random;
3: aload 0
iconst_0
bipush 10
invokestatic java.util.stream.IntStream.range:(II)Ljava/util/stream/IntStream;
aload 0
invokedynamic apply(Lcom/oracle/truffle/js/jmh/JMHJsObjectInteropBenchmark$MyState;)Ljava/util/function/IntFunction;
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:
(I)Ljava/lang/Object;
com/oracle/truffle/js/jmh/JMHJsObjectInteropBenchmark$MyState.lambda$3(I)Ljava/lang/String; (7)
(I)Ljava/lang/String;
invokeinterface java.util.stream.IntStream.mapToObj:(Ljava/util/function/IntFunction;)Ljava/util/stream/Stream;
4: invokedynamic apply()Ljava/util/function/IntFunction;
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:
(I)Ljava/lang/Object;
com/oracle/truffle/js/jmh/JMHJsObjectInteropBenchmark$MyState.lambda$4(I)[Ljava/lang/String; (6)
(I)[Ljava/lang/String;
5: invokeinterface java.util.stream.Stream.toArray:(Ljava/util/function/IntFunction;)[Ljava/lang/Object;
checkcast java.lang.String[]
putfield com.oracle.truffle.js.jmh.JMHJsObjectInteropBenchmark$MyState.propertyKeys:[Ljava/lang/String;
6: aload 0
iconst_0
bipush 10
invokestatic java.util.stream.IntStream.range:(II)Ljava/util/stream/IntStream;
aload 0
invokedynamic apply(Lcom/oracle/truffle/js/jmh/JMHJsObjectInteropBenchmark$MyState;)Ljava/util/function/IntFunction;
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:
(I)Ljava/lang/Object;
com/oracle/truffle/js/jmh/JMHJsObjectInteropBenchmark$MyState.lambda$5(I)Ljava/lang/String; (7)
(I)Ljava/lang/String;
invokeinterface java.util.stream.IntStream.mapToObj:(Ljava/util/function/IntFunction;)Ljava/util/stream/Stream;
7: invokedynamic apply()Ljava/util/function/IntFunction;
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:
(I)Ljava/lang/Object;
com/oracle/truffle/js/jmh/JMHJsObjectInteropBenchmark$MyState.lambda$4(I)[Ljava/lang/String; (6)
(I)[Ljava/lang/String;
8: invokeinterface java.util.stream.Stream.toArray:(Ljava/util/function/IntFunction;)[Ljava/lang/Object;
checkcast java.lang.String[]
putfield com.oracle.truffle.js.jmh.JMHJsObjectInteropBenchmark$MyState.propertyValues:[Ljava/lang/String;
9: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/oracle/truffle/js/jmh/JMHJsObjectInteropBenchmark$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 0: aload 0
getfield com.oracle.truffle.js.jmh.JMHJsObjectInteropBenchmark$MyState.context:Lorg/graalvm/polyglot/Context;
invokevirtual org.graalvm.polyglot.Context.close:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/js/jmh/JMHJsObjectInteropBenchmark$MyState;
RuntimeVisibleAnnotations:
org.openjdk.jmh.annotations.TearDown(value = org.openjdk.jmh.annotations.Level.Trial:Lorg/openjdk/jmh/annotations/Level;)
private static boolean lambda$0(int);
descriptor: (I)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
invokestatic java.lang.Character.isAlphabetic:(I)Z
ifne 1
iload 0
invokestatic java.lang.Character.isDigit:(I)Z
ifne 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 i I
private static java.lang.Character lambda$1(int);
descriptor: (I)Ljava/lang/Character;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
i2c
invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 i I
private static java.lang.Character[] lambda$2(int);
descriptor: (I)[Ljava/lang/Character;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: iload 0
anewarray java.lang.Character
areturn
LocalVariableTable:
Start End Slot Name Signature
private java.lang.String lambda$3(int);
descriptor: (I)Ljava/lang/String;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_3
aload 0
getfield com.oracle.truffle.js.jmh.JMHJsObjectInteropBenchmark$MyState.rnd:Ljava/util/Random;
bipush 8
invokevirtual java.util.Random.nextInt:(I)I
iadd
invokevirtual com.oracle.truffle.js.jmh.JMHJsObjectInteropBenchmark$MyState.generateString:(I)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/jmh/JMHJsObjectInteropBenchmark$MyState;
0 1 1 i I
private static java.lang.String[] lambda$4(int);
descriptor: (I)[Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: iload 0
anewarray java.lang.String
areturn
LocalVariableTable:
Start End Slot Name Signature
private java.lang.String lambda$5(int);
descriptor: (I)Ljava/lang/String;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_3
aload 0
getfield com.oracle.truffle.js.jmh.JMHJsObjectInteropBenchmark$MyState.rnd:Ljava/util/Random;
bipush 48
invokevirtual java.util.Random.nextInt:(I)I
iadd
invokevirtual com.oracle.truffle.js.jmh.JMHJsObjectInteropBenchmark$MyState.generateString:(I)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/jmh/JMHJsObjectInteropBenchmark$MyState;
0 1 1 i I
}
SourceFile: "JMHJsObjectInteropBenchmark.java"
NestHost: com.oracle.truffle.js.jmh.JMHJsObjectInteropBenchmark
InnerClasses:
public MyState = com.oracle.truffle.js.jmh.JMHJsObjectInteropBenchmark$MyState of com.oracle.truffle.js.jmh.JMHJsObjectInteropBenchmark
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
RuntimeVisibleAnnotations:
org.openjdk.jmh.annotations.State(value = org.openjdk.jmh.annotations.Scope.Thread:Lorg/openjdk/jmh/annotations/Scope;)