Forcing the GC to collect JNI proxy objects
- by SyBer
Hi.
While I do my best to clean JNI objects to free native memory in the end of the usage, there are still some that hang around for a long time, wasting system native memory.
Is there any way to force the GC to give priority in collection of these JNI proxies?
I mean is there a way to cause GC to concentrate on a particular kind of object, namely the JNI proxies?
Thanks.