~/talk

The Lord of the Strings: Two Scours

Talkat Joker 2015 · 2015-10-16..10-17· [java, compilers-and-language-design]
slides:none on file

Two JDK9 features target strings: Compact Strings stores Latin-only strings in byte arrays with a one-byte coder flag, preserving charAt O(1) and cutting heap footprint roughly in half while improving throughput about 1.7–1.8x on microbenchmarks; Indify String Concat replaces generated StringBuilder chains with invokedynamic-backed concat strategies that can boost some concat-heavy workloads up to ~3.5x and, combined with compact strings, yield ~80–90% win in memory and overall performance. Prototypes exist but require VM, bootstrap and compatibility hacks to land.

AI-written summary · about

  1. 0:00Introduction and disclaimer
  2. 0:25Compact Strings overview
  3. 7:13Challenges in implementation
  4. 15:30Stop gap for Compact Strings
  5. 21:59Static final field issues
  6. 27:46Bootstrap problems
  7. 32:46Array size limits
  8. 36:34Byte-to-char conversion
  9. 42:17StringBuilder and concatenation
  10. 49:23invokedynamic for concatenation
  11. 53:36invokedynamic startup cost
  12. 57:34Combining features
  13. 1:00:07Performance results
  14. 1:01:36Conclusion and Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.