Working with Memory Outside the Java Heap: Is There a Future for ByteBuffer(s)?
summary
Discusses limitations of Java NIO ByteBuffer as the only supported off-heap access, then presents the new Memory Access API (JEP 370) coming as an incubator module in JDK 14. Explains that the Memory Access API provides a safe, more efficient way to access external (off-heap) memory from Java, designed from scratch to overcome ByteBuffer performance and API limitations.
AI-written summary · about
chapters (7)
- 0:00Introduction
- 3:45Off-heap memory matters
- 16:56ByteBuffer limitations
- 32:17Panama Project overview
- 48:28MemorySegment performance
- 59:32Off-heap future in Java
- 1:00:17Q&A
related talks
51mBeyond ByteBuffers
56mOff-heap Instead of Three JEPs
46mOn-heap cache vs Off-heap cache w Javie
02h 39mMemory API: Patterns, Uses Cases, and Performance
16mForeign Function and Memory API
01h 01mNative Code, Off-Heap Data and Java
51mNative Interoperability with JDK 25 and the FFM API
53mOff-Heap Caching and Working with Shared Memory
