All new objects are created in young generation Only moved to Old Gen if they survive one or more minor GC
Question1 :- Did not get what minor GC mean here?
Major collections occur when the tenured space fills up
Question2:- Did not get what major collection mean here?
Looks like , young generation is minor collection because its size is much less than old generation which is a major collection.This a guess. Not sure?
As per my understanding,
all new objects are created in young generation then GC runs then deallocate the memory for the objects whose reference is not reachable and transfer the all other objects to old generation.
Question3 : Now when does the JVM decide to run GC on old and young generation? Does it run when young and old generation fills up the some specified space of each generation?
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Clarification of Java Generation and Garbage Collector concepts?