更新时间:2021-08-13 15:44:44
封面
Title Page
Copyright and Credits
Mastering Java 11 Second Edition
Dedication
Packt Upsell
Why subscribe?
Packt.com
Contributors
About the author
About the reviewer
Packt is searching for authors like you
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Download the color images
Conventions used
Get in touch
Reviews
The Java 11 Landscape
Technical requirements
Understanding the Java platform's new versioning model
Feature-driven releases
Time-based releases
Understanding the significance of Java 9
Breaking the monolith
Using the Java Shell
Taking control of external processes
Boosting performance with G1
Measuring performance with JMH
Getting ready for HTTP 2.0
Encompassing reactive programming
Benefiting from changes introduced with Java 10
Local variable type inference
Consolidation of the JDK forest into a single repository
Garbage collection interface
Parallel full garbage collector for G1
Application class-data sharing
Thread-local handshakes
Removal of the native-header generation tool (javah)
Additional Unicode language-tag extensions
Heap allocation on alternative memory devices
Experimental Java-based JIT compiler
Root certificates
Benefiting from changes introduced with Java 11
Dynamic class-file constants
Epsilon – an arbitrarily low-overhead garbage collector
Removal of the Java EE and CORBA modules
Local variable syntax for Lambda parameters
Summary
Questions
Further reading
Discovering Java 11
Improved contended locking
Improvement goals
Segmented code cache
Memory allocation
Smart Java compilation
Resolving lint and doclint warnings
Tiered attribution for Javac
Annotations pipeline 2.0
New version-string scheme
Generating runtime compiler tests automatically
Testing class-file attributes generated by Javac
Storing interned strings in class-data sharing archives
The problem
The Java 9 solution
The Java 10 improvement
Class determination
AppCDS archive creation
Using the AppCDS archive
Preparing JavaFX UI controls and Cascading Style Sheet APIs for modularization
JavaFX overview
Implications for Java 9 10 and 11
Compact strings
Merging selected Xerces 2.11.0 updates into JAXP
Updating JavaFX/Media to the newer version of GStreamer
HarfBuzz font-layout engine
HiDPI graphics on Windows and Linux
Marlin graphics renderer
Unicode 8.0.0
New in Unicode 8.0.0
Updated classes in Java 9
Reserved stack areas for critical sections
The pre-Java 9 situation
New in Java 9
Dynamic linking of language-defined object models
Proof of concept
Additional tests for humongous objects in G1
Improving test-failure troubleshooting
Environmental information
Java process information
Optimizing string concatenation
HotSpot C++ unit-test framework
Enabling GTK3 on Linux
New HotSpot build system
Consolidating the JDF forest into a single repository