GC page and block metadata storage
    thedeemon 
    dlang at thedeemon.com
       
    Tue Oct  2 09:43:02 UTC 2018
    
    
  
On Tuesday, 2 October 2018 at 07:25:36 UTC, Per Nordlöw wrote:
> Should a new fresh GC for D store block metadata inside the 
> page itself or in a (pool) structure separate from the page?
>
> I'm already aware of Dmitry's suggestion to separate value-type 
> pools from pools of types possibly containing addresses.
I guess you would want to scan the metadata without thrashing all 
the pages. Keeping metadata together compactly is good for cache. 
Of course it depends on how exactly it's going to be used.
    
    
More information about the Digitalmars-d-learn
mailing list