From Java 11 to Java 17

From Java 11 to Java 17

Fu Cheng
This is a sample of the book's content.Buy on Leanpub

Table of Contents

From Java 11 to Java 17

  • Introduction
    • Java Releases Schedule After Java 9
    • JEPs in Different Java Releases
    • Install Java 17
    • Build Tools
    • Source Code
  • Records
    • Value Objects
    • Alternatives
    • Use Records
  • Sealed Classes
    • Inheritance in Java
    • Sealed Classes
    • Sealed Interfaces
    • Sealed and Record Classes
    • Reflection API
    • Class File Changes
  • Switch Expressions
    • Problems with switch Statement
    • Switch Expression
    • Arrow Labels
  • Pattern Matching
    • Pattern Matching for instanceof
    • Pattern Matching for switch
  • Text Blocks
    • Text Blocks
    • Re-indentation
    • Escape Sequences
    • New String Methods
  • Low-level APIs
    • JFR Event Streaming
    • JVM Constants API
    • Hidden Classes
  • Standard Libraries
    • Unix-Domain Socket Channels
    • Reimplement the Legacy Socket API
    • Reimplement the Legacy DatagramSocket API
    • Enhanced Pseudo-Random Number Generators
    • New macOS Rendering Pipeline
    • Edwards-Curve Digital Signature Algorithm (EdDSA)
    • Context-Specific Deserialization Filters
  • JVM
    • Class-Data Sharing
    • Helpful NullPointExceptions
    • Elastic Metaspace
    • Deprecate and Disable Biased Locking
  • Packaging Tool
    • Use jpackage
    • Custom Runtime Image
  • Garbage Collectors
    • ZGC
    • Shenandoah
    • Deprecated GC
    • Removed GC
    • Updates to G1
  • Foreign Function & Memory API
    • Foreign Memory
    • Foreign Functions
  • Deprecated & Removed Features
    • Deprecated Features
    • Removed Features
  • Misc.
    • Restore Always-Strict Floating-Point Semantics
    • macOS/AArch64 Port
    • Alpine Linux Port
    • Strongly Encapsulate JDK Internals
    • Migrate to GitHub
From Java 11 to Java 17/Garbage Collectors

Garbage Collectors

https://leanpub.com/java11to17

ZGC

https://leanpub.com/java11to17

Shenandoah

https://leanpub.com/java11to17

Deprecated GC

https://leanpub.com/java11to17

Removed GC

https://leanpub.com/java11to17

Updates to G1

https://leanpub.com/java11to17

Abortable Mixed Collections for G1

https://leanpub.com/java11to17

Promptly Return Unused Committed Memory from G1

https://leanpub.com/java11to17

NUMA-Aware Memory Allocation for G1

https://leanpub.com/java11to17

Up next

Foreign Function & Memory API

In this chapter

  • Garbage Collectors
  • ZGC
  • Shenandoah
  • Deprecated GC
  • Removed GC
  • Updates to G1