Re: [Gc] GCJ, typed malloc, custom mark proc?
Ivan Maidanski
ivmai at mail.ru
Sun Aug 2 05:51:58 PDT 2009
Hi!
James Williams <junk at giantblob.com> wrote:
> Hi,
>
> I use Boehm GC as the garbage collector for a compiler and its runtime.
> (https://giantblob.com/compiler/)
> ...
> I've tried using GC_gcj_malloc without success - even if I use size descriptors
> that cover the whole object or bitmaps with bits for all words in the object set
> the collector still frees reachable objects. I'm pretty sure my descriptors are
> right - I'm basing my code on the fake_vtable structs in tests/test.c and
> reading libjava source.
Hmm, if I understand correctly you say it's completely broken...
I use it (length-based only) for a long period (GC v7.2a2 or CVS) and never observed such things.
The ways I use it, I've described in https://permalink.gmane.org/gmane.comp.programming.garbage-collection.boehmgc/2679
>
> Should I expect this to work? Would I be better using typed malloc or a custom
> mark function?
>
> Any advice gratefully received, thanks,
> -- James Williams
Bye.
More information about the Gc
mailing list