Faster Java Objects
summary
A Java library called org.ObjectLayout provides a StructuredArray type that makes arrays of regular Java objects immutable, same-typed and factory-constructed so JVMs can apply dead reckoning math and hardware streaming to achieve C struct–like access speeds. Proof-of-concept implementations run on OpenJDK and Azul’s C4 GC, the API works on any JDK today, and optimized intrinsics are being developed so flat memory layout and large throughput gains are achievable in practice.
AI-written summary · about
chapters (9)
- 0:00Start
- 17:22example of speed-enabling limitations
- 24:03Modeled after java.util.concurrent
- 26:55Context-based construction example
- 28:11StructuredArray liveness
- 30:56Benefits of liveness approach
- 32:17Structured Array continued...
- 36:02Optimized JDK implementation
- 42:49"struct in struct": intrinsic objects








