Skip to the content.

Version 11 (LTS) - 2018-09

Usage from sdkman

HTTP client [JEP 321]

TLS 1.3 [JEP 332]

Removal of deprecated methods

java.lang.Runtime.runFinalizersOnExit(boolean)
java.lang.System.runFinalizersOnExit(boolean)
java.lang.Thread.destroy()
java.lang.Thread.stop(java.lang.Throwable)

EE and Corba modules removed [JEP 320]

Removed packages

Java Flight recorder (jfr) [JEP 328] and Java Mission Control (jmc)

🔗 Java Flight Recorder is a production time profiling and diagnostics engine built into the JVM.

🔗 Java Mission Control is, among other things, the client tool used to look at recordings produced by the Java Flight Recorder.

Garbage Collectors

HotSpot Virtual Machine Garbage Collection Tuning Guide, release 11 pdf (🔗 original link)

🔗 Java Magazine -> Understanding Garbage Collectors

Z Garbage Collector (ZGC) [JEP 333]

🔗 The Z Garbage Collector - experimental in java 11.

Low latency garbage collector striving for pause times < 10 ms.

Explained at 🔗 Java Magazine -> Understanding the JDK’s New Superfast Garbage Collectors

Enable with -XX:+UnlockExperimentalVMOptions -XX:+UseZGC

Epsilon no-op Garbage Collector [JEP 318]

Explained at 🔗 Java Magazine -> Epsilon: The JDK’s Do-Nothing Garbage Collector

Enable with -XX:+UnlockExperimentalVMOptions -XX:+UseEpsilonGC