public class sun.misc.Sort
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.misc.Sort
super_class: java.lang.Object
{
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 Lsun/misc/Sort;
private static void swap(java.lang.Object[], int, int);
descriptor: ([Ljava/lang/Object;II)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
aaload
astore 3
start local 3 1: aload 0
iload 1
aload 0
iload 2
aaload
aastore
2: aload 0
iload 2
aload 3
aastore
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 arr [Ljava/lang/Object;
0 4 1 i I
0 4 2 j I
1 4 3 tmp Ljava/lang/Object;
MethodParameters:
Name Flags
arr
i
j
public static void quicksort(java.lang.Object[], int, int, sun.misc.Compare);
descriptor: ([Ljava/lang/Object;IILsun/misc/Compare;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 1
iload 2
if_icmplt 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
iload 1
iload 1
iload 2
iadd
iconst_2
idiv
invokestatic sun.misc.Sort.swap:([Ljava/lang/Object;II)V
3: iload 1
istore 5
start local 5 4: iload 1
iconst_1
iadd
istore 4
start local 4 5: goto 9
6: StackMap locals: int int
StackMap stack:
aload 3
aload 0
iload 4
aaload
aload 0
iload 1
aaload
invokeinterface sun.misc.Compare.doCompare:(Ljava/lang/Object;Ljava/lang/Object;)I
ifge 8
7: aload 0
iinc 5 1
iload 5
iload 4
invokestatic sun.misc.Sort.swap:([Ljava/lang/Object;II)V
8: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
9: iload 4
iload 2
if_icmple 6
10: aload 0
iload 1
iload 5
invokestatic sun.misc.Sort.swap:([Ljava/lang/Object;II)V
11: aload 0
iload 1
iload 5
iconst_1
isub
aload 3
invokestatic sun.misc.Sort.quicksort:([Ljava/lang/Object;IILsun/misc/Compare;)V
12: aload 0
iload 5
iconst_1
iadd
iload 2
aload 3
invokestatic sun.misc.Sort.quicksort:([Ljava/lang/Object;IILsun/misc/Compare;)V
13: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 arr [Ljava/lang/Object;
0 14 1 left I
0 14 2 right I
0 14 3 comp Lsun/misc/Compare;
5 14 4 i I
4 14 5 last I
MethodParameters:
Name Flags
arr
left
right
comp
public static void quicksort(java.lang.Object[], sun.misc.Compare);
descriptor: ([Ljava/lang/Object;Lsun/misc/Compare;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_0
aload 0
arraylength
iconst_1
isub
aload 1
invokestatic sun.misc.Sort.quicksort:([Ljava/lang/Object;IILsun/misc/Compare;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 arr [Ljava/lang/Object;
0 2 1 comp Lsun/misc/Compare;
MethodParameters:
Name Flags
arr
comp
}
SourceFile: "Sort.java"