JVM
超人不会飞2018
这个作者很懒,什么都没留下…
展开
-
Parallel GC
英文原文地址:https://plumbr.io/handbook/garbage-collection-algorithms-implementations#parallel-gcThis combination of Garbage Collectors usesmark-copyin the Young Generation andmark-sweep-compactin the Old Generation. Both Young and Old collections trigger ...原创 2020-07-01 16:24:16 · 484 阅读 · 0 评论 -
Concurrent Mark and Sweep
翻译文档地址:https://plumbr.io/handbook/garbage-collection-algorithms-implementations#concurrent-mark-and-sweepThe official name forthis collection of garbage collectors is “Mostly Concurrent Mark and Sweep Garbage Collector”. It uses the parallel stop-the-wo.原创 2020-07-01 15:15:49 · 276 阅读 · 0 评论 -
JVM内存管理(二):垃圾判定以及垃圾回收算法
1 如何判断一个对象是否是垃圾1.1 引用计数法如果一个对象被别的地方引用一次就计数+1、否则-1,等于0的时候代表没有任何引用,可以视为是垃圾,可以被GC。缺点就是一个循环引用的问题,比如对象A和对象B相互引用,但是A没有被任何其他除B对象引用,B也没有被任何其他除A对象引用,这就造成了A和B的引用计数都等于1,这就造成了他们都不是垃圾,无法GC。但是实际测试发现A和B都被回收了,那么可...原创 2020-03-07 22:19:44 · 126 阅读 · 0 评论 -
JVM内存管理(一):内存划分
d原创 2020-03-07 20:52:20 · 76 阅读 · 0 评论