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.