~/talk

Vector API for Java

Talkat Oracle Code One 2018 · 2018-10-22..10-25· [java]
links:none on file
slides:none on file

An OpenJDK Panama prototype exposes a Java Vector API that maps explicit data‑parallel code to SIMD (AVX/AVX‑512, NEON, SVE) and is validated with JMH + DTrace samples and HotSpot C2 intrinsics. Concrete results: vectorized hash and array work drops from ~779 to ~282, sepia image code shows ~12–13x, dot product gives ~2x then ~4x after manual unrolling, and Mandelbrot hits ~4–5x. Implementation uses species/factories and masks, requires architecture-aware unrolling and alignment, and currently uses many specialized classes until value types flatten vectors.

AI-written summary · about

  1. 0:00Start
  2. 0:14The Vector Api
  3. 1:07Goals of this Api
  4. 8:04Hierarchy
  5. 8:22Overview
  6. 13:21Performance
  7. 15:20Conditional Expressions
  8. 15:43Masks
  9. 16:16Generated Code
  10. 17:10Operational Composition
  11. 18:14Implementation
  12. 18:30Disclaimer from Intel
  13. 19:40Represent Vectors at the Jvm Level
  14. 22:03Redefined Typed Vectors
  15. 25:23Binary Operation
  16. 28:54Vector Box Elimination
  17. 30:06Sepia Filter
  18. 32:36Code for a Dot Product
  19. 35:18Mandelbrot
  20. 36:41Conclusion
~/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.