Re: [PATCH 1/5] add an alternative to if_marked using hash_table

2014-11-13 Thread Trevor Saunders
On Thu, Nov 13, 2014 at 05:27:13PM -0700, Jeff Law wrote: > On 11/12/14 22:55, tsaund...@mozilla.com wrote: > >From: Trevor Saunders > > > >Hi, > > > > This adds a gty cache attribute that calls user code after marking and > > before > >sweeping allowing user code to mark more objects or clear c

Re: [PATCH 1/5] add an alternative to if_marked using hash_table

2014-11-13 Thread Jeff Law
On 11/12/14 22:55, tsaund...@mozilla.com wrote: From: Trevor Saunders Hi, This adds a gty cache attribute that calls user code after marking and before sweeping allowing user code to mark more objects or clear caches as appropriate. User code for hash_table is set up to work similarly to if

[PATCH 1/5] add an alternative to if_marked using hash_table

2014-11-12 Thread tsaunders
From: Trevor Saunders Hi, This adds a gty cache attribute that calls user code after marking and before sweeping allowing user code to mark more objects or clear caches as appropriate. User code for hash_table is set up to work similarly to if_marked for htab. bootstrapped + regtested x86_64-