public class sun.jvm.hotspot.utilities.RBTree
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.jvm.hotspot.utilities.RBTree
super_class: java.lang.Object
{
private sun.jvm.hotspot.utilities.RBNode root;
descriptor: Lsun/jvm/hotspot/utilities/RBNode;
flags: (0x0002) ACC_PRIVATE
private java.util.Comparator<java.lang.Object> comparator;
descriptor: Ljava/util/Comparator;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Comparator<Ljava/lang/Object;>;
protected static final boolean DEBUGGING;
descriptor: Z
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 1
protected static final boolean VERBOSE;
descriptor: Z
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 1
protected static final boolean REALLY_VERBOSE;
descriptor: Z
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public void <init>(java.util.Comparator<java.lang.Object>);
descriptor: (Ljava/util/Comparator;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield sun.jvm.hotspot.utilities.RBTree.comparator:Ljava/util/Comparator;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/jvm/hotspot/utilities/RBTree;
0 3 1 comparator Ljava/util/Comparator<Ljava/lang/Object;>;
Signature: (Ljava/util/Comparator<Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
comparator
public sun.jvm.hotspot.utilities.RBNode getRoot();
descriptor: ()Lsun/jvm/hotspot/utilities/RBNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.utilities.RBTree.root:Lsun/jvm/hotspot/utilities/RBNode;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/utilities/RBTree;
public void insertNode(sun.jvm.hotspot.utilities.RBNode);
descriptor: (Lsun/jvm/hotspot/utilities/RBNode;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual sun.jvm.hotspot.utilities.RBTree.treeInsert:(Lsun/jvm/hotspot/utilities/RBNode;)V
1: aload 1
getstatic sun.jvm.hotspot.utilities.RBColor.RED:Lsun/jvm/hotspot/utilities/RBColor;
invokevirtual sun.jvm.hotspot.utilities.RBNode.setColor:(Lsun/jvm/hotspot/utilities/RBColor;)V
2: aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.update:()Z
istore 2
start local 2 3: aload 1
astore 3
start local 3 4: goto 41
5: StackMap locals: int sun.jvm.hotspot.utilities.RBNode
StackMap stack:
aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
invokevirtual sun.jvm.hotspot.utilities.RBNode.getLeft:()Lsun/jvm/hotspot/utilities/RBNode;
if_acmpne 24
6: aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
invokevirtual sun.jvm.hotspot.utilities.RBNode.getRight:()Lsun/jvm/hotspot/utilities/RBNode;
astore 4
start local 4 7: aload 4
ifnull 16
aload 4
invokevirtual sun.jvm.hotspot.utilities.RBNode.getColor:()Lsun/jvm/hotspot/utilities/RBColor;
getstatic sun.jvm.hotspot.utilities.RBColor.RED:Lsun/jvm/hotspot/utilities/RBColor;
if_acmpne 16
8: aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
getstatic sun.jvm.hotspot.utilities.RBColor.BLACK:Lsun/jvm/hotspot/utilities/RBColor;
invokevirtual sun.jvm.hotspot.utilities.RBNode.setColor:(Lsun/jvm/hotspot/utilities/RBColor;)V
9: aload 4
getstatic sun.jvm.hotspot.utilities.RBColor.BLACK:Lsun/jvm/hotspot/utilities/RBColor;
invokevirtual sun.jvm.hotspot.utilities.RBNode.setColor:(Lsun/jvm/hotspot/utilities/RBColor;)V
10: aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
getstatic sun.jvm.hotspot.utilities.RBColor.RED:Lsun/jvm/hotspot/utilities/RBColor;
invokevirtual sun.jvm.hotspot.utilities.RBNode.setColor:(Lsun/jvm/hotspot/utilities/RBColor;)V
11: aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
invokevirtual sun.jvm.hotspot.utilities.RBNode.update:()Z
pop
12: aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
astore 1
13: aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.update:()Z
istore 2
14: aload 1
astore 3
15: goto 41
16: StackMap locals: sun.jvm.hotspot.utilities.RBNode
StackMap stack:
aload 1
aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
invokevirtual sun.jvm.hotspot.utilities.RBNode.getRight:()Lsun/jvm/hotspot/utilities/RBNode;
if_acmpne 19
17: aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
astore 1
18: aload 0
aload 1
invokevirtual sun.jvm.hotspot.utilities.RBTree.leftRotate:(Lsun/jvm/hotspot/utilities/RBNode;)Z
pop
19: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
getstatic sun.jvm.hotspot.utilities.RBColor.BLACK:Lsun/jvm/hotspot/utilities/RBColor;
invokevirtual sun.jvm.hotspot.utilities.RBNode.setColor:(Lsun/jvm/hotspot/utilities/RBColor;)V
20: aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
getstatic sun.jvm.hotspot.utilities.RBColor.RED:Lsun/jvm/hotspot/utilities/RBColor;
invokevirtual sun.jvm.hotspot.utilities.RBNode.setColor:(Lsun/jvm/hotspot/utilities/RBColor;)V
21: aload 0
aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
invokevirtual sun.jvm.hotspot.utilities.RBTree.rightRotate:(Lsun/jvm/hotspot/utilities/RBNode;)Z
istore 2
22: aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
astore 3
end local 4 23: goto 41
24: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
invokevirtual sun.jvm.hotspot.utilities.RBNode.getLeft:()Lsun/jvm/hotspot/utilities/RBNode;
astore 4
start local 4 25: aload 4
ifnull 34
aload 4
invokevirtual sun.jvm.hotspot.utilities.RBNode.getColor:()Lsun/jvm/hotspot/utilities/RBColor;
getstatic sun.jvm.hotspot.utilities.RBColor.RED:Lsun/jvm/hotspot/utilities/RBColor;
if_acmpne 34
26: aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
getstatic sun.jvm.hotspot.utilities.RBColor.BLACK:Lsun/jvm/hotspot/utilities/RBColor;
invokevirtual sun.jvm.hotspot.utilities.RBNode.setColor:(Lsun/jvm/hotspot/utilities/RBColor;)V
27: aload 4
getstatic sun.jvm.hotspot.utilities.RBColor.BLACK:Lsun/jvm/hotspot/utilities/RBColor;
invokevirtual sun.jvm.hotspot.utilities.RBNode.setColor:(Lsun/jvm/hotspot/utilities/RBColor;)V
28: aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
getstatic sun.jvm.hotspot.utilities.RBColor.RED:Lsun/jvm/hotspot/utilities/RBColor;
invokevirtual sun.jvm.hotspot.utilities.RBNode.setColor:(Lsun/jvm/hotspot/utilities/RBColor;)V
29: aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
invokevirtual sun.jvm.hotspot.utilities.RBNode.update:()Z
pop
30: aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
astore 1
31: aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.update:()Z
istore 2
32: aload 1
astore 3
33: goto 41
34: StackMap locals: sun.jvm.hotspot.utilities.RBNode
StackMap stack:
aload 1
aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
invokevirtual sun.jvm.hotspot.utilities.RBNode.getLeft:()Lsun/jvm/hotspot/utilities/RBNode;
if_acmpne 37
35: aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
astore 1
36: aload 0
aload 1
invokevirtual sun.jvm.hotspot.utilities.RBTree.rightRotate:(Lsun/jvm/hotspot/utilities/RBNode;)Z
pop
37: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
getstatic sun.jvm.hotspot.utilities.RBColor.BLACK:Lsun/jvm/hotspot/utilities/RBColor;
invokevirtual sun.jvm.hotspot.utilities.RBNode.setColor:(Lsun/jvm/hotspot/utilities/RBColor;)V
38: aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
getstatic sun.jvm.hotspot.utilities.RBColor.RED:Lsun/jvm/hotspot/utilities/RBColor;
invokevirtual sun.jvm.hotspot.utilities.RBNode.setColor:(Lsun/jvm/hotspot/utilities/RBColor;)V
39: aload 0
aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
invokevirtual sun.jvm.hotspot.utilities.RBTree.leftRotate:(Lsun/jvm/hotspot/utilities/RBNode;)Z
istore 2
40: aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
astore 3
end local 4 41: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield sun.jvm.hotspot.utilities.RBTree.root:Lsun/jvm/hotspot/utilities/RBNode;
if_acmpeq 45
aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
invokevirtual sun.jvm.hotspot.utilities.RBNode.getColor:()Lsun/jvm/hotspot/utilities/RBColor;
getstatic sun.jvm.hotspot.utilities.RBColor.RED:Lsun/jvm/hotspot/utilities/RBColor;
if_acmpeq 5
42: goto 45
43: StackMap locals:
StackMap stack:
aload 3
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
astore 3
44: aload 3
invokevirtual sun.jvm.hotspot.utilities.RBNode.update:()Z
istore 2
45: StackMap locals:
StackMap stack:
iload 2
ifeq 46
aload 3
aload 0
getfield sun.jvm.hotspot.utilities.RBTree.root:Lsun/jvm/hotspot/utilities/RBNode;
if_acmpne 43
46: StackMap locals:
StackMap stack:
aload 0
getfield sun.jvm.hotspot.utilities.RBTree.root:Lsun/jvm/hotspot/utilities/RBNode;
getstatic sun.jvm.hotspot.utilities.RBColor.BLACK:Lsun/jvm/hotspot/utilities/RBColor;
invokevirtual sun.jvm.hotspot.utilities.RBNode.setColor:(Lsun/jvm/hotspot/utilities/RBColor;)V
47: aload 0
invokevirtual sun.jvm.hotspot.utilities.RBTree.verify:()V
48: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 49 0 this Lsun/jvm/hotspot/utilities/RBTree;
0 49 1 x Lsun/jvm/hotspot/utilities/RBNode;
3 49 2 shouldPropagate Z
4 49 3 propagateStart Lsun/jvm/hotspot/utilities/RBNode;
7 23 4 y Lsun/jvm/hotspot/utilities/RBNode;
25 41 4 y Lsun/jvm/hotspot/utilities/RBNode;
MethodParameters:
Name Flags
x
public void deleteNode(sun.jvm.hotspot.utilities.RBNode);
descriptor: (Lsun/jvm/hotspot/utilities/RBNode;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getLeft:()Lsun/jvm/hotspot/utilities/RBNode;
ifnull 1
aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getRight:()Lsun/jvm/hotspot/utilities/RBNode;
ifnonnull 3
1: StackMap locals:
StackMap stack:
aload 1
astore 2
start local 2 2: goto 4
end local 2 3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual sun.jvm.hotspot.utilities.RBTree.treeSuccessor:(Lsun/jvm/hotspot/utilities/RBNode;)Lsun/jvm/hotspot/utilities/RBNode;
astore 2
start local 2 4: StackMap locals: sun.jvm.hotspot.utilities.RBNode
StackMap stack:
aload 2
invokevirtual sun.jvm.hotspot.utilities.RBNode.getLeft:()Lsun/jvm/hotspot/utilities/RBNode;
ifnull 7
5: aload 2
invokevirtual sun.jvm.hotspot.utilities.RBNode.getLeft:()Lsun/jvm/hotspot/utilities/RBNode;
astore 3
start local 3 6: goto 8
end local 3 7: StackMap locals:
StackMap stack:
aload 2
invokevirtual sun.jvm.hotspot.utilities.RBNode.getRight:()Lsun/jvm/hotspot/utilities/RBNode;
astore 3
start local 3 8: StackMap locals: sun.jvm.hotspot.utilities.RBNode
StackMap stack:
aload 3
ifnull 12
9: aload 3
aload 2
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
invokevirtual sun.jvm.hotspot.utilities.RBNode.setParent:(Lsun/jvm/hotspot/utilities/RBNode;)V
10: aload 3
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
astore 4
start local 4 11: goto 13
end local 4 12: StackMap locals:
StackMap stack:
aload 2
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
astore 4
start local 4 13: StackMap locals: sun.jvm.hotspot.utilities.RBNode
StackMap stack:
aload 2
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
ifnonnull 16
14: aload 0
aload 3
putfield sun.jvm.hotspot.utilities.RBTree.root:Lsun/jvm/hotspot/utilities/RBNode;
15: goto 20
16: StackMap locals:
StackMap stack:
aload 2
aload 2
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
invokevirtual sun.jvm.hotspot.utilities.RBNode.getLeft:()Lsun/jvm/hotspot/utilities/RBNode;
if_acmpne 19
17: aload 2
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
aload 3
invokevirtual sun.jvm.hotspot.utilities.RBNode.setLeft:(Lsun/jvm/hotspot/utilities/RBNode;)V
18: goto 20
19: StackMap locals:
StackMap stack:
aload 2
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
aload 3
invokevirtual sun.jvm.hotspot.utilities.RBNode.setRight:(Lsun/jvm/hotspot/utilities/RBNode;)V
20: StackMap locals:
StackMap stack:
aload 2
aload 1
if_acmpeq 22
21: aload 1
aload 2
invokevirtual sun.jvm.hotspot.utilities.RBNode.copyFrom:(Lsun/jvm/hotspot/utilities/RBNode;)V
22: StackMap locals:
StackMap stack:
aload 2
invokevirtual sun.jvm.hotspot.utilities.RBNode.getColor:()Lsun/jvm/hotspot/utilities/RBColor;
getstatic sun.jvm.hotspot.utilities.RBColor.BLACK:Lsun/jvm/hotspot/utilities/RBColor;
if_acmpne 24
23: aload 0
aload 3
aload 4
invokevirtual sun.jvm.hotspot.utilities.RBTree.deleteFixup:(Lsun/jvm/hotspot/utilities/RBNode;Lsun/jvm/hotspot/utilities/RBNode;)V
24: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.jvm.hotspot.utilities.RBTree.verify:()V
25: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lsun/jvm/hotspot/utilities/RBTree;
0 26 1 z Lsun/jvm/hotspot/utilities/RBNode;
2 3 2 y Lsun/jvm/hotspot/utilities/RBNode;
4 26 2 y Lsun/jvm/hotspot/utilities/RBNode;
6 7 3 x Lsun/jvm/hotspot/utilities/RBNode;
8 26 3 x Lsun/jvm/hotspot/utilities/RBNode;
11 12 4 xParent Lsun/jvm/hotspot/utilities/RBNode;
13 26 4 xParent Lsun/jvm/hotspot/utilities/RBNode;
MethodParameters:
Name Flags
z
public void print();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual sun.jvm.hotspot.utilities.RBTree.printOn:(Ljava/io/PrintStream;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/utilities/RBTree;
public void printOn(java.io.PrintStream);
descriptor: (Ljava/io/PrintStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield sun.jvm.hotspot.utilities.RBTree.root:Lsun/jvm/hotspot/utilities/RBNode;
aload 1
iconst_0
invokevirtual sun.jvm.hotspot.utilities.RBTree.printFromNode:(Lsun/jvm/hotspot/utilities/RBNode;Ljava/io/PrintStream;I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/utilities/RBTree;
0 2 1 tty Ljava/io/PrintStream;
MethodParameters:
Name Flags
tty
protected java.lang.Object getNodeValue(sun.jvm.hotspot.utilities.RBNode);
descriptor: (Lsun/jvm/hotspot/utilities/RBNode;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getData:()Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/utilities/RBTree;
0 1 1 node Lsun/jvm/hotspot/utilities/RBNode;
MethodParameters:
Name Flags
node
protected void verify();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield sun.jvm.hotspot.utilities.RBTree.root:Lsun/jvm/hotspot/utilities/RBNode;
invokevirtual sun.jvm.hotspot.utilities.RBTree.verifyFromNode:(Lsun/jvm/hotspot/utilities/RBNode;)I
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/utilities/RBTree;
private void treeInsert(sun.jvm.hotspot.utilities.RBNode);
descriptor: (Lsun/jvm/hotspot/utilities/RBNode;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 0
getfield sun.jvm.hotspot.utilities.RBTree.root:Lsun/jvm/hotspot/utilities/RBNode;
astore 3
start local 3 2: goto 8
3: StackMap locals: sun.jvm.hotspot.utilities.RBNode sun.jvm.hotspot.utilities.RBNode
StackMap stack:
aload 3
astore 2
4: aload 0
getfield sun.jvm.hotspot.utilities.RBTree.comparator:Ljava/util/Comparator;
aload 0
aload 1
invokevirtual sun.jvm.hotspot.utilities.RBTree.getNodeValue:(Lsun/jvm/hotspot/utilities/RBNode;)Ljava/lang/Object;
aload 0
aload 3
invokevirtual sun.jvm.hotspot.utilities.RBTree.getNodeValue:(Lsun/jvm/hotspot/utilities/RBNode;)Ljava/lang/Object;
invokeinterface java.util.Comparator.compare:(Ljava/lang/Object;Ljava/lang/Object;)I
ifge 7
5: aload 3
invokevirtual sun.jvm.hotspot.utilities.RBNode.getLeft:()Lsun/jvm/hotspot/utilities/RBNode;
astore 3
6: goto 8
7: StackMap locals:
StackMap stack:
aload 3
invokevirtual sun.jvm.hotspot.utilities.RBNode.getRight:()Lsun/jvm/hotspot/utilities/RBNode;
astore 3
8: StackMap locals:
StackMap stack:
aload 3
ifnonnull 3
9: aload 1
aload 2
invokevirtual sun.jvm.hotspot.utilities.RBNode.setParent:(Lsun/jvm/hotspot/utilities/RBNode;)V
10: aload 2
ifnonnull 13
11: aload 0
aload 1
putfield sun.jvm.hotspot.utilities.RBTree.root:Lsun/jvm/hotspot/utilities/RBNode;
12: goto 17
13: StackMap locals:
StackMap stack:
aload 0
getfield sun.jvm.hotspot.utilities.RBTree.comparator:Ljava/util/Comparator;
aload 0
aload 1
invokevirtual sun.jvm.hotspot.utilities.RBTree.getNodeValue:(Lsun/jvm/hotspot/utilities/RBNode;)Ljava/lang/Object;
aload 0
aload 2
invokevirtual sun.jvm.hotspot.utilities.RBTree.getNodeValue:(Lsun/jvm/hotspot/utilities/RBNode;)Ljava/lang/Object;
invokeinterface java.util.Comparator.compare:(Ljava/lang/Object;Ljava/lang/Object;)I
ifge 16
14: aload 2
aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.setLeft:(Lsun/jvm/hotspot/utilities/RBNode;)V
15: goto 17
16: StackMap locals:
StackMap stack:
aload 2
aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.setRight:(Lsun/jvm/hotspot/utilities/RBNode;)V
17: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lsun/jvm/hotspot/utilities/RBTree;
0 18 1 z Lsun/jvm/hotspot/utilities/RBNode;
1 18 2 y Lsun/jvm/hotspot/utilities/RBNode;
2 18 3 x Lsun/jvm/hotspot/utilities/RBNode;
MethodParameters:
Name Flags
z
private sun.jvm.hotspot.utilities.RBNode treeSuccessor(sun.jvm.hotspot.utilities.RBNode);
descriptor: (Lsun/jvm/hotspot/utilities/RBNode;)Lsun/jvm/hotspot/utilities/RBNode;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getRight:()Lsun/jvm/hotspot/utilities/RBNode;
ifnull 2
1: aload 0
aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getRight:()Lsun/jvm/hotspot/utilities/RBNode;
invokevirtual sun.jvm.hotspot.utilities.RBTree.treeMinimum:(Lsun/jvm/hotspot/utilities/RBNode;)Lsun/jvm/hotspot/utilities/RBNode;
areturn
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
astore 2
start local 2 3: goto 6
4: StackMap locals: sun.jvm.hotspot.utilities.RBNode
StackMap stack:
aload 2
astore 1
5: aload 2
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
astore 2
6: StackMap locals:
StackMap stack:
aload 2
ifnull 7
aload 1
aload 2
invokevirtual sun.jvm.hotspot.utilities.RBNode.getRight:()Lsun/jvm/hotspot/utilities/RBNode;
if_acmpeq 4
7: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/jvm/hotspot/utilities/RBTree;
0 8 1 x Lsun/jvm/hotspot/utilities/RBNode;
3 8 2 y Lsun/jvm/hotspot/utilities/RBNode;
MethodParameters:
Name Flags
x
private sun.jvm.hotspot.utilities.RBNode treeMinimum(sun.jvm.hotspot.utilities.RBNode);
descriptor: (Lsun/jvm/hotspot/utilities/RBNode;)Lsun/jvm/hotspot/utilities/RBNode;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: goto 2
1: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getLeft:()Lsun/jvm/hotspot/utilities/RBNode;
astore 1
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getLeft:()Lsun/jvm/hotspot/utilities/RBNode;
ifnonnull 1
3: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/jvm/hotspot/utilities/RBTree;
0 4 1 x Lsun/jvm/hotspot/utilities/RBNode;
MethodParameters:
Name Flags
x
private boolean leftRotate(sun.jvm.hotspot.utilities.RBNode);
descriptor: (Lsun/jvm/hotspot/utilities/RBNode;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getRight:()Lsun/jvm/hotspot/utilities/RBNode;
astore 2
start local 2 1: aload 1
aload 2
invokevirtual sun.jvm.hotspot.utilities.RBNode.getLeft:()Lsun/jvm/hotspot/utilities/RBNode;
invokevirtual sun.jvm.hotspot.utilities.RBNode.setRight:(Lsun/jvm/hotspot/utilities/RBNode;)V
2: aload 2
invokevirtual sun.jvm.hotspot.utilities.RBNode.getLeft:()Lsun/jvm/hotspot/utilities/RBNode;
ifnull 4
3: aload 2
invokevirtual sun.jvm.hotspot.utilities.RBNode.getLeft:()Lsun/jvm/hotspot/utilities/RBNode;
aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.setParent:(Lsun/jvm/hotspot/utilities/RBNode;)V
4: StackMap locals: sun.jvm.hotspot.utilities.RBNode
StackMap stack:
aload 2
aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
invokevirtual sun.jvm.hotspot.utilities.RBNode.setParent:(Lsun/jvm/hotspot/utilities/RBNode;)V
5: aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
ifnonnull 8
6: aload 0
aload 2
putfield sun.jvm.hotspot.utilities.RBTree.root:Lsun/jvm/hotspot/utilities/RBNode;
7: goto 12
8: StackMap locals:
StackMap stack:
aload 1
aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
invokevirtual sun.jvm.hotspot.utilities.RBNode.getLeft:()Lsun/jvm/hotspot/utilities/RBNode;
if_acmpne 11
9: aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
aload 2
invokevirtual sun.jvm.hotspot.utilities.RBNode.setLeft:(Lsun/jvm/hotspot/utilities/RBNode;)V
10: goto 12
11: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
aload 2
invokevirtual sun.jvm.hotspot.utilities.RBNode.setRight:(Lsun/jvm/hotspot/utilities/RBNode;)V
12: StackMap locals:
StackMap stack:
aload 2
aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.setLeft:(Lsun/jvm/hotspot/utilities/RBNode;)V
13: aload 1
aload 2
invokevirtual sun.jvm.hotspot.utilities.RBNode.setParent:(Lsun/jvm/hotspot/utilities/RBNode;)V
14: aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.update:()Z
istore 3
start local 3 15: aload 2
invokevirtual sun.jvm.hotspot.utilities.RBNode.update:()Z
ifne 16
iload 3
ifne 16
iconst_0
goto 17
StackMap locals: int
StackMap stack:
16: iconst_1
StackMap locals:
StackMap stack: int
17: istore 3
18: iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lsun/jvm/hotspot/utilities/RBTree;
0 19 1 x Lsun/jvm/hotspot/utilities/RBNode;
1 19 2 y Lsun/jvm/hotspot/utilities/RBNode;
15 19 3 res Z
MethodParameters:
Name Flags
x
private boolean rightRotate(sun.jvm.hotspot.utilities.RBNode);
descriptor: (Lsun/jvm/hotspot/utilities/RBNode;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getLeft:()Lsun/jvm/hotspot/utilities/RBNode;
astore 2
start local 2 1: aload 1
aload 2
invokevirtual sun.jvm.hotspot.utilities.RBNode.getRight:()Lsun/jvm/hotspot/utilities/RBNode;
invokevirtual sun.jvm.hotspot.utilities.RBNode.setLeft:(Lsun/jvm/hotspot/utilities/RBNode;)V
2: aload 2
invokevirtual sun.jvm.hotspot.utilities.RBNode.getRight:()Lsun/jvm/hotspot/utilities/RBNode;
ifnull 4
3: aload 2
invokevirtual sun.jvm.hotspot.utilities.RBNode.getRight:()Lsun/jvm/hotspot/utilities/RBNode;
aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.setParent:(Lsun/jvm/hotspot/utilities/RBNode;)V
4: StackMap locals: sun.jvm.hotspot.utilities.RBNode
StackMap stack:
aload 2
aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
invokevirtual sun.jvm.hotspot.utilities.RBNode.setParent:(Lsun/jvm/hotspot/utilities/RBNode;)V
5: aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
ifnonnull 8
6: aload 0
aload 2
putfield sun.jvm.hotspot.utilities.RBTree.root:Lsun/jvm/hotspot/utilities/RBNode;
7: goto 12
8: StackMap locals:
StackMap stack:
aload 1
aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
invokevirtual sun.jvm.hotspot.utilities.RBNode.getLeft:()Lsun/jvm/hotspot/utilities/RBNode;
if_acmpne 11
9: aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
aload 2
invokevirtual sun.jvm.hotspot.utilities.RBNode.setLeft:(Lsun/jvm/hotspot/utilities/RBNode;)V
10: goto 12
11: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
aload 2
invokevirtual sun.jvm.hotspot.utilities.RBNode.setRight:(Lsun/jvm/hotspot/utilities/RBNode;)V
12: StackMap locals:
StackMap stack:
aload 2
aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.setRight:(Lsun/jvm/hotspot/utilities/RBNode;)V
13: aload 1
aload 2
invokevirtual sun.jvm.hotspot.utilities.RBNode.setParent:(Lsun/jvm/hotspot/utilities/RBNode;)V
14: aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.update:()Z
istore 3
start local 3 15: aload 2
invokevirtual sun.jvm.hotspot.utilities.RBNode.update:()Z
ifne 16
iload 3
ifne 16
iconst_0
goto 17
StackMap locals: int
StackMap stack:
16: iconst_1
StackMap locals:
StackMap stack: int
17: istore 3
18: iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lsun/jvm/hotspot/utilities/RBTree;
0 19 1 y Lsun/jvm/hotspot/utilities/RBNode;
1 19 2 x Lsun/jvm/hotspot/utilities/RBNode;
15 19 3 res Z
MethodParameters:
Name Flags
y
private void deleteFixup(sun.jvm.hotspot.utilities.RBNode, sun.jvm.hotspot.utilities.RBNode);
descriptor: (Lsun/jvm/hotspot/utilities/RBNode;Lsun/jvm/hotspot/utilities/RBNode;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: goto 55
1: StackMap locals:
StackMap stack:
aload 1
aload 2
invokevirtual sun.jvm.hotspot.utilities.RBNode.getLeft:()Lsun/jvm/hotspot/utilities/RBNode;
if_acmpne 29
2: aload 2
invokevirtual sun.jvm.hotspot.utilities.RBNode.getRight:()Lsun/jvm/hotspot/utilities/RBNode;
astore 3
start local 3 3: aload 3
ifnonnull 5
4: new java.lang.RuntimeException
dup
ldc "x's sibling should not be null"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: sun.jvm.hotspot.utilities.RBNode
StackMap stack:
aload 3
invokevirtual sun.jvm.hotspot.utilities.RBNode.getColor:()Lsun/jvm/hotspot/utilities/RBColor;
getstatic sun.jvm.hotspot.utilities.RBColor.RED:Lsun/jvm/hotspot/utilities/RBColor;
if_acmpne 10
6: aload 3
getstatic sun.jvm.hotspot.utilities.RBColor.BLACK:Lsun/jvm/hotspot/utilities/RBColor;
invokevirtual sun.jvm.hotspot.utilities.RBNode.setColor:(Lsun/jvm/hotspot/utilities/RBColor;)V
7: aload 2
getstatic sun.jvm.hotspot.utilities.RBColor.RED:Lsun/jvm/hotspot/utilities/RBColor;
invokevirtual sun.jvm.hotspot.utilities.RBNode.setColor:(Lsun/jvm/hotspot/utilities/RBColor;)V
8: aload 0
aload 2
invokevirtual sun.jvm.hotspot.utilities.RBTree.leftRotate:(Lsun/jvm/hotspot/utilities/RBNode;)Z
pop
9: aload 2
invokevirtual sun.jvm.hotspot.utilities.RBNode.getRight:()Lsun/jvm/hotspot/utilities/RBNode;
astore 3
10: StackMap locals:
StackMap stack:
aload 3
invokevirtual sun.jvm.hotspot.utilities.RBNode.getLeft:()Lsun/jvm/hotspot/utilities/RBNode;
ifnull 11
aload 3
invokevirtual sun.jvm.hotspot.utilities.RBNode.getLeft:()Lsun/jvm/hotspot/utilities/RBNode;
invokevirtual sun.jvm.hotspot.utilities.RBNode.getColor:()Lsun/jvm/hotspot/utilities/RBColor;
getstatic sun.jvm.hotspot.utilities.RBColor.BLACK:Lsun/jvm/hotspot/utilities/RBColor;
if_acmpne 16
11: StackMap locals:
StackMap stack:
aload 3
invokevirtual sun.jvm.hotspot.utilities.RBNode.getRight:()Lsun/jvm/hotspot/utilities/RBNode;
ifnull 12
aload 3
invokevirtual sun.jvm.hotspot.utilities.RBNode.getRight:()Lsun/jvm/hotspot/utilities/RBNode;
invokevirtual sun.jvm.hotspot.utilities.RBNode.getColor:()Lsun/jvm/hotspot/utilities/RBColor;
getstatic sun.jvm.hotspot.utilities.RBColor.BLACK:Lsun/jvm/hotspot/utilities/RBColor;
if_acmpne 16
12: StackMap locals:
StackMap stack:
aload 3
getstatic sun.jvm.hotspot.utilities.RBColor.RED:Lsun/jvm/hotspot/utilities/RBColor;
invokevirtual sun.jvm.hotspot.utilities.RBNode.setColor:(Lsun/jvm/hotspot/utilities/RBColor;)V
13: aload 2
astore 1
14: aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
astore 2
15: goto 55
16: StackMap locals:
StackMap stack:
aload 3
invokevirtual sun.jvm.hotspot.utilities.RBNode.getRight:()Lsun/jvm/hotspot/utilities/RBNode;
ifnull 17
aload 3
invokevirtual sun.jvm.hotspot.utilities.RBNode.getRight:()Lsun/jvm/hotspot/utilities/RBNode;
invokevirtual sun.jvm.hotspot.utilities.RBNode.getColor:()Lsun/jvm/hotspot/utilities/RBColor;
getstatic sun.jvm.hotspot.utilities.RBColor.BLACK:Lsun/jvm/hotspot/utilities/RBColor;
if_acmpne 21
17: StackMap locals:
StackMap stack:
aload 3
invokevirtual sun.jvm.hotspot.utilities.RBNode.getLeft:()Lsun/jvm/hotspot/utilities/RBNode;
getstatic sun.jvm.hotspot.utilities.RBColor.BLACK:Lsun/jvm/hotspot/utilities/RBColor;
invokevirtual sun.jvm.hotspot.utilities.RBNode.setColor:(Lsun/jvm/hotspot/utilities/RBColor;)V
18: aload 3
getstatic sun.jvm.hotspot.utilities.RBColor.RED:Lsun/jvm/hotspot/utilities/RBColor;
invokevirtual sun.jvm.hotspot.utilities.RBNode.setColor:(Lsun/jvm/hotspot/utilities/RBColor;)V
19: aload 0
aload 3
invokevirtual sun.jvm.hotspot.utilities.RBTree.rightRotate:(Lsun/jvm/hotspot/utilities/RBNode;)Z
pop
20: aload 2
invokevirtual sun.jvm.hotspot.utilities.RBNode.getRight:()Lsun/jvm/hotspot/utilities/RBNode;
astore 3
21: StackMap locals:
StackMap stack:
aload 3
aload 2
invokevirtual sun.jvm.hotspot.utilities.RBNode.getColor:()Lsun/jvm/hotspot/utilities/RBColor;
invokevirtual sun.jvm.hotspot.utilities.RBNode.setColor:(Lsun/jvm/hotspot/utilities/RBColor;)V
22: aload 2
getstatic sun.jvm.hotspot.utilities.RBColor.BLACK:Lsun/jvm/hotspot/utilities/RBColor;
invokevirtual sun.jvm.hotspot.utilities.RBNode.setColor:(Lsun/jvm/hotspot/utilities/RBColor;)V
23: aload 3
invokevirtual sun.jvm.hotspot.utilities.RBNode.getRight:()Lsun/jvm/hotspot/utilities/RBNode;
ifnull 25
24: aload 3
invokevirtual sun.jvm.hotspot.utilities.RBNode.getRight:()Lsun/jvm/hotspot/utilities/RBNode;
getstatic sun.jvm.hotspot.utilities.RBColor.BLACK:Lsun/jvm/hotspot/utilities/RBColor;
invokevirtual sun.jvm.hotspot.utilities.RBNode.setColor:(Lsun/jvm/hotspot/utilities/RBColor;)V
25: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual sun.jvm.hotspot.utilities.RBTree.leftRotate:(Lsun/jvm/hotspot/utilities/RBNode;)Z
pop
26: aload 0
getfield sun.jvm.hotspot.utilities.RBTree.root:Lsun/jvm/hotspot/utilities/RBNode;
astore 1
27: aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
astore 2
end local 3 28: goto 55
29: StackMap locals:
StackMap stack:
aload 2
invokevirtual sun.jvm.hotspot.utilities.RBNode.getLeft:()Lsun/jvm/hotspot/utilities/RBNode;
astore 3
start local 3 30: aload 3
ifnonnull 32
31: new java.lang.RuntimeException
dup
ldc "x's sibling should not be null"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
32: StackMap locals: sun.jvm.hotspot.utilities.RBNode
StackMap stack:
aload 3
invokevirtual sun.jvm.hotspot.utilities.RBNode.getColor:()Lsun/jvm/hotspot/utilities/RBColor;
getstatic sun.jvm.hotspot.utilities.RBColor.RED:Lsun/jvm/hotspot/utilities/RBColor;
if_acmpne 37
33: aload 3
getstatic sun.jvm.hotspot.utilities.RBColor.BLACK:Lsun/jvm/hotspot/utilities/RBColor;
invokevirtual sun.jvm.hotspot.utilities.RBNode.setColor:(Lsun/jvm/hotspot/utilities/RBColor;)V
34: aload 2
getstatic sun.jvm.hotspot.utilities.RBColor.RED:Lsun/jvm/hotspot/utilities/RBColor;
invokevirtual sun.jvm.hotspot.utilities.RBNode.setColor:(Lsun/jvm/hotspot/utilities/RBColor;)V
35: aload 0
aload 2
invokevirtual sun.jvm.hotspot.utilities.RBTree.rightRotate:(Lsun/jvm/hotspot/utilities/RBNode;)Z
pop
36: aload 2
invokevirtual sun.jvm.hotspot.utilities.RBNode.getLeft:()Lsun/jvm/hotspot/utilities/RBNode;
astore 3
37: StackMap locals:
StackMap stack:
aload 3
invokevirtual sun.jvm.hotspot.utilities.RBNode.getRight:()Lsun/jvm/hotspot/utilities/RBNode;
ifnull 38
aload 3
invokevirtual sun.jvm.hotspot.utilities.RBNode.getRight:()Lsun/jvm/hotspot/utilities/RBNode;
invokevirtual sun.jvm.hotspot.utilities.RBNode.getColor:()Lsun/jvm/hotspot/utilities/RBColor;
getstatic sun.jvm.hotspot.utilities.RBColor.BLACK:Lsun/jvm/hotspot/utilities/RBColor;
if_acmpne 43
38: StackMap locals:
StackMap stack:
aload 3
invokevirtual sun.jvm.hotspot.utilities.RBNode.getLeft:()Lsun/jvm/hotspot/utilities/RBNode;
ifnull 39
aload 3
invokevirtual sun.jvm.hotspot.utilities.RBNode.getLeft:()Lsun/jvm/hotspot/utilities/RBNode;
invokevirtual sun.jvm.hotspot.utilities.RBNode.getColor:()Lsun/jvm/hotspot/utilities/RBColor;
getstatic sun.jvm.hotspot.utilities.RBColor.BLACK:Lsun/jvm/hotspot/utilities/RBColor;
if_acmpne 43
39: StackMap locals:
StackMap stack:
aload 3
getstatic sun.jvm.hotspot.utilities.RBColor.RED:Lsun/jvm/hotspot/utilities/RBColor;
invokevirtual sun.jvm.hotspot.utilities.RBNode.setColor:(Lsun/jvm/hotspot/utilities/RBColor;)V
40: aload 2
astore 1
41: aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
astore 2
42: goto 55
43: StackMap locals:
StackMap stack:
aload 3
invokevirtual sun.jvm.hotspot.utilities.RBNode.getLeft:()Lsun/jvm/hotspot/utilities/RBNode;
ifnull 44
aload 3
invokevirtual sun.jvm.hotspot.utilities.RBNode.getLeft:()Lsun/jvm/hotspot/utilities/RBNode;
invokevirtual sun.jvm.hotspot.utilities.RBNode.getColor:()Lsun/jvm/hotspot/utilities/RBColor;
getstatic sun.jvm.hotspot.utilities.RBColor.BLACK:Lsun/jvm/hotspot/utilities/RBColor;
if_acmpne 48
44: StackMap locals:
StackMap stack:
aload 3
invokevirtual sun.jvm.hotspot.utilities.RBNode.getRight:()Lsun/jvm/hotspot/utilities/RBNode;
getstatic sun.jvm.hotspot.utilities.RBColor.BLACK:Lsun/jvm/hotspot/utilities/RBColor;
invokevirtual sun.jvm.hotspot.utilities.RBNode.setColor:(Lsun/jvm/hotspot/utilities/RBColor;)V
45: aload 3
getstatic sun.jvm.hotspot.utilities.RBColor.RED:Lsun/jvm/hotspot/utilities/RBColor;
invokevirtual sun.jvm.hotspot.utilities.RBNode.setColor:(Lsun/jvm/hotspot/utilities/RBColor;)V
46: aload 0
aload 3
invokevirtual sun.jvm.hotspot.utilities.RBTree.leftRotate:(Lsun/jvm/hotspot/utilities/RBNode;)Z
pop
47: aload 2
invokevirtual sun.jvm.hotspot.utilities.RBNode.getLeft:()Lsun/jvm/hotspot/utilities/RBNode;
astore 3
48: StackMap locals:
StackMap stack:
aload 3
aload 2
invokevirtual sun.jvm.hotspot.utilities.RBNode.getColor:()Lsun/jvm/hotspot/utilities/RBColor;
invokevirtual sun.jvm.hotspot.utilities.RBNode.setColor:(Lsun/jvm/hotspot/utilities/RBColor;)V
49: aload 2
getstatic sun.jvm.hotspot.utilities.RBColor.BLACK:Lsun/jvm/hotspot/utilities/RBColor;
invokevirtual sun.jvm.hotspot.utilities.RBNode.setColor:(Lsun/jvm/hotspot/utilities/RBColor;)V
50: aload 3
invokevirtual sun.jvm.hotspot.utilities.RBNode.getLeft:()Lsun/jvm/hotspot/utilities/RBNode;
ifnull 52
51: aload 3
invokevirtual sun.jvm.hotspot.utilities.RBNode.getLeft:()Lsun/jvm/hotspot/utilities/RBNode;
getstatic sun.jvm.hotspot.utilities.RBColor.BLACK:Lsun/jvm/hotspot/utilities/RBColor;
invokevirtual sun.jvm.hotspot.utilities.RBNode.setColor:(Lsun/jvm/hotspot/utilities/RBColor;)V
52: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual sun.jvm.hotspot.utilities.RBTree.rightRotate:(Lsun/jvm/hotspot/utilities/RBNode;)Z
pop
53: aload 0
getfield sun.jvm.hotspot.utilities.RBTree.root:Lsun/jvm/hotspot/utilities/RBNode;
astore 1
54: aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
astore 2
end local 3 55: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield sun.jvm.hotspot.utilities.RBTree.root:Lsun/jvm/hotspot/utilities/RBNode;
if_acmpeq 56
aload 1
ifnull 1
aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getColor:()Lsun/jvm/hotspot/utilities/RBColor;
getstatic sun.jvm.hotspot.utilities.RBColor.BLACK:Lsun/jvm/hotspot/utilities/RBColor;
if_acmpeq 1
56: StackMap locals:
StackMap stack:
aload 1
ifnull 58
57: aload 1
getstatic sun.jvm.hotspot.utilities.RBColor.BLACK:Lsun/jvm/hotspot/utilities/RBColor;
invokevirtual sun.jvm.hotspot.utilities.RBNode.setColor:(Lsun/jvm/hotspot/utilities/RBColor;)V
58: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 59 0 this Lsun/jvm/hotspot/utilities/RBTree;
0 59 1 x Lsun/jvm/hotspot/utilities/RBNode;
0 59 2 xParent Lsun/jvm/hotspot/utilities/RBNode;
3 28 3 w Lsun/jvm/hotspot/utilities/RBNode;
30 55 3 w Lsun/jvm/hotspot/utilities/RBNode;
MethodParameters:
Name Flags
x
xParent
private int verifyFromNode(sun.jvm.hotspot.utilities.RBNode);
descriptor: (Lsun/jvm/hotspot/utilities/RBNode;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getColor:()Lsun/jvm/hotspot/utilities/RBColor;
getstatic sun.jvm.hotspot.utilities.RBColor.RED:Lsun/jvm/hotspot/utilities/RBColor;
if_acmpeq 7
3: aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getColor:()Lsun/jvm/hotspot/utilities/RBColor;
getstatic sun.jvm.hotspot.utilities.RBColor.BLACK:Lsun/jvm/hotspot/utilities/RBColor;
if_acmpeq 7
4: getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "Verify failed:"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
5: aload 0
getstatic java.lang.System.err:Ljava/io/PrintStream;
invokevirtual sun.jvm.hotspot.utilities.RBTree.printOn:(Ljava/io/PrintStream;)V
6: new java.lang.RuntimeException
dup
ldc "Verify failed (1)"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getColor:()Lsun/jvm/hotspot/utilities/RBColor;
getstatic sun.jvm.hotspot.utilities.RBColor.RED:Lsun/jvm/hotspot/utilities/RBColor;
if_acmpne 18
8: aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getLeft:()Lsun/jvm/hotspot/utilities/RBNode;
ifnull 13
9: aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getLeft:()Lsun/jvm/hotspot/utilities/RBNode;
invokevirtual sun.jvm.hotspot.utilities.RBNode.getColor:()Lsun/jvm/hotspot/utilities/RBColor;
getstatic sun.jvm.hotspot.utilities.RBColor.BLACK:Lsun/jvm/hotspot/utilities/RBColor;
if_acmpeq 13
10: getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "Verify failed:"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
11: aload 0
getstatic java.lang.System.err:Ljava/io/PrintStream;
invokevirtual sun.jvm.hotspot.utilities.RBTree.printOn:(Ljava/io/PrintStream;)V
12: new java.lang.RuntimeException
dup
ldc "Verify failed (2)"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getRight:()Lsun/jvm/hotspot/utilities/RBNode;
ifnull 18
14: aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getRight:()Lsun/jvm/hotspot/utilities/RBNode;
invokevirtual sun.jvm.hotspot.utilities.RBNode.getColor:()Lsun/jvm/hotspot/utilities/RBColor;
getstatic sun.jvm.hotspot.utilities.RBColor.BLACK:Lsun/jvm/hotspot/utilities/RBColor;
if_acmpeq 18
15: getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "Verify failed:"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
16: aload 0
getstatic java.lang.System.err:Ljava/io/PrintStream;
invokevirtual sun.jvm.hotspot.utilities.RBTree.printOn:(Ljava/io/PrintStream;)V
17: new java.lang.RuntimeException
dup
ldc "Verify failed (3)"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
18: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getLeft:()Lsun/jvm/hotspot/utilities/RBNode;
invokevirtual sun.jvm.hotspot.utilities.RBTree.verifyFromNode:(Lsun/jvm/hotspot/utilities/RBNode;)I
istore 2
start local 2 19: aload 0
aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getRight:()Lsun/jvm/hotspot/utilities/RBNode;
invokevirtual sun.jvm.hotspot.utilities.RBTree.verifyFromNode:(Lsun/jvm/hotspot/utilities/RBNode;)I
istore 3
start local 3 20: iload 2
iload 3
if_icmpeq 26
21: getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "Verify failed:"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
22: aload 0
getstatic java.lang.System.err:Ljava/io/PrintStream;
invokevirtual sun.jvm.hotspot.utilities.RBTree.printOn:(Ljava/io/PrintStream;)V
23: new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "Verify failed (4) (left black count = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
24: iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", right black count = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
25: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
26: StackMap locals: int int
StackMap stack:
iload 2
aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getColor:()Lsun/jvm/hotspot/utilities/RBColor;
getstatic sun.jvm.hotspot.utilities.RBColor.RED:Lsun/jvm/hotspot/utilities/RBColor;
if_acmpne 27
iconst_0
goto 28
StackMap locals:
StackMap stack: int
27: iconst_1
StackMap locals: sun.jvm.hotspot.utilities.RBTree sun.jvm.hotspot.utilities.RBNode int int
StackMap stack: int int
28: iadd
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lsun/jvm/hotspot/utilities/RBTree;
0 29 1 node Lsun/jvm/hotspot/utilities/RBNode;
19 29 2 i I
20 29 3 j I
MethodParameters:
Name Flags
node
private void printFromNode(sun.jvm.hotspot.utilities.RBNode, java.io.PrintStream, int);
descriptor: (Lsun/jvm/hotspot/utilities/RBNode;Ljava/io/PrintStream;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iconst_0
istore 4
start local 4 1: goto 4
2: StackMap locals: int
StackMap stack:
aload 2
ldc " "
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
3: iinc 4 1
StackMap locals:
StackMap stack:
4: iload 4
iload 3
if_icmplt 2
end local 4 5: aload 2
ldc "-"
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
6: aload 1
ifnonnull 9
7: aload 2
invokevirtual java.io.PrintStream.println:()V
8: return
9: StackMap locals:
StackMap stack:
aload 2
new java.lang.StringBuilder
dup
ldc " "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
aload 1
invokevirtual sun.jvm.hotspot.utilities.RBTree.getNodeValue:(Lsun/jvm/hotspot/utilities/RBNode;)Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
10: aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getColor:()Lsun/jvm/hotspot/utilities/RBColor;
getstatic sun.jvm.hotspot.utilities.RBColor.RED:Lsun/jvm/hotspot/utilities/RBColor;
if_acmpne 11
ldc " (red)"
goto 12
StackMap locals: sun.jvm.hotspot.utilities.RBTree sun.jvm.hotspot.utilities.RBNode java.io.PrintStream int
StackMap stack: java.io.PrintStream java.lang.StringBuilder
11: ldc " (black)"
StackMap locals: sun.jvm.hotspot.utilities.RBTree sun.jvm.hotspot.utilities.RBNode java.io.PrintStream int
StackMap stack: java.io.PrintStream java.lang.StringBuilder java.lang.String
12: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
13: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
14: aload 0
aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getLeft:()Lsun/jvm/hotspot/utilities/RBNode;
aload 2
iload 3
iconst_2
iadd
invokevirtual sun.jvm.hotspot.utilities.RBTree.printFromNode:(Lsun/jvm/hotspot/utilities/RBNode;Ljava/io/PrintStream;I)V
15: aload 0
aload 1
invokevirtual sun.jvm.hotspot.utilities.RBNode.getRight:()Lsun/jvm/hotspot/utilities/RBNode;
aload 2
iload 3
iconst_2
iadd
invokevirtual sun.jvm.hotspot.utilities.RBTree.printFromNode:(Lsun/jvm/hotspot/utilities/RBNode;Ljava/io/PrintStream;I)V
16: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lsun/jvm/hotspot/utilities/RBTree;
0 17 1 node Lsun/jvm/hotspot/utilities/RBNode;
0 17 2 tty Ljava/io/PrintStream;
0 17 3 indentDepth I
1 5 4 i I
MethodParameters:
Name Flags
node
tty
indentDepth
public static void main(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=11, args_size=1
start local 0 0: sipush 10000
istore 1
start local 1 1: iload 1
istore 2
start local 2 2: getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "Building tree..."
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
3: new sun.jvm.hotspot.utilities.RBTree
dup
new sun.jvm.hotspot.utilities.RBTree$1
dup
invokespecial sun.jvm.hotspot.utilities.RBTree$1.<init>:()V
invokespecial sun.jvm.hotspot.utilities.RBTree.<init>:(Ljava/util/Comparator;)V
astore 3
start local 3 4: new java.util.Random
dup
invokestatic java.lang.System.currentTimeMillis:()J
invokespecial java.util.Random.<init>:(J)V
astore 4
start local 4 5: iconst_0
istore 5
start local 5 6: goto 19
7: StackMap locals: java.lang.String[] int int sun.jvm.hotspot.utilities.RBTree java.util.Random int
StackMap stack:
aload 4
iload 2
invokevirtual java.util.Random.nextInt:(I)I
iconst_1
iadd
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
astore 6
start local 6 8: aload 3
new sun.jvm.hotspot.utilities.RBNode
dup
aload 6
invokespecial sun.jvm.hotspot.utilities.RBNode.<init>:(Ljava/lang/Object;)V
invokevirtual sun.jvm.hotspot.utilities.RBTree.insertNode:(Lsun/jvm/hotspot/utilities/RBNode;)V
9: iload 5
ifle 18
iload 5
bipush 100
irem
ifne 18
10: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
iload 5
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "..."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
11: getstatic java.lang.System.err:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.flush:()V
12: goto 18
13: StackMap locals: java.lang.String[] int int sun.jvm.hotspot.utilities.RBTree java.util.Random int java.lang.Integer
StackMap stack: java.lang.Exception
astore 7
start local 7 14: aload 7
invokevirtual java.lang.Exception.printStackTrace:()V
15: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "While inserting value "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
16: aload 3
getstatic java.lang.System.err:Ljava/io/PrintStream;
invokevirtual sun.jvm.hotspot.utilities.RBTree.printOn:(Ljava/io/PrintStream;)V
17: iconst_1
invokestatic java.lang.System.exit:(I)V
end local 7 end local 6 18: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
19: iload 5
iload 1
if_icmplt 7
end local 5 20: getstatic java.lang.System.err:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
21: getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "Churning tree..."
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
22: iconst_0
istore 5
start local 5 23: goto 49
24: StackMap locals:
StackMap stack:
getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Iteration "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 5
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
25: aload 3
getstatic java.lang.System.err:Ljava/io/PrintStream;
invokevirtual sun.jvm.hotspot.utilities.RBTree.printOn:(Ljava/io/PrintStream;)V
26: aconst_null
astore 6
start local 6 27: aload 3
invokevirtual sun.jvm.hotspot.utilities.RBTree.getRoot:()Lsun/jvm/hotspot/utilities/RBNode;
astore 7
start local 7 28: iconst_0
istore 8
start local 8 29: goto 36
30: StackMap locals: sun.jvm.hotspot.utilities.RBNode sun.jvm.hotspot.utilities.RBNode int
StackMap stack:
aload 7
astore 6
31: aload 4
invokevirtual java.util.Random.nextBoolean:()Z
ifeq 34
32: aload 7
invokevirtual sun.jvm.hotspot.utilities.RBNode.getLeft:()Lsun/jvm/hotspot/utilities/RBNode;
astore 7
33: goto 35
34: StackMap locals:
StackMap stack:
aload 7
invokevirtual sun.jvm.hotspot.utilities.RBNode.getRight:()Lsun/jvm/hotspot/utilities/RBNode;
astore 7
35: StackMap locals:
StackMap stack:
iinc 8 1
36: StackMap locals:
StackMap stack:
aload 7
ifnonnull 30
37: aload 4
iload 8
invokevirtual java.util.Random.nextInt:(I)I
istore 9
start local 9 38: iload 9
iload 8
if_icmplt 42
39: new java.lang.RuntimeException
dup
ldc "bug in java.util.Random"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
40: StackMap locals: int
StackMap stack:
aload 6
invokevirtual sun.jvm.hotspot.utilities.RBNode.getParent:()Lsun/jvm/hotspot/utilities/RBNode;
astore 6
41: iinc 9 -1
42: StackMap locals:
StackMap stack:
iload 9
ifgt 40
43: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "(Removing value "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
aload 6
invokevirtual sun.jvm.hotspot.utilities.RBTree.getNodeValue:(Lsun/jvm/hotspot/utilities/RBNode;)Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
44: aload 3
aload 6
invokevirtual sun.jvm.hotspot.utilities.RBTree.deleteNode:(Lsun/jvm/hotspot/utilities/RBNode;)V
45: aload 4
iload 2
invokevirtual java.util.Random.nextInt:(I)I
iconst_1
iadd
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
astore 10
start local 10 46: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "(Inserting value "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 10
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
47: aload 3
new sun.jvm.hotspot.utilities.RBNode
dup
aload 10
invokespecial sun.jvm.hotspot.utilities.RBNode.<init>:(Ljava/lang/Object;)V
invokevirtual sun.jvm.hotspot.utilities.RBTree.insertNode:(Lsun/jvm/hotspot/utilities/RBNode;)V
end local 10 end local 9 end local 8 end local 7 end local 6 48: iinc 5 1
StackMap locals: java.lang.String[] int int sun.jvm.hotspot.utilities.RBTree java.util.Random int
StackMap stack:
49: iload 5
iload 1
if_icmplt 24
end local 5 50: getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "All tests passed."
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
51: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 52 0 args [Ljava/lang/String;
1 52 1 treeSize I
2 52 2 maxVal I
4 52 3 tree Lsun/jvm/hotspot/utilities/RBTree;
5 52 4 rand Ljava/util/Random;
6 20 5 i I
8 18 6 val Ljava/lang/Integer;
14 18 7 e Ljava/lang/Exception;
23 50 5 i I
27 48 6 xParent Lsun/jvm/hotspot/utilities/RBNode;
28 48 7 x Lsun/jvm/hotspot/utilities/RBNode;
29 48 8 depth I
38 48 9 height I
46 48 10 newVal Ljava/lang/Integer;
Exception table:
from to target type
8 12 13 Class java.lang.Exception
MethodParameters:
Name Flags
args
}
SourceFile: "RBTree.java"
NestMembers:
sun.jvm.hotspot.utilities.RBTree$1
InnerClasses:
sun.jvm.hotspot.utilities.RBTree$1