On 11/5/19 6:53 PM, Jan Hubicka wrote:
Found it. It turns out that ggc_prune_ovehread_list is bogus. It walks all active allocations objects and looks if they was collected accoutnig their collection and then throws away all allocations (including those not colelcted) and those gets no longer accounted later. So we basically misaccount everything that survives ggc_collect.
I've just read the patch and it's correct. It was really a bogus. Thanks for it, Martin