~/talk

Dynamic — Constants — oxymoron or promising JVM feature?

Talkat JPoint 2020 · 2020-06-29..07-03· [java]
links:none on file
slides:none on file

Shows that dynamic class-file constants (Condy) let the JVM link a constant at runtime, removing synthetic static fields and allocations and enabling faster coverage probes. Demonstrates bytecode experiments with javac and javap and JaCoCo instrumentation, hitting real JVM bugs in OpenJ9/OpenJDK 11–14 where Condy of array types crashes and where bootstrap paths trigger static initializer exceptions. Gives workarounds (cast via Object arrays), cites limits like 65,536 field slots and typical static-init code hitting ~2.5k entries, and reports an effective increase to ~8k constants. Condy JaCoCo

AI-written summary · about

  1. 0:00Introduction
  2. 3:08Dynamic constants overview
  3. 10:53Java Code Coverage challenges
  4. 19:41Assertion behavior quirks
  5. 25:17Static initialization problems
  6. 38:57Candy to the rescue
  7. 50:48Enum constants limit
  8. 59:03Switch expressions issue
  9. 1:08:17Singleton factories potential
  10. 1:12:09Future of dynamic constants
~/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.