~/talk

Overflow in Collections.rotate

TalkinRussianat JPoint 2024 · 2024-04-17..04-25· [java, software-architecture]
links:none on file
slides:none on file

The talk describes a 22-year integer-overflow bug in java.util.Collections.rotate that affected arrays larger than 2^30 elements and existed in OpenJDK and all Java versions up to 21. It explains how the defect was found accidentally while running student lab tests, and traces the process of reporting the bug and getting the fix committed into the OpenJDK master branch.

AI-written summary · about

  1. 0:00Introduction
  2. 1:31What is Collections.rotate
  3. 10:48Java rotate implementation
  4. 23:46JDK bug hunt
  5. 30:13Bug in rotate found
  6. 34:33Fix and patch submission
  7. 40:13Results and summary
~/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.