~/talk

The Secret History and Tragic Fate of sun.misc.Unsafe

slides:none on file

Chronicles why sun.misc.Unsafe exists, lists concrete uses (reflection rewrite in Java 1.4, direct buffers, JSR‑166 atomic/park/unpark, BigInteger speedups, Objective‑C bridge), and gives hard numbers — 379 results on StackOverflow — to show widespread misuse. Explains the JDK9 plan: module encapsulation, available on classpath, opt‑in for modules, command‑line override, and a release-by-release migration/deprecation rule that moves unsafe methods into supported safer APIs or removes them.

AI-written summary · about

  1. 0:00The history of Unsafe
  2. 3:07Roadblocks and workarounds
  3. 3:41The role of Unsafe in ecosystems
  4. 5:03Benefits of external adoption
  5. 5:19The burden of maintenance
  6. 6:20Abuse and misuse
  7. 6:35Security and stability risks
  8. 7:17The cycle of dependency
  9. 7:27Jigsaw and modularization
  10. 10:16The plan for removal
~/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.