Java VM uses a generational garbage collector, which relies on the below two observations: Most allocated objects will become unreachable quickly There are few references from older object to younger objects According to the above hypothesis, Java VM divides the… Read More