4 ms·
.Net has GCHandle [1] and I believe the JVM calls to JNI have a similar mechanism (GetXXCritical [2]) [1] http://www.shafqatahmed.com/2008/05/memory-control.h
by thibaut_barrere 15y ago
.Net has GCHandle [1] and I believe the JVM calls to JNI have a similar mechanism (GetXXCritical [2])
[1] http://www.shafqatahmed.com/2008/05/memory-control.html http://www.shafqatahmed.com/2008/05/memory-control.html
[2] http://publib.boulder.ibm.com/infocenter/javasdk/v5r0/index.jsp?topic=/com.ibm.java.doc.diagnostics.50/diag/understanding/jni_copypin.html http://publib.boulder.ibm.com/infocenter/javasdk/v5r0/index....