~/talk

Truly Final Fields

Talkat JVM Language Summit 2018 · 2018-08-04..08-06· [java, security]
links:none on file
slides:none on file

Covers making Java instance final fields truly trusted for optimization in the Zing JVM: tracking finality dependencies, emitting and later invalidating JIT code when those dependencies break, and integrating this into Falcon (an LLVM-based JIT). Describes Falcon’s callback mechanism for querying field finality, concrete optimizations enabled by treating fields as final (e.g., constant folding), and planned extensions to support effectively-final fields.

AI-written summary · about

  1. 0:00Intro
  2. 3:00FINAL SEMANTICS ACCORDING TO JLS
  3. 4:17FINAL SEMANTICS ACCORDING TO JVM SPEC
  4. 5:35STATIC FINAL FIELDS
  5. 6:20INSTANCE FINAL FIELDS
  6. 7:40FINAL FIELD MODIFICATION
  7. 9:35IDENTIFYING FINALITY
  8. 10:38DEPENDENCY TRACKING
  9. 12:53RECORDING DEPENDENCIES
  10. 13:15DEPENDENCY INVALIDATION
  11. 14:11FALCON JIT COMPILER
  12. 15:27LLVM JIT COMPILER
  13. 16:45KEY EXTENSIONS TO LLVM
  14. 17:19FINAL FIELD OPTIMIZATIONS
  15. 19:53CONSTANT FOLDING VM CALLBACK
  16. 21:03CONSTANT REGION
  17. 26:38UNKNOWN CALL
  18. 33:28PERFORMANCE SUMMARY
  19. 34:42WHY EFFECTIVELY FINAL
  20. 35:37HANDLING EFFECTIVELY FINAL
  21. 36:35CONCLUSION
~/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.