~/talk

Struct-Like Performance in Java

Talkat Jfokus 2016 · 2016-02-08..02-10· [java]
slides:none on file

Covers ObjectLayout (objectlayout.org) — an API that brings C-style struct performance patterns (prefetching and caching) to Java without changing the language or JVM, and explains its design and how using JVM intrinsics could further speed up code by modifying the JVM to recognize and optimize the API.

AI-written summary · about

  1. 0:00Intro
  2. 0:33ObjectLayout Project Focus
  3. 7:00ObjectLayout Origin ObjectLayout started with a simple argume - "We need structs in Java..."
  4. 8:51Where speed comes fron Clayout speed benefits are dominated by - Dead reckoning - Streaming for arrays of structs
  5. 9:18Data Grouping In C
  6. 9:50Dead Reckoning In C struct *sq = malloc sizeof Struct
  7. 11:33Streaming Arrays In C
  8. 12:34Data Grouping In Java
  9. 13:12Arrays In Java
  10. 15:45Array Semantics: Structs
  11. 16:57org.ObjectLayout Target . The common C-style constructs we seekt - array of structs
  12. 25:27Context-Based Construction
  13. 28:12StructuredArray Liveness
  14. 30:30Benefits Of Liveness Approach . StructuredArray is just a collection of Objects - No special behavior acts like any other collection - Happens to be fast on JDKs that optimize it
  15. 35:18Optimized JDK implementation
  16. 39:09Encapsulated Struct In C
  17. 39:29Struct-In-Struct Intrinisic
  18. 41:43Struct With Array At The End
  19. 42:02ObjectLayout Forms Are Composable
  20. 42:54Status
  21. 44:20Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.