0 Replies Latest reply on Mar 1, 2013 1:17 PM by 994207

    Does NewDirectByteBuffer() around malloc()'ed memory make the GC care

    994207
      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.