Presentation: Faster Object Arrays

Java is fast. Really fast. But the memory layout of objects and arrays is an area where Java still inherently lags (in speed) behind the C family of languages.

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 behaviors 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.

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

Tracks

Covering innovative topics

Monday, 3 November

Tuesday, 4 November

Wednesday, 5 November

Conference for Professional Software Developers