Version 11 (LTS) - 2018-09
Usage from sdkman
sdk install java 11.0.12-open
- installsdk use java 11.0.12-open
- use in current shell
HTTP client [JEP 321]
- HTTP Client
- asynchronous and synchronous mode. HTTP 2.
TLS 1.3 [JEP 332]
- TLS 1.3 full support
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.xml.ws
- JAX-WSjava.xml.bind
- JAXBjava.corba
- Corba
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