GC Jitter Reduction

Paul O'Neil via Digitalmars-d digitalmars-d at puremagic.com
Mon Jun 16 19:53:45 PDT 2014


LDC does have an optimization pass that will move GC allocations 
to the stack if it can prove that they do not escape.

On Monday, 16 June 2014 at 20:29:01 UTC, Suminda Dharmasena wrote:
> Hi,
>
> A lot of variables need not be GCed. By analysing usage you can
> determine when to deallocate. Even in multi threaded usage you
> can have reference counts on last usage points within each 
> thread.
>
> Perhaps such a scheme might be worth debating with a view to
> improve performance and reduce jitter.
>
> Suminda



More information about the Digitalmars-d mailing list