Faster Java Objects and Arrays

The presentation covers the APIs and design considerations behind org.ObjectLayout and StructuredArray Java library. It explains the fundamentals behind logic that can allow Java JDKs to match C on data structure access speeds.

This session introduces org.ObjectLayout and StructuredArray, a new Java collection library and an array class designed specifically to enable JVMs to optimize memory layout for arrays of objects in a way that closely matches the performance behaviours of arrays of structs in C. org.ObjectLayout works on any JDK (version 6.0 and above), but when “intrinsified” in newer JDKs, it brings dead-reckoning and streaming speed to what is in essence an array of Java objects.

Video producer: