GC thread is a daemon thread?

GC is a garbage collection means, Java GC function provides automatic monitoring of the object exceeds the scope so as to achieve the purpose of automatic recovery of memory, so as to effectively prevent memory leaks. To one garbage collection request, invoke the following:. System.gc () or Runtime.getRuntime () gc (), but can be masked JVM garbage recycling call display.

Guess you like

Origin www.cnblogs.com/Yanss/p/11685680.html
Recommended