Re: Garbage collector throwing during collection

2011-07-22 Thread Robert Jacques
On Fri, 22 Jul 2011 17:22:24 -0400, Daniel Gibson wrote: Am 16.07.2011 20:22, schrieb Sean Kelly: On Jul 14, 2011, at 7:21 AM, Robert Jacques wrote: On Thu, 14 Jul 2011 08:39:06 -0400, Sean Kelly wrote: On Jul 14, 2011, at 3:12 AM, Vladimir Panteleev wrote: On Thu, 14 Jul 2011 09:58:09

Re: Garbage collector throwing during collection

2011-07-22 Thread Daniel Gibson
Am 16.07.2011 20:22, schrieb Sean Kelly: On Jul 14, 2011, at 7:21 AM, Robert Jacques wrote: On Thu, 14 Jul 2011 08:39:06 -0400, Sean Kelly wrote: On Jul 14, 2011, at 3:12 AM, Vladimir Panteleev wrote: On Thu, 14 Jul 2011 09:58:09 +0300, Sönke Ludwig wrote: On DMD I got some strange out

Re: Garbage collector throwing during collection

2011-07-16 Thread Sean Kelly
On Jul 14, 2011, at 7:21 AM, Robert Jacques wrote: > On Thu, 14 Jul 2011 08:39:06 -0400, Sean Kelly wrote: > >> On Jul 14, 2011, at 3:12 AM, Vladimir Panteleev wrote: >> >>> On Thu, 14 Jul 2011 09:58:09 +0300, Sönke Ludwig >>> wrote: >>> On DMD I got some strange out-of-memory errors wi

Re: Garbage collector throwing during collection

2011-07-16 Thread Sean Kelly
On Jul 14, 2011, at 7:05 AM, dsimcha wrote: > == Quote from Sean Kelly (s...@invisibleduck.org)'s article >> I started on the rewrite, but it's a pretty big change so I'm >> considering trying out Leandro's GC instead. It would require some work >> as well, but the code is cleaner and it already

Re: Garbage collector throwing during collection

2011-07-14 Thread Sönke Ludwig
Hi! I see, that could also explain some earlier crashes. I can definitely work around it for now and was just worrying that this could have been part of the general plan for the GC. Regards, Sönke Am 14.07.2011 12:12, schrieb Vladimir Panteleev: On Thu, 14 Jul 2011 09:58:09 +0300, Sönke Ludwi

Re: Garbage collector throwing during collection

2011-07-14 Thread Robert Jacques
On Thu, 14 Jul 2011 08:39:06 -0400, Sean Kelly wrote: On Jul 14, 2011, at 3:12 AM, Vladimir Panteleev wrote: On Thu, 14 Jul 2011 09:58:09 +0300, Sönke Ludwig wrote: On DMD I got some strange out-of-memory errors with the current 2.054 version. I tracked it down to allocations happening d

Re: Garbage collector throwing during collection

2011-07-14 Thread dsimcha
== Quote from Sean Kelly (s...@invisibleduck.org)'s article > I started on the rewrite, but it's a pretty big change so I'm > considering trying out Leandro's GC instead. It would require some work > as well, but the code is cleaner and it already supports precise > scanning, so it may be a better

Re: Garbage collector throwing during collection

2011-07-14 Thread Sean Kelly
On Jul 14, 2011, at 3:12 AM, Vladimir Panteleev wrote: > On Thu, 14 Jul 2011 09:58:09 +0300, Sönke Ludwig > wrote: > >> 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 somethi

Re: Garbage collector throwing during collection

2011-07-14 Thread Vladimir Panteleev
On Thu, 14 Jul 2011 09:58:09 +0300, Sönke Ludwig wrote: 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?

Re: Garbage collector throwing during collection

2011-07-14 Thread Daniel Murphy
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" wrote in message news:ivm4bo$2fsc$1...@digitalmars.com... > On DMD I got some strange out-of-memory errors with the current

Garbage collector throwing during collection

2011-07-14 Thread Sönke Ludwig
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