~/talk

Reducing Feedback Pollution

Talkat VMIL 2024 · on Sunday, 2024-10-20· [compilers-and-language-design]
links:none on file
links:none on file
links:none on file
speakerdeck:fikovnik
name:Jan Vitek
linkedin:jvitek
slides:none on file

JIT compiler for R stores type observations in separate per-call-context feedback vectors instead of one shared vector, so recorded types no longer merge across different call sites. Prototype implements contextual dispatch, updates and optionally merges context-specific vectors when compiling or inlining, and reports ~30% fewer polluted compilations and ~37% less function pollution across the corpus. Implementation raises compilation-time merging and memory trade-offs (growth of per-context tables and merging overhead).

AI-written summary · about

  1. 0:00Introduction
  2. 1:04Type feedback in compiler optimizations
  3. 3:59Polluted type feedback vectors
  4. 5:24Mitigating feedback pollution
  5. 7:11B8’s delayed feedback collection
  6. 8:57Self-optimizing interpreters limits
  7. 9:20Contextual dispatch benefits
  8. 12:31Feedback vectors and dispatch
  9. 14:43Single feedback vector limits
  10. 15:24Multiple feedback vectors per context
  11. 17:30Implementation challenges
  12. 20:19Inline code and deoptimization
  13. 22:45Feedback for inlining decisions
  14. 24:12Merging feedback information
  15. 24:54Question and answer session
~/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.