GC Sentinel

Leandro Lucarella llucax at gmail.com
Wed Oct 28 09:09:21 PDT 2009


bearophile, el 28 de octubre a las 03:52 me escribiste:
> Leandro Lucarella:
> 
> > I think that's used to check for memory corruption, by storing a known
> > patter before and after the actual object. Then, each time you can, you
> > check that the unused memory block is intact (meaning nobody wrote to an
> > invalid memory area).
> 
> Such things can be quite useful. Do you need to compile Phobos again to do that?

Yes, it's added through a version statement.

> If that's true then handier (compile-time?) solutions can be found.

What do you mean?

-- 
Leandro Lucarella (AKA luca)                     http://llucax.com.ar/
----------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145  104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------
Se ha dicho tanto que las apariencias engañan
Por supuesto que engañarán a quien sea tan vulgar como para creerlo



More information about the Digitalmars-d mailing list