class com.sun.glass.ui.monocle.RunnableQueue
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.glass.ui.monocle.RunnableQueue
super_class: java.lang.Object
{
private java.lang.Runnable[] queue;
descriptor: [Ljava/lang/Runnable;
flags: (0x0002) ACC_PRIVATE
private int start;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int count;
descriptor: I
flags: (0x0002) ACC_PRIVATE
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
bipush 32
anewarray java.lang.Runnable
putfield com.sun.glass.ui.monocle.RunnableQueue.queue:[Ljava/lang/Runnable;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/glass/ui/monocle/RunnableQueue;
private int modulo(int);
descriptor: (I)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
aload 0
getfield com.sun.glass.ui.monocle.RunnableQueue.queue:[Ljava/lang/Runnable;
arraylength
if_icmplt 2
1: iload 1
aload 0
getfield com.sun.glass.ui.monocle.RunnableQueue.queue:[Ljava/lang/Runnable;
arraylength
isub
istore 1
2: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/glass/ui/monocle/RunnableQueue;
0 3 1 index I
MethodParameters:
Name Flags
index
synchronized void postRunnable(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.glass.ui.monocle.RunnableQueue.count:I
aload 0
getfield com.sun.glass.ui.monocle.RunnableQueue.queue:[Ljava/lang/Runnable;
arraylength
if_icmpne 6
1: aload 0
getfield com.sun.glass.ui.monocle.RunnableQueue.queue:[Ljava/lang/Runnable;
arraylength
iconst_3
imul
iconst_2
idiv
anewarray java.lang.Runnable
astore 2
start local 2 2: aload 0
getfield com.sun.glass.ui.monocle.RunnableQueue.queue:[Ljava/lang/Runnable;
aload 0
getfield com.sun.glass.ui.monocle.RunnableQueue.start:I
aload 2
iconst_0
aload 0
getfield com.sun.glass.ui.monocle.RunnableQueue.queue:[Ljava/lang/Runnable;
arraylength
aload 0
getfield com.sun.glass.ui.monocle.RunnableQueue.start:I
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
3: aload 0
getfield com.sun.glass.ui.monocle.RunnableQueue.queue:[Ljava/lang/Runnable;
iconst_0
aload 2
aload 0
getfield com.sun.glass.ui.monocle.RunnableQueue.queue:[Ljava/lang/Runnable;
arraylength
aload 0
getfield com.sun.glass.ui.monocle.RunnableQueue.start:I
isub
aload 0
getfield com.sun.glass.ui.monocle.RunnableQueue.start:I
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
4: aload 0
aload 2
putfield com.sun.glass.ui.monocle.RunnableQueue.queue:[Ljava/lang/Runnable;
5: aload 0
iconst_0
putfield com.sun.glass.ui.monocle.RunnableQueue.start:I
end local 2 6: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.glass.ui.monocle.RunnableQueue.queue:[Ljava/lang/Runnable;
aload 0
aload 0
getfield com.sun.glass.ui.monocle.RunnableQueue.start:I
aload 0
getfield com.sun.glass.ui.monocle.RunnableQueue.count:I
iadd
invokevirtual com.sun.glass.ui.monocle.RunnableQueue.modulo:(I)I
aload 1
aastore
7: aload 0
dup
getfield com.sun.glass.ui.monocle.RunnableQueue.count:I
iconst_1
iadd
putfield com.sun.glass.ui.monocle.RunnableQueue.count:I
8: aload 0
invokevirtual java.lang.Object.notifyAll:()V
9: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/glass/ui/monocle/RunnableQueue;
0 10 1 r Ljava/lang/Runnable;
2 6 2 newQueue [Ljava/lang/Runnable;
MethodParameters:
Name Flags
r
synchronized java.lang.Runnable getNextRunnable();
descriptor: ()Ljava/lang/Runnable;
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=4, locals=2, args_size=1
start local 0 0: goto 2
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Object.wait:()V
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.glass.ui.monocle.RunnableQueue.count:I
ifeq 1
3: aload 0
getfield com.sun.glass.ui.monocle.RunnableQueue.queue:[Ljava/lang/Runnable;
aload 0
getfield com.sun.glass.ui.monocle.RunnableQueue.start:I
aaload
astore 1
start local 1 4: aload 0
getfield com.sun.glass.ui.monocle.RunnableQueue.queue:[Ljava/lang/Runnable;
aload 0
getfield com.sun.glass.ui.monocle.RunnableQueue.start:I
aconst_null
aastore
5: aload 0
aload 0
aload 0
getfield com.sun.glass.ui.monocle.RunnableQueue.start:I
iconst_1
iadd
invokevirtual com.sun.glass.ui.monocle.RunnableQueue.modulo:(I)I
putfield com.sun.glass.ui.monocle.RunnableQueue.start:I
6: aload 0
dup
getfield com.sun.glass.ui.monocle.RunnableQueue.count:I
iconst_1
isub
putfield com.sun.glass.ui.monocle.RunnableQueue.count:I
7: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/glass/ui/monocle/RunnableQueue;
4 8 1 r Ljava/lang/Runnable;
Exceptions:
throws java.lang.InterruptedException
synchronized void clear();
descriptor: ()V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.glass.ui.monocle.RunnableQueue.queue:[Ljava/lang/Runnable;
aconst_null
invokestatic java.util.Arrays.fill:([Ljava/lang/Object;Ljava/lang/Object;)V
1: aload 0
iconst_0
putfield com.sun.glass.ui.monocle.RunnableQueue.count:I
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/glass/ui/monocle/RunnableQueue;
}
SourceFile: "RunnableQueue.java"