Java 12 & 13 What's new and noteworthy?
summary
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
chapters (44)
- 0:00Start
- 3:16Agenda for Today
- 10:01Support Cliff
- 11:43Byte Code Compatibility
- 12:32Compact Strings
- 16:41Release Notes
- 17:09Preview Features
- 20:03Java 12
- 28:22Difference between Statement and Expression
- 28:51The if Statement in Java
- 29:07Ternary Operator
- 30:18Switch Expressions with Break Keyword in Java 12
- 32:12Yield
- 32:59Lambdas Style
- 34:25Lambda Style
- 35:03Blocks
- 44:37Text Blocks
- 48:52Closing and Escaping
- 54:42Escaping Words
- 58:24Translate Escapes
- 1:01:55Need for Compact Number Formatting
- 1:05:01Team Collector
- 1:18:14Files Mismatch
- 1:19:41Files Mismatch Demo
- 1:27:47Socket Api Got Re-Implemented in Java 13
- 1:28:25Nio Socket Implementation
- 1:30:58Garbage Collectors
- 1:31:10Default Garbage Collector
- 1:32:28Cache Invalidation
- 1:42:41Zgc
- 1:43:14Soft Max Heap Size
- 1:45:01The Garbage Collector
- 1:47:47Gc Quasi Benchmark
- 1:48:11Quasi Benchmark
- 1:48:37The Epsilon Garbage Collector
- 1:50:10Flight Recorder
- 1:52:51Concurrent Mark-Sweep
- 1:54:24Java Mission Control
- 1:55:05Garbage Collections
- 1:56:35Concurrent Garbage Collector
- 1:58:22Constants App Api
- 1:58:46Application Class Data Sharing
- 2:06:09User Time Zone
- 2:08:59Changes in Nios Byte Buffer in Java 13
related talks
44mJava: Java 12, 13 & 14. What's new and noteworthy?
20mNew features of Java 12 in action (live coding)
01h 07mWhat's New in Java 11, 12, 13
01h 05mJava 11 to 17 - Exciting New Features
47mNew Features of JDK 13
59mEffective Java SE 12 APIs/Lang features, makes your life easier
50mTo Java 20 and Beyond
59mEffective Java SE 18 APIs/Lang features, makes your life easier.
