[Gc] segmentation violation

Kevin Vigor kevin at vigor.nu
Mon Nov 29 13:48:33 PST 2004

Alternately, if the goal is to allocate garbage-collected memory from a
JNI call, it would be easiest to use JNI, e.g. use NewByteArray to
allocate a managed chunk of memory and NewGlobalRef/DeleteGlocalRef as
appropriate. That way the memory is managed by the JVM's garbage
collector, making life much simpler.


More information about the Gc mailing list