3 ms·
Yes, but then you can just varhandles on the buffer.
by Nah0chei 8y ago
Yes, but then you can just varhandles on the buffer.
- peterashford 8y agoI'm not sure what you're getting at. Why would you want to? The issue was having a big chunk of native memory that you can pack data into on the java side and read contiguously without barriers on the native side and that's what a native allocated byte buffer would get you. Or am I missing something? Not sure what varhandles adds to the situation? Sorry if I'm being dense :o)