public final class io.netty.channel.epoll.Epoll
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.netty.channel.epoll.Epoll
super_class: java.lang.Object
{
private static final java.lang.Throwable UNAVAILABILITY_CAUSE;
descriptor: Ljava/lang/Throwable;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=5, args_size=0
0: aconst_null
astore 0
start local 0 1: ldc "io.netty.transport.noNative"
iconst_0
invokestatic io.netty.util.internal.SystemPropertyUtil.getBoolean:(Ljava/lang/String;Z)Z
ifeq 6
2: new java.lang.UnsupportedOperationException
dup
3: ldc "Native transport was explicit disabled with -Dio.netty.transport.noNative=true"
4: invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
astore 0
5: goto 39
6: StackMap locals: java.lang.Throwable
StackMap stack:
aconst_null
astore 1
start local 1 7: aconst_null
astore 2
start local 2 8: invokestatic io.netty.channel.epoll.Native.newEpollCreate:()Lio/netty/channel/unix/FileDescriptor;
astore 1
9: invokestatic io.netty.channel.epoll.Native.newEventFd:()Lio/netty/channel/unix/FileDescriptor;
astore 2
10: goto 31
StackMap locals: java.lang.Throwable io.netty.channel.unix.FileDescriptor io.netty.channel.unix.FileDescriptor
StackMap stack: java.lang.Throwable
11: astore 3
start local 3 12: aload 3
astore 0
end local 3 13: aload 1
ifnull 17
14: aload 1
invokevirtual io.netty.channel.unix.FileDescriptor.close:()V
15: goto 17
StackMap locals:
StackMap stack: java.lang.Exception
16: pop
17: StackMap locals:
StackMap stack:
aload 2
ifnull 39
18: aload 2
invokevirtual io.netty.channel.unix.FileDescriptor.close:()V
19: goto 39
StackMap locals:
StackMap stack: java.lang.Exception
20: pop
goto 39
21: StackMap locals:
StackMap stack: java.lang.Throwable
astore 4
22: aload 1
ifnull 26
23: aload 1
invokevirtual io.netty.channel.unix.FileDescriptor.close:()V
24: goto 26
StackMap locals: java.lang.Throwable io.netty.channel.unix.FileDescriptor io.netty.channel.unix.FileDescriptor top java.lang.Throwable
StackMap stack: java.lang.Exception
25: pop
26: StackMap locals:
StackMap stack:
aload 2
ifnull 30
27: aload 2
invokevirtual io.netty.channel.unix.FileDescriptor.close:()V
28: goto 30
StackMap locals:
StackMap stack: java.lang.Exception
29: pop
30: StackMap locals:
StackMap stack:
aload 4
athrow
31: StackMap locals: java.lang.Throwable io.netty.channel.unix.FileDescriptor io.netty.channel.unix.FileDescriptor
StackMap stack:
aload 1
ifnull 35
32: aload 1
invokevirtual io.netty.channel.unix.FileDescriptor.close:()V
33: goto 35
StackMap locals:
StackMap stack: java.lang.Exception
34: pop
35: StackMap locals:
StackMap stack:
aload 2
ifnull 39
36: aload 2
invokevirtual io.netty.channel.unix.FileDescriptor.close:()V
37: goto 39
StackMap locals:
StackMap stack: java.lang.Exception
38: pop
end local 2 end local 1 39: StackMap locals:
StackMap stack:
aload 0
ifnull 42
40: aload 0
putstatic io.netty.channel.epoll.Epoll.UNAVAILABILITY_CAUSE:Ljava/lang/Throwable;
41: goto 49
42: StackMap locals:
StackMap stack:
invokestatic io.netty.util.internal.PlatformDependent.hasUnsafe:()Z
ifeq 44
43: aconst_null
goto 48
44: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
45: ldc "sun.misc.Unsafe not available"
46: invokestatic io.netty.util.internal.PlatformDependent.getUnsafeUnavailabilityCause:()Ljava/lang/Throwable;
47: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
48: StackMap locals:
StackMap stack: java.lang.IllegalStateException
putstatic io.netty.channel.epoll.Epoll.UNAVAILABILITY_CAUSE:Ljava/lang/Throwable;
end local 0 49: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
1 49 0 cause Ljava/lang/Throwable;
7 39 1 epollFd Lio/netty/channel/unix/FileDescriptor;
8 39 2 eventFd Lio/netty/channel/unix/FileDescriptor;
12 13 3 t Ljava/lang/Throwable;
Exception table:
from to target type
8 10 11 Class java.lang.Throwable
14 15 16 Class java.lang.Exception
18 19 20 Class java.lang.Exception
8 13 21 any
23 24 25 Class java.lang.Exception
27 28 29 Class java.lang.Exception
32 33 34 Class java.lang.Exception
36 37 38 Class java.lang.Exception
public static boolean isAvailable();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic io.netty.channel.epoll.Epoll.UNAVAILABILITY_CAUSE:Ljava/lang/Throwable;
ifnonnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static void ensureAvailability();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: getstatic io.netty.channel.epoll.Epoll.UNAVAILABILITY_CAUSE:Ljava/lang/Throwable;
ifnull 6
1: new java.lang.UnsatisfiedLinkError
dup
2: ldc "failed to load the required native library"
3: invokespecial java.lang.UnsatisfiedLinkError.<init>:(Ljava/lang/String;)V
4: getstatic io.netty.channel.epoll.Epoll.UNAVAILABILITY_CAUSE:Ljava/lang/Throwable;
invokevirtual java.lang.UnsatisfiedLinkError.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
5: checkcast java.lang.Error
athrow
6: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
public static java.lang.Throwable unavailabilityCause();
descriptor: ()Ljava/lang/Throwable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic io.netty.channel.epoll.Epoll.UNAVAILABILITY_CAUSE:Ljava/lang/Throwable;
areturn
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
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 Lio/netty/channel/epoll/Epoll;
}
SourceFile: "Epoll.java"