http://d.puremagic.com/issues/show_bug.cgi?id=7095


deadalnix <deadal...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |deadal...@gmail.com


--- Comment #4 from deadalnix <deadal...@gmail.com> 2011-12-11 10:27:18 PST ---
(In reply to comment #1)
> D's GC isn't fully precise yet.  In other words, it can't always tell the
> difference between a pointer and a non-pointer.  When you allocate an
> 80-megabyte array, the probability that some non-pointer will look like it
> points into the array if interpreted as a pointer is pretty high.  
> 
> This is a fundamental limitation of the current garbage collector design,
> rather than a bug.  As a workaround, it's best to use C's malloc for very 
> large
> arrays.

Isn't GC has a flag that says if something may contains pointer or not ?

Why this flag is set when allocation an array of long ?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to