Re: [Gc] bdwgc for RTEMS gc collect fail
ivmai at mail.ru
Mon May 16 14:12:36 PDT 2011
Check DATASTART/END values - the range should not intersect with the heap addresses.
Sat, 14 May 2011 00:23:49 +0800 Jie Liu <lj8175 at gmail.com>:
> Hi all,
> I am using bdwgc on RTEMS i386 platform for previous work of GSoC2011 project "RTEMS Porting of GCJ".
> But even the simplest test like :
> int *q=(int *)GC_MALLOC(sizeof(int));
> will get the result "GC_get_heap_size=161669120", this said the object allocated by GC_MALLOC could not be collected automatically, even use GC_MALLOC_ATOMIC the result is the same.
> I try to read the source code of bdwgc and find GC_finalize_now is 0. And bdwgc's mark phase is not easy to read, can someone give me a help hand ?
> Thank you very much for your time.
> Best Regards,
More information about the Gc