The mark phase took 422 ms, the sweep phase took 37 ms, and the compact phase took 0 ms.
mark阶段422ms,sweep阶段37 ms,compact阶段0 ms。
In sweep phase, all the objects that have been allocated but are no longer referenced are identified.
在清除阶段,识别所有已经分配但不再被引用的对象。
In the sweep phase, the JVM goes through the heap and removes all the objects that still have the mark bit in place; these objects are no longer referenced or used.
在sweep阶段,JVM遍历整个heap并删除仍具有标记bit的所有对象;这些对象不再被引用或使用。
In the sweep phase, the JVM goes through the heap and removes all the objects that still have the mark bit in place; these objects are no longer referenced or used.
在sweep阶段,JVM遍历整个heap并删除仍具有标记bit的所有对象;这些对象不再被引用或使用。
应用推荐