Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
Java: High-Performance Apps with Java 9
Java: High-Performance Apps with Java 9
Credits
Meet Your Experts
Preface
What's in It for Me?
What Will I Get from This Book?
Prerequisites
1. Learning Java 9 Underlying Performance Improvements
Introducing the New Features of Java 9
Modular Development and Its Impact
Quick Introduction to Modules
String Operations Performance
Compact String
The World of Heap
Why Bother Compressing Strings?
What Did They Do?
What is the Escape Route?
What is the Performance Gain?
Indify String Concatenation
Invokedynamic
Storing Interned Strings in CDS Archives
Concurrency Performance
Compiler Improvements
Tiered Attribution
Ahead-of-Time Compilation
Security Manager Improvements
Graphics Rasterizers
Summary
Assessments
2. Tools for Higher Productivity and Faster Application
The JShell Tool Usage
Creating a JShell Session and Setting Context
JShell Commands
Ahead-of-Time (AOT)
Static versus Dynamic Compilation
The AOT Commands and Procedures
Summary
Assessments
3. Multithreading and Reactive Programming
Prerequisites
Thread Pools
Monitoring Threads
Sizing Thread Pool Executors
Thread Synchronization
Tuning JVM
Reactive Programming
Summary
Assessments
4. Microservices
Why Microservices?
Building Microservices
Container-Less Deployment
Self-Contained Microservices
In-Container Deployment
Summary
Assessments
5. Making Use of New APIs to Improve Your Code
Filtering Streams
Basic Filtering
Using Other Stream Operations for Filtering
Stack-Walking APIs
Stack Analysis before Java 9
New Better Way to Walk the Stack
Convenience Factory Methods for Collections
Why New Factory Methods?
The New Factory Methods in Action
CompletableFuture in Support of Asynchronous Processing
The CompletableFuture API Overview
The CompletableFuture API Enhancements in Java 9
The Problem and the Solution using Future
The Solution with CompletableFuture
Other Useful Features of CompletableFuture
Stream API Improvements
Summary
Assessments
A. Assessment Answers
Lesson 1: Learning Java 9 Underlying Performance Improvements
Lesson 2: Tools for Higher Productivity and Faster Application
Lesson 3: Multithreading and Reactive Programming
Lesson 4: Microservices
Lesson 5: Making Use of New APIs to Improve Your Code
← Prev
Back
Next →
← Prev
Back
Next →