[Gc] valgrind and the GC
Hans.Boehm at hp.com
Sun Nov 14 21:02:10 PST 2004
The last time I looked at this, the errors were due to the GC doing things
like accessing random stack locations, which it has to do. Someone
would really need to teach valgrind about the GC to make this work well.
On Sun, 14 Nov 2004, Sean Middleditch wrote:
> I get a lot of errors in the GC code from the Valgrind memcheck tool
> when running my garbage collected app. I'm curious if anyone knows if
> this is due to actual errors in the GC (which should then be fixed) or
> if it's simply because the GC is doing funky but correct things that
> Valgrind doesn't understand (in which case is it possible to modify
> Valgrind or provide rule-suppression files to make it friendly with the
> GC library).
> Valgrind's memcheck is still pretty useful even with the GC, as it finds
> invalid writes and memory leaks from non-GCd allocations. I'd like to
> be able to easily use the tool without getting tons of spurious GC-
> related warnings.
> Gc mailing list
> Gc at linux.hpl.hp.com
More information about the Gc