class sun.nio.ch.KQueue
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.nio.ch.KQueue
super_class: java.lang.Object
{
private static final jdk.internal.misc.Unsafe unsafe;
descriptor: Ljdk/internal/misc/Unsafe;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int SIZEOF_KQUEUEEVENT;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int OFFSET_IDENT;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int OFFSET_FILTER;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int OFFSET_FLAGS;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static final int EVFILT_READ;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -1
static final int EVFILT_WRITE;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -2
static final int EV_ADD;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1
static final int EV_DELETE;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 2
static final int EV_ONESHOT;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 16
static final int EV_CLEAR;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 32
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic jdk.internal.misc.Unsafe.getUnsafe:()Ljdk/internal/misc/Unsafe;
putstatic sun.nio.ch.KQueue.unsafe:Ljdk/internal/misc/Unsafe;
1: invokestatic sun.nio.ch.KQueue.keventSize:()I
putstatic sun.nio.ch.KQueue.SIZEOF_KQUEUEEVENT:I
2: invokestatic sun.nio.ch.KQueue.identOffset:()I
putstatic sun.nio.ch.KQueue.OFFSET_IDENT:I
3: invokestatic sun.nio.ch.KQueue.filterOffset:()I
putstatic sun.nio.ch.KQueue.OFFSET_FILTER:I
4: invokestatic sun.nio.ch.KQueue.flagsOffset:()I
putstatic sun.nio.ch.KQueue.OFFSET_FLAGS:I
5: invokestatic sun.nio.ch.IOUtil.load:()V
6: return
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 Lsun/nio/ch/KQueue;
static long allocatePollArray(int);
descriptor: (I)J
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic sun.nio.ch.KQueue.unsafe:Ljdk/internal/misc/Unsafe;
iload 0
getstatic sun.nio.ch.KQueue.SIZEOF_KQUEUEEVENT:I
imul
i2l
invokevirtual jdk.internal.misc.Unsafe.allocateMemory:(J)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 count I
MethodParameters:
Name Flags
count
static void freePollArray(long);
descriptor: (J)V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: getstatic sun.nio.ch.KQueue.unsafe:Ljdk/internal/misc/Unsafe;
lload 0
invokevirtual jdk.internal.misc.Unsafe.freeMemory:(J)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 address J
MethodParameters:
Name Flags
address
static long getEvent(long, int);
descriptor: (JI)J
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 2 0: lload 0
getstatic sun.nio.ch.KQueue.SIZEOF_KQUEUEEVENT:I
iload 2
imul
i2l
ladd
lreturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 address J
0 1 2 i I
MethodParameters:
Name Flags
address
i
static int getDescriptor(long);
descriptor: (J)I
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: getstatic sun.nio.ch.KQueue.unsafe:Ljdk/internal/misc/Unsafe;
lload 0
getstatic sun.nio.ch.KQueue.OFFSET_IDENT:I
i2l
ladd
invokevirtual jdk.internal.misc.Unsafe.getInt:(J)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 address J
MethodParameters:
Name Flags
address
static short getFilter(long);
descriptor: (J)S
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: getstatic sun.nio.ch.KQueue.unsafe:Ljdk/internal/misc/Unsafe;
lload 0
getstatic sun.nio.ch.KQueue.OFFSET_FILTER:I
i2l
ladd
invokevirtual jdk.internal.misc.Unsafe.getShort:(J)S
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 address J
MethodParameters:
Name Flags
address
static short getFlags(long);
descriptor: (J)S
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: getstatic sun.nio.ch.KQueue.unsafe:Ljdk/internal/misc/Unsafe;
lload 0
getstatic sun.nio.ch.KQueue.OFFSET_FLAGS:I
i2l
ladd
invokevirtual jdk.internal.misc.Unsafe.getShort:(J)S
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 address J
MethodParameters:
Name Flags
address
private static native int keventSize();
descriptor: ()I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
private static native int identOffset();
descriptor: ()I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
private static native int filterOffset();
descriptor: ()I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
private static native int flagsOffset();
descriptor: ()I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
static native int create();
descriptor: ()I
flags: (0x0108) ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
static native int register(int, int, int, int);
descriptor: (IIII)I
flags: (0x0108) ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
kqfd
fd
filter
flags
static native int poll(int, long, int, long);
descriptor: (IJIJ)I
flags: (0x0108) ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
kqfd
pollAddress
nevents
timeout
}
SourceFile: "KQueue.java"