Keeping a subset of pages allocate via a single call to mmap()

Kagamin spam at here.lot
Sat Oct 13 22:14:06 UTC 2018


On Saturday, 13 October 2018 at 18:40:58 UTC, Per Nordlöw wrote:
> If a D-program GC-allocates via `new` an array spanning 
> multiple pages but after processing only keeps a slice to it 
> that fits inside a single `mmape`d page will GC-collection then 
> free the other unreferenced pages?

IIRC GC never frees anything 
https://issues.dlang.org/show_bug.cgi?id=3284 was it fixed?


More information about the Digitalmars-d-learn mailing list