Oracle Community Directory
Oracle Community FAQ
My Oracle Support Community (MOSC)
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
Java HotSpot Virtual Machine
Java Native Interface (JNI)
Please enter a title.
You can not post a blank message. Please type your message and try again.
This discussion is archived
: Mar 1, 2013 7:17 AM by
Does NewDirectByteBuffer() around malloc()'ed memory make the GC care
Mar 1, 2013 7:17 AM
about freeing the malloc()'ed memory?
env->NewDirectByteBuffer(b, len); where b is malloc'ed memory.
I want to free it myself, so I would appreciate it if the JVM only free'd whatever wrapper the NewDirectByteBuffer creates, but not the memory itself.
This content has been marked as final.
Show 0 replies