public class com.netflix.hystrix.util.LongMaxUpdater extends com.netflix.hystrix.util.Striped64 implements java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.netflix.hystrix.util.LongMaxUpdater
super_class: com.netflix.hystrix.util.Striped64
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 7249069246863182397
final long fn(long, long);
descriptor: (JJ)J
flags: (0x0010) ACC_FINAL
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 3 0: lload 1
lload 3
lcmp
ifle 1
lload 1
goto 2
StackMap locals:
StackMap stack:
1: lload 3
StackMap locals:
StackMap stack: long
2: lreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/netflix/hystrix/util/LongMaxUpdater;
0 3 1 v J
0 3 3 x J
MethodParameters:
Name Flags
v
x
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.netflix.hystrix.util.Striped64.<init>:()V
1: aload 0
ldc -9223372036854775808
putfield com.netflix.hystrix.util.LongMaxUpdater.base:J
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/netflix/hystrix/util/LongMaxUpdater;
public void update(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=13, args_size=2
start local 0 start local 1 0: aload 0
getfield com.netflix.hystrix.util.LongMaxUpdater.cells:[Lcom/netflix/hystrix/util/Striped64$Cell;
dup
astore 3
start local 3 1: ifnonnull 4
2: aload 0
getfield com.netflix.hystrix.util.LongMaxUpdater.base:J
dup2
lstore 4
start local 4 3: lload 1
lcmp
ifge 14
aload 0
lload 4
lload 1
invokevirtual com.netflix.hystrix.util.LongMaxUpdater.casBase:(JJ)Z
ifne 14
end local 4 4: StackMap locals: com.netflix.hystrix.util.Striped64$Cell[]
StackMap stack:
iconst_1
istore 11
start local 11 5: getstatic com.netflix.hystrix.util.LongMaxUpdater.threadHashCode:Lcom/netflix/hystrix/util/Striped64$ThreadHashCode;
invokevirtual com.netflix.hystrix.util.Striped64$ThreadHashCode.get:()Ljava/lang/Object;
checkcast com.netflix.hystrix.util.Striped64$HashCode
dup
astore 8
start local 8 6: getfield com.netflix.hystrix.util.Striped64$HashCode.code:I
istore 12
start local 12 7: aload 3
ifnull 13
aload 3
arraylength
dup
istore 10
start local 10 8: iconst_1
if_icmplt 13
9: aload 3
iload 10
iconst_1
isub
iload 12
iand
aaload
dup
astore 9
start local 9 10: ifnull 13
11: aload 9
getfield com.netflix.hystrix.util.Striped64$Cell.value:J
dup2
lstore 6
start local 6 12: lload 1
lcmp
ifge 14
aload 9
lload 6
lload 1
invokevirtual com.netflix.hystrix.util.Striped64$Cell.cas:(JJ)Z
dup
istore 11
ifne 14
end local 10 end local 9 end local 6 13: StackMap locals: com.netflix.hystrix.util.LongMaxUpdater long com.netflix.hystrix.util.Striped64$Cell[] top top top top com.netflix.hystrix.util.Striped64$HashCode top top int int
StackMap stack:
aload 0
lload 1
aload 8
iload 11
invokevirtual com.netflix.hystrix.util.LongMaxUpdater.retryUpdate:(JLcom/netflix/hystrix/util/Striped64$HashCode;Z)V
end local 12 end local 11 end local 8 14: StackMap locals: com.netflix.hystrix.util.LongMaxUpdater long com.netflix.hystrix.util.Striped64$Cell[]
StackMap stack:
return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/netflix/hystrix/util/LongMaxUpdater;
0 15 1 x J
1 15 3 as [Lcom/netflix/hystrix/util/Striped64$Cell;
3 4 4 b J
12 13 6 v J
6 14 8 hc Lcom/netflix/hystrix/util/Striped64$HashCode;
10 13 9 a Lcom/netflix/hystrix/util/Striped64$Cell;
8 13 10 n I
5 14 11 uncontended Z
7 14 12 h I
MethodParameters:
Name Flags
x
public long max();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=9, args_size=1
start local 0 0: aload 0
getfield com.netflix.hystrix.util.LongMaxUpdater.cells:[Lcom/netflix/hystrix/util/Striped64$Cell;
astore 1
start local 1 1: aload 0
getfield com.netflix.hystrix.util.LongMaxUpdater.base:J
lstore 2
start local 2 2: aload 1
ifnull 12
3: aload 1
arraylength
istore 4
start local 4 4: iconst_0
istore 7
start local 7 5: goto 11
6: StackMap locals: com.netflix.hystrix.util.LongMaxUpdater com.netflix.hystrix.util.Striped64$Cell[] long int top top int
StackMap stack:
aload 1
iload 7
aaload
astore 8
start local 8 7: aload 8
ifnull 10
aload 8
getfield com.netflix.hystrix.util.Striped64$Cell.value:J
dup2
lstore 5
start local 5 8: lload 2
lcmp
ifle 10
9: lload 5
lstore 2
end local 8 end local 5 10: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
11: iload 7
iload 4
if_icmplt 6
end local 7 end local 4 12: StackMap locals: com.netflix.hystrix.util.LongMaxUpdater com.netflix.hystrix.util.Striped64$Cell[] long
StackMap stack:
lload 2
lreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/netflix/hystrix/util/LongMaxUpdater;
1 13 1 as [Lcom/netflix/hystrix/util/Striped64$Cell;
2 13 2 max J
4 12 4 n I
8 10 5 v J
5 12 7 i I
7 10 8 a Lcom/netflix/hystrix/util/Striped64$Cell;
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ldc -9223372036854775808
invokevirtual com.netflix.hystrix.util.LongMaxUpdater.internalReset:(J)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/netflix/hystrix/util/LongMaxUpdater;
public long maxThenReset();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=9, args_size=1
start local 0 0: aload 0
getfield com.netflix.hystrix.util.LongMaxUpdater.cells:[Lcom/netflix/hystrix/util/Striped64$Cell;
astore 1
start local 1 1: aload 0
getfield com.netflix.hystrix.util.LongMaxUpdater.base:J
lstore 2
start local 2 2: aload 0
ldc -9223372036854775808
putfield com.netflix.hystrix.util.LongMaxUpdater.base:J
3: aload 1
ifnull 15
4: aload 1
arraylength
istore 4
start local 4 5: iconst_0
istore 5
start local 5 6: goto 14
7: StackMap locals: com.netflix.hystrix.util.LongMaxUpdater com.netflix.hystrix.util.Striped64$Cell[] long int int
StackMap stack:
aload 1
iload 5
aaload
astore 6
start local 6 8: aload 6
ifnull 13
9: aload 6
getfield com.netflix.hystrix.util.Striped64$Cell.value:J
lstore 7
start local 7 10: aload 6
ldc -9223372036854775808
putfield com.netflix.hystrix.util.Striped64$Cell.value:J
11: lload 7
lload 2
lcmp
ifle 13
12: lload 7
lstore 2
end local 7 end local 6 13: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
14: iload 5
iload 4
if_icmplt 7
end local 5 end local 4 15: StackMap locals:
StackMap stack:
lload 2
lreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/netflix/hystrix/util/LongMaxUpdater;
1 16 1 as [Lcom/netflix/hystrix/util/Striped64$Cell;
2 16 2 max J
5 15 4 n I
6 15 5 i I
8 13 6 a Lcom/netflix/hystrix/util/Striped64$Cell;
10 13 7 v J
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.netflix.hystrix.util.LongMaxUpdater.max:()J
invokestatic java.lang.Long.toString:(J)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/netflix/hystrix/util/LongMaxUpdater;
public long longValue();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.netflix.hystrix.util.LongMaxUpdater.max:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/netflix/hystrix/util/LongMaxUpdater;
public int intValue();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.netflix.hystrix.util.LongMaxUpdater.max:()J
l2i
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/netflix/hystrix/util/LongMaxUpdater;
public float floatValue();
descriptor: ()F
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.netflix.hystrix.util.LongMaxUpdater.max:()J
l2f
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/netflix/hystrix/util/LongMaxUpdater;
public double doubleValue();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.netflix.hystrix.util.LongMaxUpdater.max:()J
l2d
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/netflix/hystrix/util/LongMaxUpdater;
private void writeObject(java.io.ObjectOutputStream);
descriptor: (Ljava/io/ObjectOutputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectOutputStream.defaultWriteObject:()V
1: aload 1
aload 0
invokevirtual com.netflix.hystrix.util.LongMaxUpdater.max:()J
invokevirtual java.io.ObjectOutputStream.writeLong:(J)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/netflix/hystrix/util/LongMaxUpdater;
0 3 1 s Ljava/io/ObjectOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
private void readObject(java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectInputStream.defaultReadObject:()V
1: aload 0
iconst_0
putfield com.netflix.hystrix.util.LongMaxUpdater.busy:I
2: aload 0
aconst_null
putfield com.netflix.hystrix.util.LongMaxUpdater.cells:[Lcom/netflix/hystrix/util/Striped64$Cell;
3: aload 0
aload 1
invokevirtual java.io.ObjectInputStream.readLong:()J
putfield com.netflix.hystrix.util.LongMaxUpdater.base:J
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/netflix/hystrix/util/LongMaxUpdater;
0 5 1 s Ljava/io/ObjectInputStream;
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
MethodParameters:
Name Flags
s
}
SourceFile: "LongMaxUpdater.java"
InnerClasses:
final Cell = com.netflix.hystrix.util.Striped64$Cell of com.netflix.hystrix.util.Striped64
final HashCode = com.netflix.hystrix.util.Striped64$HashCode of com.netflix.hystrix.util.Striped64
final ThreadHashCode = com.netflix.hystrix.util.Striped64$ThreadHashCode of com.netflix.hystrix.util.Striped64