From the perspective of chronology, I think the problem is putting the cart before the horse. The purpose of chronology is to distinguish long-term objects from short-term objects.
Objects may survive for a long time, so they are put into the old generation. After marking and sorting, because the objects in the old generation have a high probability of continuing to survive, less memory will be recycled.
New objects may live and die. If new objects have an 80% probability of dying, after multiple rounds of screening, the surviving objects will be stored in the old generation. So from this process, the efficiency of object recycling in the old generation is really low.
From the perspective of chronology, I think the problem is putting the cart before the horse. The purpose of chronology is to distinguish long-term objects from short-term objects.
Objects may survive for a long time, so they are put into the old generation. After marking and sorting, because the objects in the old generation have a high probability of continuing to survive, less memory will be recycled.
New objects may live and die. If new objects have an 80% probability of dying, after multiple rounds of screening, the surviving objects will be stored in the old generation. So from this process, the efficiency of object recycling in the old generation is really low.