public final class io.reactivex.internal.util.BackpressureHelper
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.reactivex.internal.util.BackpressureHelper
super_class: java.lang.Object
{
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: new java.lang.IllegalStateException
dup
ldc "No instances!"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/reactivex/internal/util/BackpressureHelper;
public static long addCap(long, long);
descriptor: (JJ)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 2 0: lload 0
lload 2
ladd
lstore 4
start local 4 1: lload 4
lconst_0
lcmp
ifge 3
2: ldc 9223372036854775807
lreturn
3: StackMap locals: long
StackMap stack:
lload 4
lreturn
end local 4 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 a J
0 4 2 b J
1 4 4 u J
MethodParameters:
Name Flags
a
b
public static long multiplyCap(long, long);
descriptor: (JJ)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 2 0: lload 0
lload 2
lmul
lstore 4
start local 4 1: lload 0
lload 2
lor
bipush 31
lushr
lconst_0
lcmp
ifeq 4
2: lload 4
lload 0
ldiv
lload 2
lcmp
ifeq 4
3: ldc 9223372036854775807
lreturn
4: StackMap locals: long
StackMap stack:
lload 4
lreturn
end local 4 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 a J
0 5 2 b J
1 5 4 u J
MethodParameters:
Name Flags
a
b
public static long add(java.util.concurrent.atomic.AtomicLong, long);
descriptor: (Ljava/util/concurrent/atomic/AtomicLong;J)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
lstore 3
start local 3 1: lload 3
ldc 9223372036854775807
lcmp
ifne 3
2: ldc 9223372036854775807
lreturn
3: StackMap locals: long
StackMap stack:
lload 3
lload 1
invokestatic io.reactivex.internal.util.BackpressureHelper.addCap:(JJ)J
lstore 5
start local 5 4: aload 0
lload 3
lload 5
invokevirtual java.util.concurrent.atomic.AtomicLong.compareAndSet:(JJ)Z
ifeq 0
5: lload 3
lreturn
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 requested Ljava/util/concurrent/atomic/AtomicLong;
0 6 1 n J
1 6 3 r J
4 6 5 u J
MethodParameters:
Name Flags
requested
n
public static long addCancel(java.util.concurrent.atomic.AtomicLong, long);
descriptor: (Ljava/util/concurrent/atomic/AtomicLong;J)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
lstore 3
start local 3 1: lload 3
ldc -9223372036854775808
lcmp
ifne 3
2: ldc -9223372036854775808
lreturn
3: StackMap locals: long
StackMap stack:
lload 3
ldc 9223372036854775807
lcmp
ifne 5
4: ldc 9223372036854775807
lreturn
5: StackMap locals:
StackMap stack:
lload 3
lload 1
invokestatic io.reactivex.internal.util.BackpressureHelper.addCap:(JJ)J
lstore 5
start local 5 6: aload 0
lload 3
lload 5
invokevirtual java.util.concurrent.atomic.AtomicLong.compareAndSet:(JJ)Z
ifeq 0
7: lload 3
lreturn
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 requested Ljava/util/concurrent/atomic/AtomicLong;
0 8 1 n J
1 8 3 r J
6 8 5 u J
MethodParameters:
Name Flags
requested
n
public static long produced(java.util.concurrent.atomic.AtomicLong, long);
descriptor: (Ljava/util/concurrent/atomic/AtomicLong;J)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
lstore 3
start local 3 1: lload 3
ldc 9223372036854775807
lcmp
ifne 3
2: ldc 9223372036854775807
lreturn
3: StackMap locals: long
StackMap stack:
lload 3
lload 1
lsub
lstore 5
start local 5 4: lload 5
lconst_0
lcmp
ifge 7
5: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "More produced than requested: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 5
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
invokestatic io.reactivex.plugins.RxJavaPlugins.onError:(Ljava/lang/Throwable;)V
6: lconst_0
lstore 5
7: StackMap locals: long
StackMap stack:
aload 0
lload 3
lload 5
invokevirtual java.util.concurrent.atomic.AtomicLong.compareAndSet:(JJ)Z
ifeq 0
8: lload 5
lreturn
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 requested Ljava/util/concurrent/atomic/AtomicLong;
0 9 1 n J
1 9 3 current J
4 9 5 update J
MethodParameters:
Name Flags
requested
n
public static long producedCancel(java.util.concurrent.atomic.AtomicLong, long);
descriptor: (Ljava/util/concurrent/atomic/AtomicLong;J)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
lstore 3
start local 3 1: lload 3
ldc -9223372036854775808
lcmp
ifne 3
2: ldc -9223372036854775808
lreturn
3: StackMap locals: long
StackMap stack:
lload 3
ldc 9223372036854775807
lcmp
ifne 5
4: ldc 9223372036854775807
lreturn
5: StackMap locals:
StackMap stack:
lload 3
lload 1
lsub
lstore 5
start local 5 6: lload 5
lconst_0
lcmp
ifge 9
7: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "More produced than requested: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 5
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
invokestatic io.reactivex.plugins.RxJavaPlugins.onError:(Ljava/lang/Throwable;)V
8: lconst_0
lstore 5
9: StackMap locals: long
StackMap stack:
aload 0
lload 3
lload 5
invokevirtual java.util.concurrent.atomic.AtomicLong.compareAndSet:(JJ)Z
ifeq 0
10: lload 5
lreturn
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 requested Ljava/util/concurrent/atomic/AtomicLong;
0 11 1 n J
1 11 3 current J
6 11 5 update J
MethodParameters:
Name Flags
requested
n
}
SourceFile: "BackpressureHelper.java"