Disable GC entirely

Dicebot m.strashun at gmail.com
Wed Apr 10 02:38:14 PDT 2013


On Wednesday, 10 April 2013 at 09:33:13 UTC, Manu wrote:
> How much garbage were you collecting? How long were the collect 
> times? Did
> you see the same relationship between the volume of garbage in 
> JVM, C# and
> D?
> What was the performance relationship with respect to garbage 
> volume? was
> it linear?

In D? Almost none. It was manual memory management with GC 
enabled side-by-side. If you want to compare D GC with JVM GC, 
don't pretend you are comparing D with Java. Problem with D GC is 
that collection cycles can still hit sometimes even if there are 
almost zero garbage and it does not matter that nothing is 
actually collected - the very existence of context switch and 
collection cycle creates latency spike.


More information about the Digitalmars-d mailing list