Garbage collector memory leak "feature"?

Bill Baxter dnewsgroup at billbaxter.com
Thu Oct 11 05:46:52 PDT 2007


Vladimir Panteleev wrote:
> On Thu, 11 Oct 2007 14:44:04 +0300, Frits van Bommel <fvbommel at remwovexcapss.nl> wrote:
> 
> The question is, however: is conservative scanning of the stack that bad? IMO, it's much less problematic just to tell the user to store large amounts of pseudo-random/pointer-like data in the heap or in static arrays (data segment).
> 

My thinking exactly.  Seems like figuring out how to get classes and 
structs with pointers to not scan as all pointers is where the bigger 
payoff lies.  Stacks don't usually contain much pointer-like random data 
I wouldn't think.

--bb



More information about the Digitalmars-d mailing list