~/talk

Compact Strings

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

Covers JDK 9 changes to java.lang.String: Compact Strings (using single-byte storage for strings that fit in a single-byte charset to reduce memory and often improve performance) and Indify String Concat (using invokedynamic-based string concatenation so runtime can optimize concatenation without requiring recompilation). Explains rationale and implementation pitfalls for making these core library/runtime changes.

AI-written summary · about

  1. 0:00Intro
  2. 0:13Intro: Expectations
  3. 1:30Compact Strings: String internals
  4. 2:54Compact Strings: Some RealWorld (tm) Data
  5. 4:05Compact Strings: Wouldn't It Be Awesom
  6. 5:00Compact Strings: Thou shalt Not Regress
  7. 6:14Compact Strings: Bird's Eye View
  8. 7:52Compact Strings: JDK Development In 5
  9. 8:35CS, Coders: OOP
  10. 11:12CS, Coders: Hide Me Under The Tree
  11. 12:41CS, Coders: Tagged Arrays
  12. 16:20CS, Zeroes: What kind of Sourcery Is Th
  13. 17:12CS, Zeroes: Truth or Dare
  14. 21:17CS, Kill Switch: Naively...
  15. 22:03CS, Kill Switch: Working...
  16. 24:13CS, Kill Switch: Will This Work?
  17. 25:06CS, Kill Switch: What About This One?
  18. 25:46CS, Kill Switch: It's ALIVE!
  19. 26:36CS, Kill Switch: Will This Do?
  20. 27:46CS, Kill Switch: Or This?
  21. 29:38CS, Arrays: String
  22. 30:52CS, getChar: What Could Possibly Be Simpler
  23. 31:40CS, getChar: Running With Scissors
  24. 32:42CS, getChar: Running With Longer Scissors
  25. 33:23CS, getChar: Recap
  26. 36:55CS, Catharsis: Performance
  27. 38:13Indify String Concat: See Any Concat In Bytecode?
  28. 38:38Indify String Concat: OptimizeString Concat
  29. 40:40Indify String Concat: Caveat #1
  30. 41:29Indify String Concat: Caveat #2: «Univer
  31. 42:43Indify String Concat: Caveat #3: Reliab
  32. 43:34Indify String Concat: Insight
  33. 44:52Indify String Concat: Late Binding
  34. 45:43Indify String Concat: invokedynamic magic
  35. 47:34ISC, Init: Oops
  36. 48:01ISC, Init: Thank You, Dear Jigsaw
  37. 49:16ISC, Startup: Take This HelloWorld Example
  38. 50:22ISC, Startup: Necessary Evil?
  39. 50:59ISC, Strategies: Basic
  40. 51:41ISC, Strategies: More advanced
  41. 52:23ISC, Strategies: Even more advanced
  42. 53:07ISC, Strategies: Something completely dif
  43. 53:57ISC, Catharsis: Performance
  44. 55:10Rendezvous: Compact Strings + Indy String Concat
  45. 55:50Rendezvous: String Fusion
  46. 56:47Rendezvous: Future
  47. 58:41Conclusion: What About Real Applications?
~/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.