class org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams$OptionsBuffer
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams$OptionsBuffer
super_class: java.lang.Object
{
private long address;
descriptor: J
flags: (0x0002) ACC_PRIVATE
final int size;
descriptor: I
flags: (0x0010) ACC_FINAL
final int hash;
descriptor: I
flags: (0x0010) ACC_FINAL
void <init>(org.graalvm.compiler.options.OptionValues);
descriptor: (Lorg/graalvm/compiler/options/OptionValues;)V
flags: (0x0000)
Code:
stack=9, locals=6, args_size=2
start local 0 // org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams$OptionsBuffer this
start local 1 // org.graalvm.compiler.options.OptionValues options
0: .line 246
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 247
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 2 /* map */
start local 2 // java.util.Map map
2: .line 248
aload 1 /* options */
invokevirtual org.graalvm.compiler.options.OptionValues.getMap:()Ljdk/internal/vm/compiler/collections/UnmodifiableEconomicMap;
invokeinterface jdk.internal.vm.compiler.collections.UnmodifiableEconomicMap.getEntries:()Ljdk/internal/vm/compiler/collections/UnmodifiableMapCursor;
astore 3 /* cursor */
start local 3 // jdk.internal.vm.compiler.collections.UnmodifiableMapCursor cursor
3: .line 249
goto 7
4: .line 250
StackMap locals: org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams$OptionsBuffer org.graalvm.compiler.options.OptionValues java.util.Map jdk.internal.vm.compiler.collections.UnmodifiableMapCursor
StackMap stack:
aload 3 /* cursor */
invokeinterface jdk.internal.vm.compiler.collections.UnmodifiableMapCursor.getKey:()Ljava/lang/Object;
checkcast org.graalvm.compiler.options.OptionKey
astore 4 /* key */
start local 4 // org.graalvm.compiler.options.OptionKey key
5: .line 251
aload 3 /* cursor */
invokeinterface jdk.internal.vm.compiler.collections.UnmodifiableMapCursor.getValue:()Ljava/lang/Object;
astore 5 /* value */
start local 5 // java.lang.Object value
6: .line 252
aload 2 /* map */
aload 4 /* key */
invokevirtual org.graalvm.compiler.options.OptionKey.getName:()Ljava/lang/String;
aload 5 /* value */
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 5 // java.lang.Object value
end local 4 // org.graalvm.compiler.options.OptionKey key
7: .line 249
StackMap locals:
StackMap stack:
aload 3 /* cursor */
invokeinterface jdk.internal.vm.compiler.collections.UnmodifiableMapCursor.advance:()Z
ifne 4
8: .line 255
aload 2 /* map */
invokestatic org.graalvm.util.OptionsEncoder.encode:(Ljava/util/Map;)[B
astore 4 /* encoded */
start local 4 // byte[] encoded
9: .line 256
aload 0 /* this */
aload 4 /* encoded */
arraylength
putfield org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams$OptionsBuffer.size:I
10: .line 257
aload 0 /* this */
aload 4 /* encoded */
invokestatic java.util.Arrays.hashCode:([B)I
putfield org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams$OptionsBuffer.hash:I
11: .line 258
aload 0 /* this */
getstatic org.graalvm.compiler.hotspot.test.CompileTheWorld.UNSAFE:Lsun/misc/Unsafe;
aload 4 /* encoded */
arraylength
i2l
invokevirtual sun.misc.Unsafe.allocateMemory:(J)J
putfield org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams$OptionsBuffer.address:J
12: .line 259
getstatic org.graalvm.compiler.hotspot.test.CompileTheWorld.UNSAFE:Lsun/misc/Unsafe;
aload 4 /* encoded */
getstatic sun.misc.Unsafe.ARRAY_BYTE_BASE_OFFSET:I
i2l
aconst_null
aload 0 /* this */
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams$OptionsBuffer.address:J
aload 0 /* this */
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams$OptionsBuffer.size:I
i2l
invokevirtual sun.misc.Unsafe.copyMemory:(Ljava/lang/Object;JLjava/lang/Object;JJ)V
13: .line 260
return
end local 4 // byte[] encoded
end local 3 // jdk.internal.vm.compiler.collections.UnmodifiableMapCursor cursor
end local 2 // java.util.Map map
end local 1 // org.graalvm.compiler.options.OptionValues options
end local 0 // org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams$OptionsBuffer this
LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/graalvm/compiler/hotspot/test/CompileTheWorld$LibGraalParams$OptionsBuffer;
0 14 1 options Lorg/graalvm/compiler/options/OptionValues;
2 14 2 map Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
3 14 3 cursor Ljdk/internal/vm/compiler/collections/UnmodifiableMapCursor<Lorg/graalvm/compiler/options/OptionKey<*>;Ljava/lang/Object;>;
5 7 4 key Lorg/graalvm/compiler/options/OptionKey<*>;
6 7 5 value Ljava/lang/Object;
9 14 4 encoded [B
MethodParameters:
Name Flags
options
long getAddress();
descriptor: ()J
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 // org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams$OptionsBuffer this
0: .line 263
aload 0 /* this */
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams$OptionsBuffer.address:J
lconst_0
lcmp
ifne 2
1: .line 264
new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
2: .line 266
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams$OptionsBuffer.address:J
lreturn
end local 0 // org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams$OptionsBuffer this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/hotspot/test/CompileTheWorld$LibGraalParams$OptionsBuffer;
void free();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 // org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams$OptionsBuffer this
0: .line 270
aload 0 /* this */
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams$OptionsBuffer.address:J
lconst_0
lcmp
ifeq 3
1: .line 271
getstatic org.graalvm.compiler.hotspot.test.CompileTheWorld.UNSAFE:Lsun/misc/Unsafe;
aload 0 /* this */
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams$OptionsBuffer.address:J
invokevirtual sun.misc.Unsafe.freeMemory:(J)V
2: .line 272
aload 0 /* this */
lconst_0
putfield org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams$OptionsBuffer.address:J
3: .line 274
StackMap locals:
StackMap stack:
return
end local 0 // org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams$OptionsBuffer this
LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/hotspot/test/CompileTheWorld$LibGraalParams$OptionsBuffer;
}
SourceFile: "CompileTheWorld.java"
NestHost: org.graalvm.compiler.hotspot.test.CompileTheWorld
InnerClasses:
LibGraalParams = org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams of org.graalvm.compiler.hotspot.test.CompileTheWorld
OptionsBuffer = org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams$OptionsBuffer of org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams