Porting Boehm-gc to embedded m68k environment

Andrew Haley aph@redhat.com
Wed Nov 12 14:01:00 GMT 2003


John Neil writes:
 > >>
 > >
 > >> 2.  Are the memory pages returned via the GET_MEM function automatically
 > >> added to the list of ranges to be ...
 > >
 > >No.  Those memory pages are only traced when referenced from a live
 > >pointer.  (If you did register all of your heap as roots, nothing could
 > >ever be collected.)
 > >
 > OK I found my problem, gcj is incorrectly calculating the boehm descriptor
 > when the alignment is not the same as sizeof(void*). 

When the alignment of what is not the same as sizeof(void*)?

Andrew.



More information about the Java mailing list