Java API and Off-heap memory

25 views
Skip to first unread message

jean safar

unread,
Mar 28, 2016, 10:14:55 AM3/28/16
to yeppp-discuss
Hi, 

As I was looking at the Java API to use the library I could not find any place to plug in my double arrays that are already stored in Direct Buffers off-heap. 

Rather than going back to double[] from DirectBuffer and potentially also incur a cost when going back through JNI, Yeppp could directly use the Direct Buffers. 

Is anything being done toward that or is it not worth it performance-wise? 

Best regards


Marat Dukhan

unread,
Mar 31, 2016, 12:25:07 AM3/31/16
to yeppp-discuss
Hi Jean,

Yeppp! does not provide a Java interface to operate on DirectBuffers, and there are no plans for it either.
We don't know what could be the performance impact if such interface was supported.

Regards,
Marat
Reply all
Reply to author
Forward
0 new messages