This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Boehm-gc porting
- From: "Peter Blemel" <pblemel at hotmail dot com>
- To: java-patches at gcc dot gnu dot org
- Date: Thu, 09 Sep 2004 00:32:15 -0600
- Subject: Boehm-gc porting
- Bcc:
Hello World,
Thanks to several kind folks who've answered my questions along the way, I
now have what appears to be a working gctest application running on my
embedded powerpc box. I get many (many) screens of output, ending with :
Completed 1 tests
Allocated 648021 collectable objects
Allocated 101 uncollectable objects
Allocated 1250000 atomic objects
Allocated 10880 stubborn objects
Finalized 2206/2206 objects -
finalization is probably ok
Total number of bytes allocated is 49968088
Final heap size is 4239360 bytes
Collector appears to work
:-) :-) :-) :-) It's single threaded (for now) but I'm happy.
It's not clear to me (in spite of all of the output) how shallow this test
set is. Rather than plowing through a lot of code I'll just ask :-)
'references' to malloc'd RAM can be stored in registers, the data segment,
on the stack, and in my process RAM space. Does the test set check for
accidental collection of pointers stored in all (any) of the regions? Not
collected when they should be? Etc?
Next up is building libgcj to use it. The library was built
-DGC_GCJ_SUPPORT. Any surprises to look out for? Is there a Java test
application for the library?
Thanks and Regards
_________________________________________________________________
Get ready for school! Find articles, homework help and more in the Back to
School Guide! http://special.msn.com/network/04backtoschool.armx