售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
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
Chapter 1. Learning Java 9 Underlying Performance Improvements
Introducing the New Features of Java 9
Modular Development and Its Impact
Quick Introduction to Modules
Note
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
Chapter 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
Chapter 3. Multithreading and Reactive Programming
Prerequisites
Thread Pools
Monitoring Threads
Note
Sizing Thread Pool Executors
Thread Synchronization
Tuning JVM
Reactive Programming
Summary
Assessments
Chapter 4. Microservices
Why Microservices?
Building Microservices
Note
Container-Less Deployment
Self-Contained Microservices
In-Container Deployment
Summary
Assessments
Chapter 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
Appendix 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
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜