public class org.graalvm.compiler.hotspot.test.HotSpotStampMemoryAccessTest extends org.graalvm.compiler.hotspot.test.HotSpotGraalCompilerTest
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.hotspot.test.HotSpotStampMemoryAccessTest
super_class: org.graalvm.compiler.hotspot.test.HotSpotGraalCompilerTest
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // org.graalvm.compiler.hotspot.test.HotSpotStampMemoryAccessTest this
0: .line 39
aload 0 /* this */
invokespecial org.graalvm.compiler.hotspot.test.HotSpotGraalCompilerTest.<init>:()V
return
end local 0 // org.graalvm.compiler.hotspot.test.HotSpotStampMemoryAccessTest this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/test/HotSpotStampMemoryAccessTest;
public void testReadNarrowObject();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=1
start local 0 // org.graalvm.compiler.hotspot.test.HotSpotStampMemoryAccessTest this
0: .line 43
aload 0 /* this */
invokevirtual org.graalvm.compiler.hotspot.test.HotSpotStampMemoryAccessTest.runtime:()Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntimeProvider;
invokeinterface org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider.getVMConfig:()Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokevirtual org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.getOopEncoding:()Lorg/graalvm/compiler/core/common/CompressEncoding;
astore 1 /* oopEncoding */
start local 1 // org.graalvm.compiler.core.common.CompressEncoding oopEncoding
1: .line 44
ldc "Compressed oops must be enabled"
aload 0 /* this */
invokevirtual org.graalvm.compiler.hotspot.test.HotSpotStampMemoryAccessTest.runtime:()Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntimeProvider;
invokeinterface org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider.getVMConfig:()Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
getfield org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.useCompressedOops:Z
invokestatic org.junit.Assume.assumeTrue:(Ljava/lang/String;Z)V
2: .line 45
aload 0 /* this */
invokevirtual org.graalvm.compiler.hotspot.test.HotSpotStampMemoryAccessTest.getConstantReflection:()Ljdk/vm/ci/meta/ConstantReflectionProvider;
invokeinterface jdk.vm.ci.meta.ConstantReflectionProvider.getMemoryAccessProvider:()Ljdk/vm/ci/meta/MemoryAccessProvider;
astore 2 /* memory */
start local 2 // jdk.vm.ci.meta.MemoryAccessProvider memory
3: .line 46
aload 0 /* this */
invokevirtual org.graalvm.compiler.hotspot.test.HotSpotStampMemoryAccessTest.getSnippetReflection:()Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;
ldc ""
invokeinterface org.graalvm.compiler.api.replacements.SnippetReflectionProvider.forObject:(Ljava/lang/Object;)Ljdk/vm/ci/meta/JavaConstant;
astore 3 /* base */
start local 3 // jdk.vm.ci.meta.JavaConstant base
4: .line 47
getstatic jdk.vm.ci.meta.JavaKind.Object:Ljdk/vm/ci/meta/JavaKind;
invokestatic org.graalvm.compiler.core.common.type.StampFactory.forKind:(Ljdk/vm/ci/meta/JavaKind;)Lorg/graalvm/compiler/core/common/type/Stamp;
checkcast org.graalvm.compiler.core.common.type.ObjectStamp
astore 4 /* stamp */
start local 4 // org.graalvm.compiler.core.common.type.ObjectStamp stamp
5: .line 48
aload 4 /* stamp */
aload 1 /* oopEncoding */
invokestatic org.graalvm.compiler.hotspot.nodes.type.HotSpotNarrowOopStamp.compressed:(Lorg/graalvm/compiler/core/common/type/AbstractObjectStamp;Lorg/graalvm/compiler/core/common/CompressEncoding;)Lorg/graalvm/compiler/core/common/type/Stamp;
astore 5 /* narrowStamp */
start local 5 // org.graalvm.compiler.core.common.type.Stamp narrowStamp
6: .line 49
aload 5 /* narrowStamp */
aload 2 /* memory */
aload 3 /* base */
ldc 128
invokevirtual org.graalvm.compiler.core.common.type.Stamp.readConstant:(Ljdk/vm/ci/meta/MemoryAccessProvider;Ljdk/vm/ci/meta/Constant;J)Ljdk/vm/ci/meta/Constant;
ifnonnull 7
iconst_1
goto 8
StackMap locals: org.graalvm.compiler.hotspot.test.HotSpotStampMemoryAccessTest org.graalvm.compiler.core.common.CompressEncoding jdk.vm.ci.meta.MemoryAccessProvider jdk.vm.ci.meta.JavaConstant org.graalvm.compiler.core.common.type.ObjectStamp org.graalvm.compiler.core.common.type.Stamp
StackMap stack:
7: iconst_0
StackMap locals:
StackMap stack: int
8: invokestatic org.graalvm.compiler.hotspot.test.HotSpotStampMemoryAccessTest.assertTrue:(Z)V
9: .line 50
return
end local 5 // org.graalvm.compiler.core.common.type.Stamp narrowStamp
end local 4 // org.graalvm.compiler.core.common.type.ObjectStamp stamp
end local 3 // jdk.vm.ci.meta.JavaConstant base
end local 2 // jdk.vm.ci.meta.MemoryAccessProvider memory
end local 1 // org.graalvm.compiler.core.common.CompressEncoding oopEncoding
end local 0 // org.graalvm.compiler.hotspot.test.HotSpotStampMemoryAccessTest this
LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/graalvm/compiler/hotspot/test/HotSpotStampMemoryAccessTest;
1 10 1 oopEncoding Lorg/graalvm/compiler/core/common/CompressEncoding;
3 10 2 memory Ljdk/vm/ci/meta/MemoryAccessProvider;
4 10 3 base Ljdk/vm/ci/meta/JavaConstant;
5 10 4 stamp Lorg/graalvm/compiler/core/common/type/ObjectStamp;
6 10 5 narrowStamp Lorg/graalvm/compiler/core/common/type/Stamp;
RuntimeVisibleAnnotations:
org.junit.Test()
}
SourceFile: "HotSpotStampMemoryAccessTest.java"