Summary
In this chapter, we browsed through the various additions and modifications to JDK 12, barring one of its preview language features of switch expressions.
The features covered in this chapter were mostly related to the JDK and its implementation. We covered one of the newest additions to the growing GC family—Shenandoah. A concurrent GC, Shenandoah promises ultra-low pause times for modern Java applications, irrespective of their memory sizes. The other two GC features mentioned—abortable mixed collections for G1 and promptly return unused committed memory from G1—also enhance the existing G1 GC.
The JVM constants API introduces a new package and classes to represent class constraints symbolically. Apart from easing its usage across ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access