News for hackers. Stuff that matters.
Re:Allocation is cheap in .NET until it is not by xxs on Wednesday January 24, 2018 @09:11PM (#16228236)
A point of JNI - use direct byte buffers. The address remains the same within the virtual address of the process (hence non-movable).

Of course that leaves some memory management in Java, itself, but the price is usually fine for having void* access in C.

There are no comments on this comment yet.