daniel dulitz wrote:

> If (as someone else indicated) Sun's JVM uses a conservative garbage
> collector, then even though one may force garbage collection, there's
> no way to force the garbage collector to recognize that a particular
> object is in fact garbage.

Sun's JVM, at least JDK 1.0.X and 1.1.X deploys a
conservative GC. It needs a conservative GC to pursue
objects preserved in local variables in native C code as
long as the native code is written in old style native
code interface that isn't JNI.

I think that a conservative GC is not needed if all
native code is written in JNI.


Kazuyuki SHUDO                          Happy Hacking!
  Muraoka Lab., Grad. School of Sci. & Eng., Waseda Univ.
E-mail: [EMAIL PROTECTED]
Address: Muraoka Lab., Waseda Univ.,
         3-4-1 Okubo Shinjuku-ku Tokyo 169-8555 JAPAN
TEL: +81-3-3209-5198    FAX: +81-3-3209-5198

Reply via email to