MarkSwap The Garbage Collection Mythbusters MarkSwap The Garbage
标记-清除算法(Mark-Swap) 来自”The Garbage Collection Mythbusters”
标记-清除算法(Mark-Swap) 来自”The Garbage Collection Mythbusters”
标记-清除算法(Mark-Swap) 来自”The Garbage Collection Mythbusters”
标记-清除算法(Mark-Swap) 来自”The Garbage Collection Mythbusters”
标记-清除算法(Mark-Swap) 来自”The Garbage Collection Mythbusters”
标记-清除算法(Mark-Swap) 来自”The Garbage Collection Mythbusters”
标记-整理算法(Mark-Compact) 来自”The Garbage Collection Mythbusters”
复制算法(Copying) 来自”The Garbage Collection Mythbusters”
复制算法(Copying) 来自”The Garbage Collection Mythbusters”
复制算法(Copying) 来自”The Garbage Collection Mythbusters”
复制算法(Copying) 来自”The Garbage Collection Mythbusters”
复制算法(Copying) 来自”The Garbage Collection Mythbusters”
复制算法(Copying) 来自”The Garbage Collection Mythbusters”
分代算法(Generational GC) • Hotspot JVM 6中的共划分为三个代:年轻代(Young Generation)、 年老代(Old Generation)和持久代(Permanent Generation)。
• JRE substring的源码 • String陷阱 new String(offset + begin. Index, end. Index - begin. Index, value); 的实现: • char[] value 数组被共享了,在heap里面的char对象不会 被GC释放
- Slides: 60