[Gc] GC_get_bytes_since_gc locks
Andy Wingo
wingo at pobox.com
Wed Aug 24 08:01:55 PDT 2011
On Wed 24 Aug 2011 16:35, Juan Jose Garcia-Ripoll <juanjose.garciaripoll at googlemail.com> writes:
> This is not possible, as I explained in my previous email. The only
> reason why I need this getter is because I need to gather statistics
> about allocated bytes and this has to be done in the garbage collector
> hook before the counter is erased. The only way for this 4th
> alternative is simply to renounce to this function and do our own
> counter, with the performance loss this implies.
Why not just use GC_get_total_bytes?
Andy
--
http://wingolog.org/
More information about the Gc
mailing list