~/talk

A Post Apocalyptic sun misc Unsafe World

Talkat Devoxx US 2017 · 2017-03-21..03-23· [java]
slides:none on file

sun.misc.Unsafe faces phased removal (deprecated in Java 9, removed in Java 10) but big use cases remain: off-heap memory, fast layouts, custom fences, allocateInstance hacks and 78 internal uses in one project. Replacements shown include VarHandle for field/array atomics, a JVM-level Foreign Function Calls mechanism (JNRT-style method handles) for native interop, and Generic Specialization / value types, scopes and 64-bit arrays to restore performance and safe native memory management.

AI-written summary · about

  1. 0:00Introduction and context
  2. 1:20What is sun.misc.Unsafe?
  3. 4:20Use cases and examples
  4. 9:13Frameworks relying on Unsafe
  5. 12:21The future of Unsafe
  6. 18:01Accessing Unsafe
  7. 20:56Atomic updates and handles
  8. 25:00Memory management solutions
  9. 30:43Serialization techniques
  10. 34:17Native interoperability
  11. 38:35Value types and immutability
  12. 42:52Specialized generics
  13. 45:23Finalizers and cleaning
  14. 47:43Conclusion
~/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.