~/talk

Die Hard - Defeating a Java compiler bug IS an Xmas story

Talkat GeeCON 2024 · 2024-05-15..05-17· [java, open-source]
links:none on file
slides:none on file

A Java compiler bug breaks reproducible classfile output by producing different permit-list ordering for a sealed interface depending on input-file order, which makes remote build cache miss and inflates builds from about 3 minutes to 40 minutes for the repo in question. Diagnosis uses javap, diffed classfiles and custom JDK with extra logging, and a minimal reproducer shows deterministic failure conditions; the defect is fixed and queued for a JDK release.

AI-written summary · about

  1. 0:00Introduction to the talk
  2. 1:13Speaker's background and focus
  3. 2:18Die Hard analogy and context
  4. 4:04Build caching theory explained
  5. 8:03Discovering the build cache issue
  6. 11:18Non-deterministic Java compiler behavior
  7. 13:30Impact on build performance and productivity
  8. 14:37Investigating sealed interfaces and records
  9. 17:07Initial bug reporting and analysis
  10. 18:33Java compiler determinism expectations
  11. 20:19Exploring Gradle and annotation processors
  12. 21:25Key discovery: record order differences
  13. 22:29Debugging with custom JDKs
  14. 23:35Confirming the Java compiler bug
  15. 25:02Fix attempt without root cause
  16. 26:51Gradle incremental compilation check
  17. 27:56Minimal reproducer created
  18. 29:43Bug resolution and future release
  19. 30:51Closing remarks and thanks
~/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.