Re: RFA (GGC): PATCH to support GGC finalizers with PCH

2015-11-18 Thread Richard Biener
On Tue, Nov 17, 2015 at 8:46 PM, Jason Merrill wrote: > On 11/17/2015 09:39 AM, Richard Biener wrote: >> >> On Tue, Nov 17, 2015 at 3:09 PM, Jason Merrill wrote: >>> >>> While I was looking at the interaction of delayed folding with GGC, I >>> noticed that

Re: RFA (GGC): PATCH to support GGC finalizers with PCH

2015-11-17 Thread Richard Biener
On Tue, Nov 17, 2015 at 3:09 PM, Jason Merrill wrote: > While I was looking at the interaction of delayed folding with GGC, I > noticed that ggc_handle_finalizers currently runs no finalizers if > G.context_depth != 0. So any GC objects in a greater depth will still be >

RFA (GGC): PATCH to support GGC finalizers with PCH

2015-11-17 Thread Jason Merrill
While I was looking at the interaction of delayed folding with GGC, I noticed that ggc_handle_finalizers currently runs no finalizers if G.context_depth != 0. So any GC objects in a greater depth will still be collected, but they won't have their finalizers run. This specifically affects

Re: RFA (GGC): PATCH to support GGC finalizers with PCH

2015-11-17 Thread Jason Merrill
On 11/17/2015 09:39 AM, Richard Biener wrote: On Tue, Nov 17, 2015 at 3:09 PM, Jason Merrill wrote: While I was looking at the interaction of delayed folding with GGC, I noticed that ggc_handle_finalizers currently runs no finalizers if G.context_depth != 0. So any GC