no-pointer areas

Thomas Kuehne thomas-dloop at kuehne.cn
Wed Oct 25 07:50:58 PDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Craig Black schrieb am 2006-10-25:
>> Huh? Isn't it so that calls to malloc/calloc are already not scanned by 
>> the GC (besides also not being GC managed), and only when 
>> addRoots/addRange is used on such segments are they scanned by the GC?
>
> You are right.  This is still a good idea.  addRoot and addRange could have 
> an additional parameter that would indicate if the allocation unit contains 
> pointers or not.

Sloopy writing ...

I was talking about gcx.GC.malloc(-> internal/gc/gcx.d)
instead of std.c.stdlib.malloc(-> std/c/stdlib.d).

Thomas


-----BEGIN PGP SIGNATURE-----

iD8DBQFFP4bfLK5blCcjpWoRAicKAKCOWwlCr2WRV8xmvtuBQPIulZTkbgCfT1/x
KSqlJyuG5JK5oxA8uDU/mEA=
=736L
-----END PGP SIGNATURE-----



More information about the Digitalmars-d mailing list