简体   繁体   English

老一代与终身一代的区别

[英]Difference between Old generation and Tenured generation

Now I trying to understand fundamental concepts of java garbage collection. 现在我试图理解java垃圾收集的基本概念。

I have read a lot articles about it. 我已经阅读了很多关于它的文章。

And somewhere I see old generation and somewhere tenured generation . 在某个地方,我看到了old generation和某个tenured generation Description is very similar. 描述非常相似。

looks like one of them is the evolution of second. 看起来其中一个是第二个进化。

Can you provide more information about this topiс? 您能否提供有关此topiс的更多信息?

I've always regarded the Old Generation and Tenured Generation as the same thing, and this diagram from http://www.oracle.com/webfolder/technetwork/tutorials/obe/java/gc01/index.html backs that up. 我一直认为老一代和Tenured Generation是同一个东西,这张来自http://www.oracle.com/webfolder/technetwork/tutorials/obe/java/gc01/index.html的图表支持了这一点。

在此输入图像描述

if you Google Old generation versus Tenured you'll also find lots of people saying things like "Tenured (Old) Generation" -like http://www.javaspecialists.eu/archive/Issue092.html 如果你谷歌老一代与终身,你也会发现许多人说像“终身(旧)一代”这样的东西,如http://www.javaspecialists.eu/archive/Issue092.html

Occasionally, I've seen people regard Old Generation as the Tenured + Permanent Generation but I've never seen any official confirmation for that. 偶尔,我看到人们认为老一代是终身任,但我从未见过任何官方确认。

无论如何,永久生成被移动到原生空间并且在Java 8中不具备GC能力。所以现在它似乎是相同的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM