public class org.graalvm.compiler.hotspot.replacements.SHA2Substitutions
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.hotspot.replacements.SHA2Substitutions
super_class: java.lang.Object
{
static final long stateOffset;
descriptor: J
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final java.lang.Class<?> shaClass;
descriptor: Ljava/lang/Class;
flags: (0x0018) ACC_STATIC, ACC_FINAL
Signature: Ljava/lang/Class<*>;
public static final java.lang.String implCompressName;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.graalvm.compiler.serviceprovider.JDK9Method.Java8OrEarlier:Z
ifeq 1
ldc "implCompress"
goto 2
StackMap locals:
StackMap stack:
1: ldc "implCompress0"
StackMap locals:
StackMap stack: java.lang.String
2: putstatic org.graalvm.compiler.hotspot.replacements.SHA2Substitutions.implCompressName:Ljava/lang/String;
3: invokestatic java.lang.ClassLoader.getSystemClassLoader:()Ljava/lang/ClassLoader;
astore 0
start local 0 4: ldc "sun.security.provider.SHA2"
iconst_1
aload 0
invokestatic java.lang.Class.forName:(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
putstatic org.graalvm.compiler.hotspot.replacements.SHA2Substitutions.shaClass:Ljava/lang/Class;
5: getstatic org.graalvm.compiler.hotspot.replacements.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
getstatic org.graalvm.compiler.hotspot.replacements.SHA2Substitutions.shaClass:Ljava/lang/Class;
ldc "state"
invokevirtual java.lang.Class.getDeclaredField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
invokevirtual sun.misc.Unsafe.objectFieldOffset:(Ljava/lang/reflect/Field;)J
putstatic org.graalvm.compiler.hotspot.replacements.SHA2Substitutions.stateOffset:J
end local 0 6: goto 9
StackMap locals:
StackMap stack: java.lang.Exception
7: astore 0
start local 0 8: new org.graalvm.compiler.debug.GraalError
dup
aload 0
invokespecial org.graalvm.compiler.debug.GraalError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 0 9: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
4 6 0 cl Ljava/lang/ClassLoader;
8 9 0 ex Ljava/lang/Exception;
Exception table:
from to target type
3 6 7 Class java.lang.Exception
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 Lorg/graalvm/compiler/hotspot/replacements/SHA2Substitutions;
static void implCompress0(java.lang.Object, byte[], int);
descriptor: (Ljava/lang/Object;[BI)V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getstatic org.graalvm.compiler.hotspot.replacements.SHA2Substitutions.shaClass:Ljava/lang/Class;
invokestatic org.graalvm.compiler.nodes.PiNode.piCastNonNull:(Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object;
astore 3
start local 3 1: aload 3
getstatic org.graalvm.compiler.hotspot.replacements.SHA2Substitutions.stateOffset:J
getstatic jdk.vm.ci.meta.JavaKind.Object:Ljdk/vm/ci/meta/JavaKind;
invokestatic org.graalvm.word.LocationIdentity.any:()Lorg/graalvm/word/LocationIdentity;
invokestatic org.graalvm.compiler.nodes.extended.RawLoadNode.load:(Ljava/lang/Object;JLjdk/vm/ci/meta/JavaKind;Lorg/graalvm/word/LocationIdentity;)Ljava/lang/Object;
astore 4
start local 4 2: aload 1
getstatic jdk.vm.ci.meta.JavaKind.Byte:Ljdk/vm/ci/meta/JavaKind;
invokestatic jdk.vm.ci.hotspot.HotSpotJVMCIRuntimeProvider.getArrayBaseOffset:(Ljdk/vm/ci/meta/JavaKind;)I
iload 2
iadd
i2l
invokestatic org.graalvm.compiler.hotspot.nodes.ComputeObjectAddressNode.get:(Ljava/lang/Object;J)J
invokestatic org.graalvm.word.WordFactory.unsigned:(J)Lorg/graalvm/word/UnsignedWord;
checkcast org.graalvm.compiler.word.Word
astore 5
start local 5 3: aload 4
getstatic jdk.vm.ci.meta.JavaKind.Int:Ljdk/vm/ci/meta/JavaKind;
invokestatic jdk.vm.ci.hotspot.HotSpotJVMCIRuntimeProvider.getArrayBaseOffset:(Ljdk/vm/ci/meta/JavaKind;)I
i2l
invokestatic org.graalvm.compiler.hotspot.nodes.ComputeObjectAddressNode.get:(Ljava/lang/Object;J)J
invokestatic org.graalvm.word.WordFactory.unsigned:(J)Lorg/graalvm/word/UnsignedWord;
checkcast org.graalvm.compiler.word.Word
astore 6
start local 6 4: aload 5
aload 6
invokestatic org.graalvm.compiler.hotspot.HotSpotBackend.sha2ImplCompressStub:(Lorg/graalvm/compiler/word/Word;Ljava/lang/Object;)V
5: return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 receiver Ljava/lang/Object;
0 6 1 buf [B
0 6 2 ofs I
1 6 3 realReceiver Ljava/lang/Object;
2 6 4 state Ljava/lang/Object;
3 6 5 bufAddr Lorg/graalvm/compiler/word/Word;
4 6 6 stateAddr Lorg/graalvm/compiler/word/Word;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.MethodSubstitution(isStatic = false)
MethodParameters:
Name Flags
receiver
buf
ofs
}
SourceFile: "SHA2Substitutions.java"
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.ClassSubstitution(className = {"sun.security.provider.SHA2"}, optional = true)