D GC theory

ketmar via Digitalmars-d digitalmars-d at puremagic.com
Tue Feb 24 10:44:22 PST 2015


On Tue, 24 Feb 2015 14:45:16 +0000, Marc Schütz wrote:

> It's possible to (ab)use the MMU as a write barrier. Sociomantic's GC
> implementation does this by forking and running the scan in the child,
> then communicating information back about what can be freed. Video:

sure, it's possible sometimes. i'd like to see forking GC in druntime.

but all in all it's just a clever hack. concurrent GC in the same process 
can't be efficiently done with MMU only: MMU protection has too big 
granularity and page faults are too slow.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20150224/123eeeec/attachment.sig>


More information about the Digitalmars-d mailing list