Where is the "age threshold" for the referenced object stored in Garbage Collection process stored?

Viewed 102

I am trying to understand how GC works and have been reading https://www.oracle.com/webfolder/technetwork/tutorials/obe/java/gc01/index.html

Garbage Collection Process, point #6 says,

"After a minor GC, when aged objects reach a certain age threshold (8 in this example) they are promoted from young generation to old generation."

I am trying to understand where the "age threshold" for the referenced object stored?

1 Answers
Related