class com.oracle.svm.core.posix.PosixNativeLibrarySupport$PosixNativeLibrary implements com.oracle.svm.core.jdk.PlatformNativeLibrarySupport$NativeLibrary
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.oracle.svm.core.posix.PosixNativeLibrarySupport$PosixNativeLibrary
super_class: java.lang.Object
{
private final java.lang.String canonicalIdentifier;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean builtin;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private org.graalvm.word.PointerBase dlhandle;
descriptor: Lorg/graalvm/word/PointerBase;
flags: (0x0002) ACC_PRIVATE
private boolean loaded;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
final com.oracle.svm.core.posix.PosixNativeLibrarySupport this$0;
descriptor: Lcom/oracle/svm/core/posix/PosixNativeLibrarySupport;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lcom/oracle/svm/core/posix/PosixNativeLibrarySupport;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic com.oracle.svm.core.posix.PosixNativeLibrarySupport$PosixNativeLibrary.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(com.oracle.svm.core.posix.PosixNativeLibrarySupport, java.lang.String, boolean);
descriptor: (Lcom/oracle/svm/core/posix/PosixNativeLibrarySupport;Ljava/lang/String;Z)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 start local 2 start local 3 0: aload 0
aload 1
putfield com.oracle.svm.core.posix.PosixNativeLibrarySupport$PosixNativeLibrary.this$0:Lcom/oracle/svm/core/posix/PosixNativeLibrarySupport;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
invokestatic org.graalvm.word.WordFactory.nullPointer:()Lorg/graalvm/word/PointerBase;
putfield com.oracle.svm.core.posix.PosixNativeLibrarySupport$PosixNativeLibrary.dlhandle:Lorg/graalvm/word/PointerBase;
2: aload 0
iconst_0
putfield com.oracle.svm.core.posix.PosixNativeLibrarySupport$PosixNativeLibrary.loaded:Z
3: aload 0
aload 2
putfield com.oracle.svm.core.posix.PosixNativeLibrarySupport$PosixNativeLibrary.canonicalIdentifier:Ljava/lang/String;
4: aload 0
iload 3
putfield com.oracle.svm.core.posix.PosixNativeLibrarySupport$PosixNativeLibrary.builtin:Z
5: return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/oracle/svm/core/posix/PosixNativeLibrarySupport$PosixNativeLibrary;
0 6 2 canonicalIdentifier Ljava/lang/String;
0 6 3 builtin Z
MethodParameters:
Name Flags
this$0 final
canonicalIdentifier
builtin
public java.lang.String getCanonicalIdentifier();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.svm.core.posix.PosixNativeLibrarySupport$PosixNativeLibrary.canonicalIdentifier:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/svm/core/posix/PosixNativeLibrarySupport$PosixNativeLibrary;
public boolean isBuiltin();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.svm.core.posix.PosixNativeLibrarySupport$PosixNativeLibrary.builtin:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/svm/core/posix/PosixNativeLibrarySupport$PosixNativeLibrary;
public boolean load();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic com.oracle.svm.core.posix.PosixNativeLibrarySupport$PosixNativeLibrary.$assertionsDisabled:Z
ifne 1
aload 0
getfield com.oracle.svm.core.posix.PosixNativeLibrarySupport$PosixNativeLibrary.loaded:Z
ifeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
aload 0
invokevirtual com.oracle.svm.core.posix.PosixNativeLibrarySupport$PosixNativeLibrary.doLoad:()Z
putfield com.oracle.svm.core.posix.PosixNativeLibrarySupport$PosixNativeLibrary.loaded:Z
2: aload 0
getfield com.oracle.svm.core.posix.PosixNativeLibrarySupport$PosixNativeLibrary.loaded:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/svm/core/posix/PosixNativeLibrarySupport$PosixNativeLibrary;
private boolean doLoad();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: ldc Lorg/graalvm/nativeimage/Platform$LINUX;
invokestatic org.graalvm.nativeimage.Platform.includedIn:(Ljava/lang/Class;)Z
ifne 2
1: ldc Lorg/graalvm/nativeimage/Platform$DARWIN;
invokestatic org.graalvm.nativeimage.Platform.includedIn:(Ljava/lang/Class;)Z
ifeq 3
2: StackMap locals:
StackMap stack:
invokestatic com.oracle.svm.core.jdk.Jvm.initialize:()V
3: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.svm.core.posix.PosixNativeLibrarySupport$PosixNativeLibrary.builtin:Z
ifeq 5
4: iconst_1
ireturn
5: StackMap locals:
StackMap stack:
getstatic com.oracle.svm.core.posix.PosixNativeLibrarySupport$PosixNativeLibrary.$assertionsDisabled:Z
ifne 6
aload 0
getfield com.oracle.svm.core.posix.PosixNativeLibrarySupport$PosixNativeLibrary.dlhandle:Lorg/graalvm/word/PointerBase;
invokeinterface org.graalvm.word.PointerBase.isNull:()Z
ifne 6
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
6: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.oracle.svm.core.posix.PosixNativeLibrarySupport$PosixNativeLibrary.canonicalIdentifier:Ljava/lang/String;
invokestatic com.oracle.svm.core.posix.headers.Dlfcn.RTLD_LAZY:()I
invokestatic com.oracle.svm.core.posix.PosixUtils.dlopen:(Ljava/lang/String;I)Lorg/graalvm/word/PointerBase;
putfield com.oracle.svm.core.posix.PosixNativeLibrarySupport$PosixNativeLibrary.dlhandle:Lorg/graalvm/word/PointerBase;
7: aload 0
getfield com.oracle.svm.core.posix.PosixNativeLibrarySupport$PosixNativeLibrary.dlhandle:Lorg/graalvm/word/PointerBase;
invokeinterface org.graalvm.word.PointerBase.isNonNull:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/oracle/svm/core/posix/PosixNativeLibrarySupport$PosixNativeLibrary;
public boolean isLoaded();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.svm.core.posix.PosixNativeLibrarySupport$PosixNativeLibrary.loaded:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/svm/core/posix/PosixNativeLibrarySupport$PosixNativeLibrary;
public org.graalvm.word.PointerBase findSymbol(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/graalvm/word/PointerBase;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.svm.core.posix.PosixNativeLibrarySupport$PosixNativeLibrary.builtin:Z
ifeq 2
1: aload 0
getfield com.oracle.svm.core.posix.PosixNativeLibrarySupport$PosixNativeLibrary.this$0:Lcom/oracle/svm/core/posix/PosixNativeLibrarySupport;
aload 1
invokevirtual com.oracle.svm.core.posix.PosixNativeLibrarySupport.findBuiltinSymbol:(Ljava/lang/String;)Lorg/graalvm/word/PointerBase;
areturn
2: StackMap locals:
StackMap stack:
getstatic com.oracle.svm.core.posix.PosixNativeLibrarySupport$PosixNativeLibrary.$assertionsDisabled:Z
ifne 3
aload 0
getfield com.oracle.svm.core.posix.PosixNativeLibrarySupport$PosixNativeLibrary.dlhandle:Lorg/graalvm/word/PointerBase;
invokeinterface org.graalvm.word.PointerBase.isNonNull:()Z
ifne 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.svm.core.posix.PosixNativeLibrarySupport$PosixNativeLibrary.dlhandle:Lorg/graalvm/word/PointerBase;
aload 1
invokestatic com.oracle.svm.core.posix.PosixUtils.dlsym:(Lorg/graalvm/word/PointerBase;Ljava/lang/String;)Lorg/graalvm/word/PointerBase;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/svm/core/posix/PosixNativeLibrarySupport$PosixNativeLibrary;
0 4 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
}
SourceFile: "PosixNativeLibraryFeature.java"
NestHost: com.oracle.svm.core.posix.PosixNativeLibrarySupport
InnerClasses:
public abstract NativeLibrary = com.oracle.svm.core.jdk.PlatformNativeLibrarySupport$NativeLibrary of com.oracle.svm.core.jdk.PlatformNativeLibrarySupport
PosixNativeLibrary = com.oracle.svm.core.posix.PosixNativeLibrarySupport$PosixNativeLibrary of com.oracle.svm.core.posix.PosixNativeLibrarySupport
public abstract DARWIN = org.graalvm.nativeimage.Platform$DARWIN of org.graalvm.nativeimage.Platform
public abstract LINUX = org.graalvm.nativeimage.Platform$LINUX of org.graalvm.nativeimage.Platform