class sun.nio.ch.DevPollSelectorImpl extends sun.nio.ch.SelectorImpl
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.nio.ch.DevPollSelectorImpl
super_class: sun.nio.ch.SelectorImpl
{
private final sun.nio.ch.DevPollArrayWrapper pollWrapper;
descriptor: Lsun/nio/ch/DevPollArrayWrapper;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int fd0;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int fd1;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Map<java.lang.Integer, sun.nio.ch.SelectionKeyImpl> fdToKey;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/Integer;Lsun/nio/ch/SelectionKeyImpl;>;
private final java.lang.Object updateLock;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Deque<sun.nio.ch.SelectionKeyImpl> updateKeys;
descriptor: Ljava/util/Deque;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Deque<Lsun/nio/ch/SelectionKeyImpl;>;
private final java.lang.Object interruptLock;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean interruptTriggered;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
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 Lsun/nio/ch/DevPollSelectorImpl;
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 sun.nio.ch.DevPollSelectorImpl.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.nio.channels.spi.SelectorProvider);
descriptor: (Ljava/nio/channels/spi/SelectorProvider;)V
flags: (0x0000)
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial sun.nio.ch.SelectorImpl.<init>:(Ljava/nio/channels/spi/SelectorProvider;)V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield sun.nio.ch.DevPollSelectorImpl.fdToKey:Ljava/util/Map;
2: aload 0
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putfield sun.nio.ch.DevPollSelectorImpl.updateLock:Ljava/lang/Object;
3: aload 0
new java.util.ArrayDeque
dup
invokespecial java.util.ArrayDeque.<init>:()V
putfield sun.nio.ch.DevPollSelectorImpl.updateKeys:Ljava/util/Deque;
4: aload 0
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putfield sun.nio.ch.DevPollSelectorImpl.interruptLock:Ljava/lang/Object;
5: aload 0
new sun.nio.ch.DevPollArrayWrapper
dup
invokespecial sun.nio.ch.DevPollArrayWrapper.<init>:()V
putfield sun.nio.ch.DevPollSelectorImpl.pollWrapper:Lsun/nio/ch/DevPollArrayWrapper;
6: iconst_0
invokestatic sun.nio.ch.IOUtil.makePipe:(Z)J
lstore 2
start local 2 7: aload 0
lload 2
bipush 32
lushr
l2i
putfield sun.nio.ch.DevPollSelectorImpl.fd0:I
8: aload 0
lload 2
l2i
putfield sun.nio.ch.DevPollSelectorImpl.fd1:I
end local 2 9: goto 13
StackMap locals: sun.nio.ch.DevPollSelectorImpl java.nio.channels.spi.SelectorProvider
StackMap stack: java.io.IOException
10: astore 2
start local 2 11: aload 0
getfield sun.nio.ch.DevPollSelectorImpl.pollWrapper:Lsun/nio/ch/DevPollArrayWrapper;
invokevirtual sun.nio.ch.DevPollArrayWrapper.close:()V
12: aload 2
athrow
end local 2 13: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.ch.DevPollSelectorImpl.pollWrapper:Lsun/nio/ch/DevPollArrayWrapper;
aload 0
getfield sun.nio.ch.DevPollSelectorImpl.fd0:I
getstatic sun.nio.ch.Net.POLLIN:S
invokevirtual sun.nio.ch.DevPollArrayWrapper.register:(II)V
14: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/nio/ch/DevPollSelectorImpl;
0 15 1 sp Ljava/nio/channels/spi/SelectorProvider;
7 9 2 fds J
11 13 2 ioe Ljava/io/IOException;
Exception table:
from to target type
6 9 10 Class java.io.IOException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
sp
private void ensureOpen();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.nio.ch.DevPollSelectorImpl.isOpen:()Z
ifne 2
1: new java.nio.channels.ClosedSelectorException
dup
invokespecial java.nio.channels.ClosedSelectorException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/nio/ch/DevPollSelectorImpl;
protected int doSelect(java.util.function.Consumer<java.nio.channels.SelectionKey>, );
descriptor: (Ljava/util/function/Consumer;J)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=14, args_size=3
start local 0 start local 1 start local 2 0: getstatic sun.nio.ch.DevPollSelectorImpl.$assertionsDisabled:Z
ifne 1
aload 0
invokestatic java.lang.Thread.holdsLock:(Ljava/lang/Object;)Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
lload 2
lstore 4
start local 4 2: lload 4
lconst_0
lcmp
ifeq 3
iconst_1
goto 4
StackMap locals: long
StackMap stack:
3: iconst_0
StackMap locals:
StackMap stack: int
4: istore 6
start local 6 5: lload 4
lconst_0
lcmp
ifle 6
iconst_1
goto 7
StackMap locals: int
StackMap stack:
6: iconst_0
StackMap locals:
StackMap stack: int
7: istore 7
start local 7 8: aload 0
invokevirtual sun.nio.ch.DevPollSelectorImpl.processUpdateQueue:()V
9: aload 0
invokevirtual sun.nio.ch.DevPollSelectorImpl.processDeregisterQueue:()V
10: aload 0
iload 6
invokevirtual sun.nio.ch.DevPollSelectorImpl.begin:(Z)V
11: StackMap locals: int
StackMap stack:
iload 7
ifeq 12
invokestatic java.lang.System.nanoTime:()J
goto 13
StackMap locals:
StackMap stack:
12: lconst_0
StackMap locals:
StackMap stack: long
13: lstore 9
start local 9 14: aload 0
getfield sun.nio.ch.DevPollSelectorImpl.pollWrapper:Lsun/nio/ch/DevPollArrayWrapper;
lload 4
invokevirtual sun.nio.ch.DevPollArrayWrapper.poll:(J)I
istore 8
start local 8 15: iload 8
bipush -3
if_icmpne 20
iload 7
ifeq 20
16: invokestatic java.lang.System.nanoTime:()J
lload 9
lsub
lstore 11
start local 11 17: lload 4
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
lload 11
getstatic java.util.concurrent.TimeUnit.NANOSECONDS:Ljava/util/concurrent/TimeUnit;
invokevirtual java.util.concurrent.TimeUnit.convert:(JLjava/util/concurrent/TimeUnit;)J
lsub
lstore 4
18: lload 4
lconst_0
lcmp
ifgt 20
19: iconst_0
istore 8
end local 11 end local 9 20: StackMap locals: int
StackMap stack:
iload 8
bipush -3
if_icmpeq 11
21: getstatic sun.nio.ch.DevPollSelectorImpl.$assertionsDisabled:Z
ifne 25
iload 8
invokestatic sun.nio.ch.IOStatus.check:(I)Z
ifne 25
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
end local 8 22: StackMap locals: sun.nio.ch.DevPollSelectorImpl java.util.function.Consumer long long int int
StackMap stack: java.lang.Throwable
astore 13
23: aload 0
iload 6
invokevirtual sun.nio.ch.DevPollSelectorImpl.end:(Z)V
24: aload 13
athrow
start local 8 25: StackMap locals: int
StackMap stack:
aload 0
iload 6
invokevirtual sun.nio.ch.DevPollSelectorImpl.end:(Z)V
26: aload 0
invokevirtual sun.nio.ch.DevPollSelectorImpl.processDeregisterQueue:()V
27: aload 0
iload 8
aload 1
invokevirtual sun.nio.ch.DevPollSelectorImpl.processEvents:(ILjava/util/function/Consumer;)I
ireturn
end local 8 end local 7 end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lsun/nio/ch/DevPollSelectorImpl;
0 28 1 action Ljava/util/function/Consumer<Ljava/nio/channels/SelectionKey;>;
0 28 2 timeout J
2 28 4 to J
5 28 6 blocking Z
8 28 7 timedPoll Z
15 22 8 numEntries I
25 28 8 numEntries I
14 20 9 startTime J
17 20 11 adjust J
Exception table:
from to target type
10 22 22 any
Exceptions:
throws java.io.IOException
Signature: (Ljava/util/function/Consumer<Ljava/nio/channels/SelectionKey;>;J)I
MethodParameters:
Name Flags
action
timeout
private void processUpdateQueue();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=8, args_size=1
start local 0 0: getstatic sun.nio.ch.DevPollSelectorImpl.$assertionsDisabled:Z
ifne 1
aload 0
invokestatic java.lang.Thread.holdsLock:(Ljava/lang/Object;)Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.ch.DevPollSelectorImpl.updateLock:Ljava/lang/Object;
dup
astore 1
monitorenter
2: iconst_0
istore 3
start local 3 3: goto 19
start local 2 4: StackMap locals: java.lang.Object sun.nio.ch.SelectionKeyImpl int
StackMap stack:
aload 2
invokevirtual sun.nio.ch.SelectionKeyImpl.isValid:()Z
ifeq 19
5: aload 2
invokevirtual sun.nio.ch.SelectionKeyImpl.getFDVal:()I
istore 4
start local 4 6: aload 0
getfield sun.nio.ch.DevPollSelectorImpl.fdToKey:Ljava/util/Map;
iload 4
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 2
invokeinterface java.util.Map.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.nio.ch.SelectionKeyImpl
astore 5
start local 5 7: getstatic sun.nio.ch.DevPollSelectorImpl.$assertionsDisabled:Z
ifne 8
aload 5
ifnull 8
aload 5
aload 2
if_acmpeq 8
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
8: StackMap locals: int sun.nio.ch.SelectionKeyImpl
StackMap stack:
aload 2
invokevirtual sun.nio.ch.SelectionKeyImpl.translateInterestOps:()I
istore 6
start local 6 9: aload 2
invokevirtual sun.nio.ch.SelectionKeyImpl.registeredEvents:()I
istore 7
start local 7 10: iload 6
iload 7
if_icmpeq 19
11: iload 7
ifeq 13
12: aload 0
getfield sun.nio.ch.DevPollSelectorImpl.pollWrapper:Lsun/nio/ch/DevPollArrayWrapper;
iload 3
iinc 3 1
iload 4
sipush 2048
invokevirtual sun.nio.ch.DevPollArrayWrapper.putPollFD:(IIS)V
13: StackMap locals: int int
StackMap stack:
iload 6
ifeq 15
14: aload 0
getfield sun.nio.ch.DevPollSelectorImpl.pollWrapper:Lsun/nio/ch/DevPollArrayWrapper;
iload 3
iinc 3 1
iload 4
iload 6
i2s
invokevirtual sun.nio.ch.DevPollArrayWrapper.putPollFD:(IIS)V
15: StackMap locals:
StackMap stack:
aload 2
iload 6
invokevirtual sun.nio.ch.SelectionKeyImpl.registeredEvents:(I)V
16: iload 3
getstatic sun.nio.ch.DevPollArrayWrapper.NUM_POLLFDS:I
iconst_2
isub
if_icmple 19
17: aload 0
getfield sun.nio.ch.DevPollSelectorImpl.pollWrapper:Lsun/nio/ch/DevPollArrayWrapper;
iload 3
invokevirtual sun.nio.ch.DevPollArrayWrapper.registerMultiple:(I)V
18: iconst_0
istore 3
end local 7 end local 6 end local 5 end local 4 end local 2 19: StackMap locals: sun.nio.ch.DevPollSelectorImpl java.lang.Object top int
StackMap stack:
aload 0
getfield sun.nio.ch.DevPollSelectorImpl.updateKeys:Ljava/util/Deque;
invokeinterface java.util.Deque.pollFirst:()Ljava/lang/Object;
checkcast sun.nio.ch.SelectionKeyImpl
dup
astore 2
start local 2 20: ifnonnull 4
21: iload 3
ifle 23
22: aload 0
getfield sun.nio.ch.DevPollSelectorImpl.pollWrapper:Lsun/nio/ch/DevPollArrayWrapper;
iload 3
invokevirtual sun.nio.ch.DevPollArrayWrapper.registerMultiple:(I)V
end local 3 end local 2 23: StackMap locals: sun.nio.ch.DevPollSelectorImpl java.lang.Object
StackMap stack:
aload 1
monitorexit
24: goto 27
StackMap locals:
StackMap stack: java.lang.Throwable
25: aload 1
monitorexit
26: athrow
27: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lsun/nio/ch/DevPollSelectorImpl;
4 19 2 ski Lsun/nio/ch/SelectionKeyImpl;
20 23 2 ski Lsun/nio/ch/SelectionKeyImpl;
3 23 3 index I
6 19 4 fd I
7 19 5 previous Lsun/nio/ch/SelectionKeyImpl;
9 19 6 newEvents I
10 19 7 registeredEvents I
Exception table:
from to target type
2 24 25 any
25 26 25 any
Exceptions:
throws java.io.IOException
private int processEvents(int, java.util.function.Consumer<java.nio.channels.SelectionKey>);
descriptor: (ILjava/util/function/Consumer;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=9, args_size=3
start local 0 start local 1 start local 2 0: getstatic sun.nio.ch.DevPollSelectorImpl.$assertionsDisabled:Z
ifne 1
aload 0
invokestatic java.lang.Thread.holdsLock:(Ljava/lang/Object;)Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
iconst_0
istore 3
start local 3 2: iconst_0
istore 4
start local 4 3: iconst_0
istore 5
start local 5 4: goto 14
5: StackMap locals: int int int
StackMap stack:
aload 0
getfield sun.nio.ch.DevPollSelectorImpl.pollWrapper:Lsun/nio/ch/DevPollArrayWrapper;
iload 5
invokevirtual sun.nio.ch.DevPollArrayWrapper.getDescriptor:(I)I
istore 6
start local 6 6: iload 6
aload 0
getfield sun.nio.ch.DevPollSelectorImpl.fd0:I
if_icmpne 9
7: iconst_1
istore 3
8: goto 13
9: StackMap locals: int
StackMap stack:
aload 0
getfield sun.nio.ch.DevPollSelectorImpl.fdToKey:Ljava/util/Map;
iload 6
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.nio.ch.SelectionKeyImpl
astore 7
start local 7 10: aload 7
ifnull 13
11: aload 0
getfield sun.nio.ch.DevPollSelectorImpl.pollWrapper:Lsun/nio/ch/DevPollArrayWrapper;
iload 5
invokevirtual sun.nio.ch.DevPollArrayWrapper.getReventOps:(I)S
istore 8
start local 8 12: iload 4
aload 0
iload 8
aload 7
aload 2
invokevirtual sun.nio.ch.DevPollSelectorImpl.processReadyEvents:(ILsun/nio/ch/SelectionKeyImpl;Ljava/util/function/Consumer;)I
iadd
istore 4
end local 8 end local 7 end local 6 13: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
14: iload 5
iload 1
if_icmplt 5
end local 5 15: iload 3
ifeq 17
16: aload 0
invokevirtual sun.nio.ch.DevPollSelectorImpl.clearInterrupt:()V
17: StackMap locals:
StackMap stack:
iload 4
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lsun/nio/ch/DevPollSelectorImpl;
0 18 1 numEntries I
0 18 2 action Ljava/util/function/Consumer<Ljava/nio/channels/SelectionKey;>;
2 18 3 interrupted Z
3 18 4 numKeysUpdated I
4 15 5 i I
6 13 6 fd I
10 13 7 ski Lsun/nio/ch/SelectionKeyImpl;
12 13 8 rOps I
Exceptions:
throws java.io.IOException
Signature: (ILjava/util/function/Consumer<Ljava/nio/channels/SelectionKey;>;)I
MethodParameters:
Name Flags
numEntries
action
protected void implClose();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=1
start local 0 0: getstatic sun.nio.ch.DevPollSelectorImpl.$assertionsDisabled:Z
ifne 1
aload 0
invokevirtual sun.nio.ch.DevPollSelectorImpl.isOpen:()Z
ifeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic sun.nio.ch.DevPollSelectorImpl.$assertionsDisabled:Z
ifne 2
aload 0
invokestatic java.lang.Thread.holdsLock:(Ljava/lang/Object;)Z
ifne 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.ch.DevPollSelectorImpl.interruptLock:Ljava/lang/Object;
dup
astore 1
monitorenter
3: aload 0
iconst_1
putfield sun.nio.ch.DevPollSelectorImpl.interruptTriggered:Z
4: aload 1
monitorexit
5: goto 8
StackMap locals: sun.nio.ch.DevPollSelectorImpl java.lang.Object
StackMap stack: java.lang.Throwable
6: aload 1
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.ch.DevPollSelectorImpl.pollWrapper:Lsun/nio/ch/DevPollArrayWrapper;
invokevirtual sun.nio.ch.DevPollArrayWrapper.close:()V
9: aload 0
getfield sun.nio.ch.DevPollSelectorImpl.fd0:I
invokestatic sun.nio.ch.FileDispatcherImpl.closeIntFD:(I)V
10: aload 0
getfield sun.nio.ch.DevPollSelectorImpl.fd1:I
invokestatic sun.nio.ch.FileDispatcherImpl.closeIntFD:(I)V
11: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/nio/ch/DevPollSelectorImpl;
Exception table:
from to target type
3 5 6 any
6 7 6 any
Exceptions:
throws java.io.IOException
protected void implDereg(sun.nio.ch.SelectionKeyImpl);
descriptor: (Lsun/nio/ch/SelectionKeyImpl;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: getstatic sun.nio.ch.DevPollSelectorImpl.$assertionsDisabled:Z
ifne 1
aload 1
invokevirtual sun.nio.ch.SelectionKeyImpl.isValid:()Z
ifeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic sun.nio.ch.DevPollSelectorImpl.$assertionsDisabled:Z
ifne 2
aload 0
invokestatic java.lang.Thread.holdsLock:(Ljava/lang/Object;)Z
ifne 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.nio.ch.SelectionKeyImpl.getFDVal:()I
istore 2
start local 2 3: aload 0
getfield sun.nio.ch.DevPollSelectorImpl.fdToKey:Ljava/util/Map;
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
ifnull 8
4: aload 1
invokevirtual sun.nio.ch.SelectionKeyImpl.registeredEvents:()I
ifeq 9
5: aload 0
getfield sun.nio.ch.DevPollSelectorImpl.pollWrapper:Lsun/nio/ch/DevPollArrayWrapper;
iload 2
sipush 2048
invokevirtual sun.nio.ch.DevPollArrayWrapper.register:(II)V
6: aload 1
iconst_0
invokevirtual sun.nio.ch.SelectionKeyImpl.registeredEvents:(I)V
7: goto 9
8: StackMap locals: int
StackMap stack:
getstatic sun.nio.ch.DevPollSelectorImpl.$assertionsDisabled:Z
ifne 9
aload 1
invokevirtual sun.nio.ch.SelectionKeyImpl.registeredEvents:()I
ifeq 9
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
9: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/nio/ch/DevPollSelectorImpl;
0 10 1 ski Lsun/nio/ch/SelectionKeyImpl;
3 10 2 fd I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
ski
public void setEventOps(sun.nio.ch.SelectionKeyImpl);
descriptor: (Lsun/nio/ch/SelectionKeyImpl;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.nio.ch.DevPollSelectorImpl.ensureOpen:()V
1: aload 0
getfield sun.nio.ch.DevPollSelectorImpl.updateLock:Ljava/lang/Object;
dup
astore 2
monitorenter
2: aload 0
getfield sun.nio.ch.DevPollSelectorImpl.updateKeys:Ljava/util/Deque;
aload 1
invokeinterface java.util.Deque.addLast:(Ljava/lang/Object;)V
3: aload 2
monitorexit
4: goto 7
StackMap locals: sun.nio.ch.DevPollSelectorImpl sun.nio.ch.SelectionKeyImpl java.lang.Object
StackMap stack: java.lang.Throwable
5: aload 2
monitorexit
6: athrow
7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/nio/ch/DevPollSelectorImpl;
0 8 1 ski Lsun/nio/ch/SelectionKeyImpl;
Exception table:
from to target type
2 4 5 any
5 6 5 any
MethodParameters:
Name Flags
ski
public java.nio.channels.Selector wakeup();
descriptor: ()Ljava/nio/channels/Selector;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield sun.nio.ch.DevPollSelectorImpl.interruptLock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
getfield sun.nio.ch.DevPollSelectorImpl.interruptTriggered:Z
ifne 7
2: aload 0
getfield sun.nio.ch.DevPollSelectorImpl.fd1:I
iconst_0
invokestatic sun.nio.ch.IOUtil.write1:(IB)I
pop
3: goto 6
StackMap locals: sun.nio.ch.DevPollSelectorImpl java.lang.Object
StackMap stack: java.io.IOException
4: astore 2
start local 2 5: new java.lang.InternalError
dup
aload 2
invokespecial java.lang.InternalError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 6: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.nio.ch.DevPollSelectorImpl.interruptTriggered:Z
7: StackMap locals:
StackMap stack:
aload 1
monitorexit
8: goto 11
StackMap locals:
StackMap stack: java.lang.Throwable
9: aload 1
monitorexit
10: athrow
11: StackMap locals:
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/nio/ch/DevPollSelectorImpl;
5 6 2 ioe Ljava/io/IOException;
Exception table:
from to target type
2 3 4 Class java.io.IOException
1 8 9 any
9 10 9 any
private void clearInterrupt();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.nio.ch.DevPollSelectorImpl.interruptLock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
getfield sun.nio.ch.DevPollSelectorImpl.fd0:I
invokestatic sun.nio.ch.IOUtil.drain:(I)Z
pop
2: aload 0
iconst_0
putfield sun.nio.ch.DevPollSelectorImpl.interruptTriggered:Z
3: aload 1
monitorexit
4: goto 7
StackMap locals: sun.nio.ch.DevPollSelectorImpl java.lang.Object
StackMap stack: java.lang.Throwable
5: aload 1
monitorexit
6: athrow
7: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/nio/ch/DevPollSelectorImpl;
Exception table:
from to target type
1 4 5 any
5 6 5 any
Exceptions:
throws java.io.IOException
}
SourceFile: "DevPollSelectorImpl.java"