Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Boehm garbage collector

0 views
Skip to first unread message

Dave Yeo

unread,
Aug 22, 2009, 12:43:42 AM8/22/09
to
Has anyone succeeded with building a working Boehm-Demers-Weiser garbage
collector with klibc?
Building with klibc (GCC 4.4.1) and running make check gives this result
Completed 1 tests
Allocated 747393 collectable objects
Allocated 202 uncollectable objects
Allocated 1250000 atomic objects
Allocated 21760 stubborn objects
Finalized 2206/2206 objects - finalization is probably ok
Total number of bytes allocated is 90711660
Final heap size is 20631552 bytes
Unexpected heap growth - collector may be broken
Test failed

Killed by SIGABRT
...
It does support EMX (GCC 3.0.3) and when built with EMX the above test
ends with
...
Total number of bytes allocated is 90678890
Final heap size is 5283840 bytes
Collector appears to work
PASS: gctest.exe

The garbage collector is used in GCC, used to be in Mozilla (as a leak
detector?) and I want to build w3m which depends on it.
Dave

0 new messages