The GC and performance, but not what you expect
Ali Çehreli via Digitalmars-d
digitalmars-d at puremagic.com
Thu May 29 11:42:19 PDT 2014
On 05/29/2014 06:06 AM, Steven Schveighoffer wrote:
> The explanation in the comment is that finalizers may spawn a new
> thread. See
>
https://github.com/D-Programming-Language/druntime/blob/master/src/gc/gc.d#L410
The strange thing is, finalizers may not even be executed. :-/ I would
simply change the spec saying "finalizers may not start a new thread."
Getting back to Atila's issue, I would simply comment-out that lock in
druntime, beat Java, and then put the lock back in. :o)
Ali
More information about the Digitalmars-d
mailing list