图书介绍
Java性能权威指南 英文PDF|Epub|txt|kindle电子书版本网盘下载
![Java性能权威指南 英文](https://www.shukui.net/cover/2/34413711.jpg)
- (美)奥克斯著 著
- 出版社: 南京:东南大学出版社
- ISBN:9787564153830
- 出版时间:2015
- 标注页数:412页
- 文件大小:61MB
- 文件页数:428页
- 主题词:JAVA语言-程序设计-英文
PDF下载
下载说明
Java性能权威指南 英文PDF格式电子书版下载
下载的文件为RAR压缩包。需要使用解压软件进行解压得到PDF格式图书。建议使用BT下载工具Free Download Manager进行下载,简称FDM(免费,没有广告,支持多平台)。本站资源全部打包为BT种子。所以需要使用专业的BT下载软件进行下载。如BitComet qBittorrent uTorrent等BT下载工具。迅雷目前由于本站不是热门资源。不推荐使用!后期资源热门了。安装了迅雷也可以迅雷进行下载!
(文件页数 要大于 标注页数,上中下等多册电子书除外)
注意:本站所有压缩包均有解压码: 点击下载压缩包解压工具
图书目录
1.Introduction1
A Brief Outline2
Platforms and Conventions2
JVM Tuning Flags4
The Complete Performance Story5
Write Better Algorithms5
Write Less Code6
Oh Go Ahead,Prematurely Optimize7
Look Elsewhere:The Database Is Always the Bottleneck8
Optimize for the Common Case9
Summary10
2.An Approach to Performance Testing11
Test a Real Application11
Microbenchmarks11
Macrobenchmarks16
Mesobenchmarks18
Common Code Examples20
Understand Throughput,Batching,and Response Time24
Elapsed Time(Batch) Measurements24
Throughput Measurements25
Response Time Tests26
Understand Variability29
Test Early,Test Often33
Summary36
3.A Java Performance Toolbox37
Operating System Tools and Analysis37
CPU Usage38
The CPU Run Queue41
Disk Usage43
Network Usage44
Java Monitoring Tools46
Basic VM Information47
Thread Information50
Class Information51
Live GC Analysis51
Heap Dump Postprocessing51
Profiling Tools51
Sampling Profilers52
Instrumented Profilers54
Blocking Methods and Thread Timelines55
Native Profilers57
Java Mission Control59
Java Flight Recorder60
Enabling JFR66
Selecting JFR Events70
Summary72
4.Working with the JIT Compiler73
Just-in-Time Compilers:An Overview73
Hot Spot Compilation75
Basic Tunings:Client or Server(or Both)77
Optimizing Startup78
Optimizing Batch Operations80
Optimizing Long-Running Applications81
Java and JIT Compiler Versions81
Intermediate Tunings for the Compiler85
Tuning the Code Cache85
Compilation Thresholds87
Inspecting the Compilation Process90
Advanced Compiler Tunings94
Compilation Threads94
Inlining96
Escape Analysis97
Deoptimization98
Not Entrant Code98
Deoptimizing Zombie Code101
Tiered Compilation Levels101
Summary103
5.An Introduction to Garbage Collection105
Garbage Collection Overview105
Generational Garbage Collectors107
GC Algorithms109
Choosing a GC Algorithm113
Basic GC Tuning119
Sizing the Heap119
Sizing the Generations122
Sizing Permgen and Metaspace124
Controlling Parallelism126
Adaptive Sizing127
GC Tools128
Summary131
6.Garbage Collection Algorithms133
Understanding the Throughput Collector133
Adaptive and Static Heap Size Tuning136
Understanding the CMS Collector140
Tuning to Solve Concurrent Mode Failures145
Tuning CMS for Permgen148
Incremental CMS149
Understanding the G1 Collector150
Tuning G1157
Advanced Tunings159
Tenuring and Survivor Spaces159
Allocating Large Objects163
AggressiveHeap171
Full Control Over Heap Size173
Summary174
7.Heap Memory Best Practices177
Heap Analysis177
Heap Histograms178
Heap Dumps179
Out of Memory Errors184
Using Less Memory188
Reducing Object Size188
Lazy Initialization191
Immutable and Canonical Objects196
String Interning198
Object Lifecycle Management202
Object Reuse202
Weak,Soft,and Other References208
Summary221
8.Native Memory Best Practices223
Footprint223
Measuring Footprint224
Minimizing Footprint225
Native NIO Buffers226
Native Memory Tracking227
JVM Tunings for the Operating System230
Large Pages230
Compressed oops234
Summary236
9.Threading and Synchronization Performance237
Thread Pools and ThreadPoolExecutors237
Setting the Maximum Number of Threads238
Setting the Minimum Number of Threads242
Thread Pool Task Sizes243
Sizing a ThreadPoolExecutor244
The ForkJoinPool246
Automatic Parallelization252
Thread Synchronization254
Costs of Synchronization254
Avoiding Synchronization259
False Sharing262
JVM Thread Tunings267
Tuning Thread Stack Sizes267
Biased Locking268
Lock Spinning268
Thread Priorities269
Monitoring Threads and Locks270
Thread Visibility270
Blocked Thread Visibility271
Summary275
10.Java Enterprise Edition Performance277
Basic Web Container Performance277
HTTP Session State280
Thread Pools283
Enterprise Java Session Beans283
Tuning EJB Pools283
Tuning EJB Caches286
Local and Remote Instances288
XML and JSON Processing289
Data Size290
An Overview of Parsing and Marshalling291
Choosing a Parser293
XML Validation299
Document Models302
Java Object Models305
Object Serialization307
Transient Fields307
Overriding Default Serialization307
Compressing Serialized Data311
Keeping Track of Duplicate Objects313
Java EE Networking APIs316
Sizing Data Transfers316
Summary319
11.Database Performance Best Practices321
JDBC322
JDBC Drivers322
Prepared Statements and Statement Pooling324
JDBC Connection Pools326
Transactions327
Result Set Processing335
JPA337
Transaction Handling337
Optimizing JPA Writes340
Optimizing JPA Reads342
JPA Caching346
JPA Read-Only Entities352
Summary353
12.Java SE API Tips355
Buffered I/O355
Classloading358
Random Numbers362
Java Native Interface364
Exceptions366
String Performance370
Logging371
Java Collections API373
Synchronized Versus Unsynchronized373
Collection Sizing375
Collections and Memory Efficiency376
AggressiveOpts378
Alternate Implementations378
Miscellaneous Flags379
Lambdas and Anonymous Classes379
Lambda and Anonymous Classloading381
Stream and Filter Performance382
Lazy Traversal383
Summary385
A.Summary of Tuning Flags387
Index397