May 09, 2009 GC reuses memory? | ||||
|---|---|---|---|---|
| ||||
Hello When memory is requested, the GC actually can reuse an unrefenreced block? Thanks | ||||
May 09, 2009 Re: GC reuses memory? | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Fractal | On Fri, May 8, 2009 at 8:45 PM, Fractal <goodcoffee@server.com> wrote:
> Hello
>
> When memory is requested, the GC actually can reuse an unrefenreced block?
>
> Thanks
Yes. It keeps memory in freelists of variable sizes of blocks. When memory is freed, it's put back on the freelist.
| |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply