~/talk

Java 12 & 13 What's new and noteworthy?

Talkat Devoxx Belgium 2019 · 2019-11-04..11-08· [java]
slides:none on file

Overview of concrete changes and how to use them: Java 12–13 add preview language features (must compile and run with matching --enable-preview and --release flags), a reworked socket layer, AppCDS that cuts cold-start time by ~100ms in demos, Files.mismatch for bytewise diffs, new CompletableFuture error handlers, and a teeing collector to run two collectors in one pass. Key user-facing features are switch expressions (yield in Java 13, exhaustive matching) and text blocks (""" literals with specific indentation rules). Shenandoah and ZGC aim for tiny pauses (demo: Shenandoah ~1ms longest pause vs G1 ~150ms, CMS ~1s).

AI-written summary · about

  1. 0:00Start
  2. 3:16Agenda for Today
  3. 10:01Support Cliff
  4. 11:43Byte Code Compatibility
  5. 12:32Compact Strings
  6. 16:41Release Notes
  7. 17:09Preview Features
  8. 20:03Java 12
  9. 28:22Difference between Statement and Expression
  10. 28:51The if Statement in Java
  11. 29:07Ternary Operator
  12. 30:18Switch Expressions with Break Keyword in Java 12
  13. 32:12Yield
  14. 32:59Lambdas Style
  15. 34:25Lambda Style
  16. 35:03Blocks
  17. 44:37Text Blocks
  18. 48:52Closing and Escaping
  19. 54:42Escaping Words
  20. 58:24Translate Escapes
  21. 1:01:55Need for Compact Number Formatting
  22. 1:05:01Team Collector
  23. 1:18:14Files Mismatch
  24. 1:19:41Files Mismatch Demo
  25. 1:27:47Socket Api Got Re-Implemented in Java 13
  26. 1:28:25Nio Socket Implementation
  27. 1:30:58Garbage Collectors
  28. 1:31:10Default Garbage Collector
  29. 1:32:28Cache Invalidation
  30. 1:42:41Zgc
  31. 1:43:14Soft Max Heap Size
  32. 1:45:01The Garbage Collector
  33. 1:47:47Gc Quasi Benchmark
  34. 1:48:11Quasi Benchmark
  35. 1:48:37The Epsilon Garbage Collector
  36. 1:50:10Flight Recorder
  37. 1:52:51Concurrent Mark-Sweep
  38. 1:54:24Java Mission Control
  39. 1:55:05Garbage Collections
  40. 1:56:35Concurrent Garbage Collector
  41. 1:58:22Constants App Api
  42. 1:58:46Application Class Data Sharing
  43. 2:06:09User Time Zone
  44. 2:08:59Changes in Nios Byte Buffer in Java 13
~/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.