[Java-gnome-developer] Java-Gnome: jni or cni

Andrew Haley aph@redhat.com
Mon Mar 15 18:39:00 GMT 2004


Tom Tromey writes:
 > >>>>> "Cedric" == Cedric Berger <cedric@berger.to> writes:
 > 
 > [ followups trimmed ]
 > 
 > >> How about asking Sun to support CNI then ?
 > 
 > Cedric> Bleah
 > Cedric> They technically cannot support it.
 > Cedric> CNI doesn't work with precise copying collectors, AFAIK.
 > 
 > CNI requires modifications to your C++ compiler to work.
 > There's no technical reason that one couldn't modify a C++ compiler
 > to also work with a precise copying collector while you're at it.
 > 
 > That's not to say it might not be hard.  For GCC it looks basically
 > unfeasible.  I suspect nobody will ever make the effort.
 > 
 > Perhaps this is a distinction without a difference?  Sometimes I find
 > it interesting to contemplate CNI's definition as separable from its
 > current implementation.

Bear in mind that CNI's definition is about to change, and change in a
way that (I think) would remove the objections about it not being
suitable for moving collectors.

Real soon now...

Andrew.



More information about the Java mailing list