Heap
Young objects start in Eden, age through survivor spaces, then enter Old Gen.
Execution Steps
Steps stack chronologically below; newer steps appear at the bottom and scroll into view automatically (scroll up to revisit earlier stages).
Young Gen - Eden
Survivor S0
Survivor S1
Old Gen
String Pool
Thread 1 Stack
GC roots in this simulator come only from stack-frame locals.
Thread 2 Stack
Parallel thread stack and local cache for Thread 2.