~/talk

Condy? NestMates? Constable? Understanding JDK 11 & 12's JVM features

Talkat Joker 2019 · 2019-10-25..10-26· [java, compilers-and-language-design]
slides:none on file

JDK 11 adds nestHost/nestMembers classfile attributes so the VM treats classes defined together as a nest, removing synthetic access bridges and preventing illegal access exceptions for reflective access that succeeded at compile time. JDK 11 also adds ConstantDynamic via LDC so constants resolve through bootstrap methods (no CallSite or MethodHandle indirection), enabling enum/type/varhandle literals and cheaper noncapturing lambdas. JDK 12 adds java.lang.constant.Constable to describe and canonicalize symbolic constants. OpenJ9 implements a single vtable slot plus constant pool trick to avoid footprint or runtime penalties.

AI-written summary · about

  1. 0:00Start
  2. 1:30Open J9 Jvm
  3. 2:50Java Nine
  4. 4:04Time-Based Releases
  5. 8:01Translation Strategy
  6. 13:38Nest Members Attribute
  7. 16:59How Does Invoke Virtual Work
  8. 21:15Footprint Matters
  9. 26:32Constant Dynamic
  10. 33:27Lookup Object
  11. 34:30Linkage States
  12. 42:07Non Capturing Lambdas
  13. 42:52Initialization on Demand
  14. 43:26Java 9 Introduced Var Handles
  15. 44:47Jvm Constants
  16. 47:25Resolve Constant Descriptor
~/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.