Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between Old generation and Tenured generation

Now I trying to understand fundamental concepts of java garbage collection.

I have read a lot articles about it.

And somewhere I see old generation and somewhere tenured generation. Description is very similar.

looks like one of them is the evolution of second.

Can you provide more information about this topiс?

like image 290
gstackoverflow Avatar asked Oct 20 '14 08:10

gstackoverflow


2 Answers

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.

enter image description here

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

Occasionally, I've seen people regard Old Generation as the Tenured + Permanent Generation but I've never seen any official confirmation for that.

like image 144
matt freake Avatar answered Sep 22 '22 02:09

matt freake


Anyway the Permanent Generation is moved to native space and is out of GC competence in Java 8. So now it seems to be the same.

like image 36
Simon Avatar answered Sep 25 '22 02:09

Simon