Garbage collector throwing during collection

Daniel Murphy yebblies at nospamgmail.com
Thu Jul 14 01:00:39 PDT 2011


Yes, they're currently disallowed.  Something about memory corruption in the 
gc.  This will probably be fixed eventually, but I wouldn't hold your 
breath.

"Sönke Ludwig" <ludwig at informatik.uni-luebeck.de> wrote in message 
news:ivm4bo$2fsc$1 at digitalmars.com...
> On DMD I got some strange out-of-memory errors with the current 2.054 
> version. I tracked it down to allocations happening during garbage 
> collection.
>
> Has something fundamental in the GC implementation changed in the latest 
> release? It used to work, but seems to be completely disallowed now. I 
> think it is quite a strong requirement to not make any allocations from 
> within finalizers and makes them just another bit more useless. (In my 
> case I have some logging going on which needs dynamic allocations for 
> formatting (Appender)).
>
> Regards,
> Sönke 




More information about the Digitalmars-d mailing list