Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

StructuredArray: Optimizing Memory Layout for Java Performance

Java via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore the concept of StructuredArray in Java with Gil Tene in this 48-minute talk. Dive into the origins, goals, and implementation of ObjectLayout and StructuredArray, focusing on memory layout optimization for improved performance. Learn about the speed benefits typically associated with C-based languages and how they can be applied to Java. Examine the various forms of ObjectLayout, including the StructuredArray collection and intrinsic objects. Discover the advantages of the liveness approach and the optimized JDK implementation. Gain insights into the status of ObjectLayout and its potential impact on Java development.

Syllabus

Intro
ObjectLayout Focus: Match the new speed benefits C based languages get from commonly used forms of memory layout
ObjectLayout: goal overlap?
ObjectLayout Origin ObjectLayout/StructuredArray started with a simple argument. The common sides of the argument are
speed comes from ???
example of speed-enabling limitations
ObjectLayout target forms
Modeled after java.util.concurrent
StructuredArray . A collection of object instances of arbitrary type T
StructuredArray liveness
Benefits of liveness approach
StructuredArray continued...
Optimized JDK implementation
Object Layout forms 2 & 3
"struct in struct": intrinsic objects
struct with array at the end
Status
ObjectLayout Summary

Taught by

Java

Reviews

Start your review of StructuredArray: Optimizing Memory Layout for Java Performance

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.