class sun.misc.GC$Daemon extends java.lang.Thread
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.misc.GC$Daemon
super_class: java.lang.Thread
{
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=1
start local 0 0: StackMap locals:
StackMap stack:
getstatic sun.misc.GC.lock:Ljava/lang/Object;
dup
astore 3
monitorenter
1: getstatic sun.misc.GC.latencyTarget:J
lstore 1
start local 1 2: lload 1
ldc 9223372036854775807
lcmp
ifne 6
3: aconst_null
putstatic sun.misc.GC.daemon:Ljava/lang/Thread;
4: aload 3
monitorexit
5: return
6: StackMap locals: long java.lang.Object
StackMap stack:
invokestatic sun.misc.GC.maxObjectInspectionAge:()J
lstore 4
start local 4 7: lload 4
lload 1
lcmp
iflt 10
8: invokestatic java.lang.System.gc:()V
9: lconst_0
lstore 4
10: StackMap locals: long
StackMap stack:
getstatic sun.misc.GC.lock:Ljava/lang/Object;
lload 1
lload 4
lsub
invokevirtual java.lang.Object.wait:(J)V
11: goto 15
StackMap locals:
StackMap stack: java.lang.InterruptedException
12: pop
13: aload 3
monitorexit
14: goto 0
end local 4 15: StackMap locals:
StackMap stack:
aload 3
monitorexit
16: goto 0
end local 1 StackMap locals: sun.misc.GC$Daemon top top java.lang.Object
StackMap stack: java.lang.Throwable
17: aload 3
monitorexit
18: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lsun/misc/GC$Daemon;
2 17 1 l J
7 15 4 d J
Exception table:
from to target type
10 11 12 Class java.lang.InterruptedException
1 5 17 any
6 14 17 any
15 16 17 any
17 18 17 any
private void <init>(java.lang.ThreadGroup);
descriptor: (Ljava/lang/ThreadGroup;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc "GC Daemon"
invokespecial java.lang.Thread.<init>:(Ljava/lang/ThreadGroup;Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/misc/GC$Daemon;
0 2 1 tg Ljava/lang/ThreadGroup;
MethodParameters:
Name Flags
tg
public static void create();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: new sun.misc.GC$Daemon$1
dup
invokespecial sun.misc.GC$Daemon$1.<init>:()V
astore 0
start local 0 1: aload 0
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 3 0 pa Ljava/security/PrivilegedAction<Ljava/lang/Void;>;
}
SourceFile: "GC.java"
NestHost: sun.misc.GC
InnerClasses:
private Daemon = sun.misc.GC$Daemon of sun.misc.GC
sun.misc.GC$Daemon$1