Can java garbage collect C code in JNI?

Prev      Next

Answer: If you think about it, the answer should be YES, more or less

Remember those env functions like ReleaseStringChars? Well, they can actually automatically free up C space without you noticing.