~/talk

Exploring Java’s Hidden Costs

Talkat 360|AnDev 2016 · 2016-07-28..07-29· [android]
slides:none on file

Claims that Java 8 features add measurable overhead, demonstrated with javac/javap, DX/dexdump, ProGuard, Jack and RetroLambda; a dex method list tool finds thousands of synthetic accessors in real apks, one codegen change cuts 27 hundred methods from an app, and lambdas often cost 3–4 methods each (example app has 826 lambdas). Recommendations include upgrading RetroLambda, enabling ProGuard/minification, using SparseArray over HashMap for small maps, and running the supplied tooling to locate bloat.

AI-written summary · about

  1. 0:00Introduction
  2. 1:19How Many Methods
  3. 6:15Nested Classes
  4. 11:00Eliminating Methods
  5. 17:04Fixing Visibility
  6. 25:11Retro Lambda
  7. 25:47Retro Lambda vs Jack
  8. 28:31Additional Method References
  9. 30:36Lambdas
  10. 34:06Special Collections
  11. 35:20Data Indirection
  12. 39:40Sparse Array
  13. 41:26Memory Overhead
  14. 44:25Summary
  15. 48:36Other presentations
  16. 49:27Tools
~/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.