multithread GC more slower?

zsxxsz zhengshuxin at hexun.com
Sun Jun 14 19:42:34 PDT 2009


I start two threads, one is producter and the other is consumer. I found if GC was enable, the time cost was 24 seconds, and if GC was disable, the time cost was 4 seconds. Why is GC so slowly in multi-threads?
Please see the attatchment.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_cond.d
Type: text/x-dsrc
Size: 2095 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-bugs/attachments/20090614/9279b49c/attachment.d>


More information about the Digitalmars-d-bugs mailing list