Hi Yurui,
> Let’s say passed memory addresses from c++ to JVM and constructed the data
> structure in Java.
I think that you should add a method to release off heap the memory
area on the native side and call it on the Java side in this case.
In Gandiva, it seems to allocate the memory area of
hi Yurui,
I don't know if anyone has worked out a way to permanently transfer
ownership from memory allocated by the Java or C++ libraries. This is
partially what Plasma is for. I am not sure how Gandiva is currently
dealing with memory management between Java and C++ in-process. If
someone wants
Hi Wes:
Thank you for the response. Yes the examples you provided are very helpful.
But I still have a question regarding memory management. Let’s say passed
memory addresses from c++ to JVM and constructed the data structure in Java.
Since this is an off heap memory, how could I make sure the