General 0: So I read that generator 0 starts when gen 0 exceeds the size threshold. But I also read that the GC is not running on the "new" because the "new" just moves the address forward. Then, when does he verify that he has exceeded the threshold for starting the 0 GC generator?
Gen 1/2: Does 1/2 have their own size threshold that triggers GC? When do they consider the threshold? Is this the moment that survivors advance into the gene?
Does this mean that for generator 1 GC, he first checks gene 0, and then promotes them to gene 1, only to find gene 1, has exceeded the threshold, and therefore he checks gene 1 and checks generator 0 again?
And that means that for generator 2 GC, he first checks gen 0, and then promotes them to gen 1, only to find gen 1, has exceeded the threshold, and so he checks gen 1 and checks gen 0 again. Then it advances generation from 0 to 1st generation and from 1st to 2nd gene, just to find gene 2, exceeded the threshold value, and therefore he again checks gene 2, gene 1 and again generator 0?
source
share