public final class com.lmax.disruptor.YieldingWaitStrategy implements com.lmax.disruptor.WaitStrategy
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.lmax.disruptor.YieldingWaitStrategy
super_class: java.lang.Object
{
private static final int SPIN_TRIES;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 100
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
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 Lcom/lmax/disruptor/YieldingWaitStrategy;
public long waitFor(long, com.lmax.disruptor.Sequence, com.lmax.disruptor.Sequence, com.lmax.disruptor.SequenceBarrier);
descriptor: (JLcom/lmax/disruptor/Sequence;Lcom/lmax/disruptor/Sequence;Lcom/lmax/disruptor/SequenceBarrier;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=9, args_size=5
start local 0 start local 1 start local 3 start local 4 start local 5 0: bipush 100
istore 8
start local 8 1: goto 3
start local 6 2: StackMap locals: long int
StackMap stack:
aload 0
aload 5
iload 8
invokevirtual com.lmax.disruptor.YieldingWaitStrategy.applyWaitMethod:(Lcom/lmax/disruptor/SequenceBarrier;I)I
istore 8
end local 6 3: StackMap locals: com.lmax.disruptor.YieldingWaitStrategy long com.lmax.disruptor.Sequence com.lmax.disruptor.Sequence com.lmax.disruptor.SequenceBarrier top top int
StackMap stack:
aload 4
invokevirtual com.lmax.disruptor.Sequence.get:()J
dup2
lstore 6
start local 6 4: lload 1
lcmp
iflt 2
5: lload 6
lreturn
end local 8 end local 6 end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/lmax/disruptor/YieldingWaitStrategy;
0 6 1 sequence J
0 6 3 cursor Lcom/lmax/disruptor/Sequence;
0 6 4 dependentSequence Lcom/lmax/disruptor/Sequence;
0 6 5 barrier Lcom/lmax/disruptor/SequenceBarrier;
2 3 6 availableSequence J
4 6 6 availableSequence J
1 6 8 counter I
Exceptions:
throws com.lmax.disruptor.AlertException, java.lang.InterruptedException
MethodParameters:
Name Flags
sequence final
cursor
dependentSequence final
barrier final
public void signalAllWhenBlocking();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/lmax/disruptor/YieldingWaitStrategy;
private int applyWaitMethod(com.lmax.disruptor.SequenceBarrier, int);
descriptor: (Lcom/lmax/disruptor/SequenceBarrier;I)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface com.lmax.disruptor.SequenceBarrier.checkAlert:()V
1: iload 2
ifne 4
2: invokestatic java.lang.Thread.yield:()V
3: goto 5
4: StackMap locals:
StackMap stack:
iinc 2 -1
5: StackMap locals:
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/lmax/disruptor/YieldingWaitStrategy;
0 6 1 barrier Lcom/lmax/disruptor/SequenceBarrier;
0 6 2 counter I
Exceptions:
throws com.lmax.disruptor.AlertException
MethodParameters:
Name Flags
barrier final
counter
}
SourceFile: "YieldingWaitStrategy.java"