[Issue 3463] Integrate Precise Heap Scanning Into the GC

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jul 25 19:08:50 PDT 2010


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


nfxjfg at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #695 is|0                           |1
           obsolete|                            |


--- Comment #53 from nfxjfg at gmail.com 2010-07-25 19:08:48 PDT ---
Created an attachment (id=698)
D1 - patch for dmd for creating pointer bitmasks

Some changes to make the patch behave under 64 bit mode. Under 32 bits, the
compiler should produce exactly the same as the patch before. Under 64 bit,
both native 64 bit mode and cross compiling to 32 bit should work. The trick is
that PTRSIZE is a variable, not a #define.


@Leandro:

(to comment #52)
I'm glad that this patch actually seems to help!
What do you think, is compile time configurability enough, or should it be
possible to chose at runtime?

(to comment #51)
I'm not sure what to do about this. One could try to store the bitmap inside
the memory block with just 1-2 bytes to save space. But in most cases, size
alignment would make that useless. Also possible: use the same bitmask for each
page that is subdivided into bins. It's well possible that due to additional
fragmentation this would use much more memory than it saves, though.

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


More information about the Digitalmars-d-bugs mailing list