An application runs until the heap is exhausted of free memory, at which point the GC stops all application code, performs a garbage collect, and then lets the application continue.
应用程序一直运行,直至耗尽堆的可用内存,此时GC停止所有的应用程序代码、执行垃圾收集,然后让应用程序继续运行。
The act of releasing JVM structures lets the GC thread process these structures in a safe fashion; reading and writing to partially updated structures can cause unexpected behavior and crashes.
释放J VM结构的操作让gc线程以一种安全的形式处理这些结构;对部分更新的结构进行读和写操作可能导致不可预测的行为和冲突。
Tuning Fork lets the user inspect many details of GC activity either after the fact through a trace log or during run time through a socket.
Tuning Fork 让用户检查 GC 活动的很多细节,方法是在执行活动后通过跟踪日志检查或在运行时通过套接字检查。
应用推荐