[RFA] boehm-gc for AIX

Adam Megacz gcj@lists.megacz.com
Tue Jan 29 10:10:00 GMT 2002


Bryce McKinlay <bryce@waitaki.otago.ac.nz> writes:
> > CNI invocation is another problem... it's unfortunate that the CNI
> > spec says nothing about static roots, so it seems to imply the
> > existence of a conservative GC.

> We could certainly add something to the spec to say that any global 
> variables holding Java objects must be declared in Java.

Other bonus side-effects:
1) hash-synch on win32 would work (the mingw linker refuses to
 properly 4-octet-align static data, no matter how much you scream
 at it). IIRC, java static member data is on the heap, so it would
 be allocated via GC_malloc() and be properly aligned.
2) method-gc would become simpler
> I don't think I've seen any CNI code which does otherwise anyway.

prims.cc defines a bunch of static Class objects. This was why I
couldn't make hash-sync work on win32. If you remove them, please let
me know and I'll re-enable hash sync.
 - a


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /