synchronized (this[.classinfo]) in druntime and phobos
deadalnix
deadalnix at gmail.com
Wed May 30 06:45:21 PDT 2012
Le 30/05/2012 15:10, Regan Heath a écrit :
> IMO, the wasted space used by the monitor isn't ideal, but it's not a
> "problem" for the general case. It is a problem for people with limited
> memory environments but that's another topic. Talking about both is only
> clouding the discussional waters so to speak.
>
> R
>
As the GC allocate by power of 2, this can go pretty bad. It did happen
to me (once to be fair, it is probably not the every day problem) that
my memory consumption exploded because of the monitor field.
More information about the Digitalmars-d
mailing list