final class com.oracle.svm.core.windows.Target_jdk_internal_misc_Signal
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.oracle.svm.core.windows.Target_jdk_internal_misc_Signal
super_class: java.lang.Object
{
private static java.util.Hashtable<?, ?> handlers;
descriptor: Ljava/util/Hashtable;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/util/Hashtable<**>;
RuntimeVisibleAnnotations:
com.oracle.svm.core.annotate.Alias()
com.oracle.svm.core.annotate.RecomputeFieldValue(kind = com.oracle.svm.core.annotate.RecomputeFieldValue$Kind.FromAlias:Lcom/oracle/svm/core/annotate/RecomputeFieldValue$Kind;)
private static java.util.Hashtable<?, ?> signals;
descriptor: Ljava/util/Hashtable;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/util/Hashtable<**>;
RuntimeVisibleAnnotations:
com.oracle.svm.core.annotate.Alias()
com.oracle.svm.core.annotate.RecomputeFieldValue(kind = com.oracle.svm.core.annotate.RecomputeFieldValue$Kind.FromAlias:Lcom/oracle/svm/core/annotate/RecomputeFieldValue$Kind;)
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new java.util.Hashtable
dup
iconst_4
invokespecial java.util.Hashtable.<init>:(I)V
putstatic com.oracle.svm.core.windows.Target_jdk_internal_misc_Signal.handlers:Ljava/util/Hashtable;
1: new java.util.Hashtable
dup
iconst_4
invokespecial java.util.Hashtable.<init>:(I)V
putstatic com.oracle.svm.core.windows.Target_jdk_internal_misc_Signal.signals:Ljava/util/Hashtable;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
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/svm/core/windows/Target_jdk_internal_misc_Signal;
static native void dispatch(int);
descriptor: (I)V
flags: (0x0108) ACC_STATIC, ACC_NATIVE
RuntimeVisibleAnnotations:
com.oracle.svm.core.annotate.Alias()
MethodParameters:
Name Flags
number
private static long handle0(int, long);
descriptor: (IJ)J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: invokestatic org.graalvm.nativeimage.ImageInfo.isSharedLibrary:()Z
ifeq 2
1: new java.lang.IllegalArgumentException
dup
ldc "Installing signal handlers is not allowed for native-image shared libraries."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
invokestatic com.oracle.svm.core.jdk.PlatformNativeLibrarySupport.singleton:()Lcom/oracle/svm/core/jdk/PlatformNativeLibrarySupport;
invokevirtual com.oracle.svm.core.jdk.PlatformNativeLibrarySupport.isFirstIsolate:()Z
ifne 4
3: new java.lang.IllegalArgumentException
dup
ldc "Only the first isolate can install signal handlers, as signal handling is global for the process."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
invokestatic com.oracle.svm.core.windows.SignalDispatcher.ensureInitialized:()V
5: iload 0
lload 1
invokestatic org.graalvm.word.WordFactory.pointer:(J)Lorg/graalvm/word/PointerBase;
checkcast org.graalvm.nativeimage.c.type.VoidPointer
invokestatic com.oracle.svm.core.jdk.Jvm.JVM_RegisterSignal:(ILorg/graalvm/nativeimage/c/type/VoidPointer;)Lorg/graalvm/nativeimage/c/type/VoidPointer;
invokeinterface org.graalvm.nativeimage.c.type.VoidPointer.rawValue:()J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 sig I
0 6 1 nativeH J
RuntimeVisibleAnnotations:
com.oracle.svm.core.annotate.Substitute()
MethodParameters:
Name Flags
sig
nativeH
}
SourceFile: "Target_jdk_internal_misc_Signal.java"
InnerClasses:
public final Kind = com.oracle.svm.core.annotate.RecomputeFieldValue$Kind of com.oracle.svm.core.annotate.RecomputeFieldValue
RuntimeVisibleAnnotations:
com.oracle.svm.core.annotate.TargetClass(classNameProvider = Lcom/oracle/svm/core/jdk/Package_jdk_internal_misc;, className = "Signal")