您好,欢迎来到聚文网。 登录 免费注册
Java性能权威指南(影印版)

Java性能权威指南(影印版)

  • 字数: 524
  • 出版社: 东南大学
  • 作者: (美)奥克斯
  • 商品条码: 9787564153830
  • 版次: 1
  • 开本: 16开
  • 页数: 408
  • 出版年份: 2015
  • 印次: 1
定价:¥72 销售价:登录后查看价格  ¥{{selectedSku?.salePrice}} 
库存: {{selectedSku?.stock}} 库存充足
{{item.title}}:
{{its.name}}
精选
内容简介
编码和测试经常被认为是两个不同的专业领域。 在本书中,作为Java专家的作者ScottOaks述了任何 一个使用Java的人都应该深入了解的代码是如何在 JVM中运作的,以及如何调优性能。 通过奥克斯编著的《Java性能权威指南》,你将 深入掌握包括Java应用性能,使用Java虚拟机(JVM )和Java平台以及语言和API方面的知识。通过这本 综合指南,开发人员和性能工程师等也能够学到多种 用来改进Java7和Java8应用程序性能的特性、工具和 处理方法。
作者简介
Scott Oaks是Oracle公司的架构师,主要负责Oracle中间件软件的性能。他在1987年被Sun Microsystems公司雇用成为一名Java的传播者,并在2001年加入了该公司的Java性能组,这也是他现在的关注重点。Scott编写了O’Reilly出版社的多本有关Java安全、Java线程和Jini方面的书籍。
目录
Preface 1. Introduction A Brief Outline Platforms and Conventions JVM Tuning Flags The Complete Performance Story Write Better Algorithms Write Less Code Oh Go Ahead, Prematurely Optimize Look Elsewhere: The Database Is Always the Bottleneck Optimize for the Common Case Summary 2. An Approach to Performance Testing Test a Real Application Microbenchmarks Macrobenchmarks Mesobenchmarks Common Code Examples Understand Throughput, Batching, and Response Time Elapsed Time (Batch) Measurements Throughput Measurements Response Time Tests Understand Variability Test Early, Test Often Summary 3. A Java Performance Toolbox Operating System Tools and Analysis CPU Usage The CPU Run Queue Disk Usage Network Usage Java Monitoring Tools Basic VM Information Thread Information Class Information Live GC Analysis Heap Dump Postprocessing Profiling Tools Sampling Profilers Instrumented Profilers Blocking Methods and Thread Timelines Native Profilers Java Mission Control Java Flight Recorder Enabling JFR Selecting JFR Events Summary 4. Working with the JIT Compiler Just-in-Time Compilers: An Overview Hot Spot Compilation Basic Tunings: Client or Server (or Both) Optimizing Startup Optimizing Batch Operations Optimizing Long-Running Applications Java and JIT Compiler Versions Intermediate Tunings for the Compiler Tuning the Code Cache Compilation Thresholds Inspecting the Compil'ation Process Advanced Compiler Tunings Compilation Threads Inlining Escape Analysis Deoptimization Not Entrant Code Deoptimizing Zombie Code Tiered Compilation Levels Summary 5. An Introduction to Garbage Collection Garbage Collection Overview Generational Garbage Collectors GC Algorithms Choosing a GC Algorithm Basic GC Tuning Sizing the Heap Sizing the Generations Sizing Permgen and Metaspace Controlling Parallelism Adaptive Sizing GC Tools Summary 6. Garbage Collection Algorithms Understanding the Throughput Collector Adaptive and Static Heap Size Tuning Understanding the CMS Collector Tuning to Solve Concurrent Mode Failures Tuning CMS for Permgen Incremental CMS Understanding the G1 Collector Tuning G 1 Advanced Tunings Tenuring and Survivor Spaces Allocating Large Objects AggressiveHeap Full Control Over Heap Size Summary 7. Heap Memory Best Practices Heap Analysis Heap Histograms Heap Dumps Out of Memory Errors Using Less Memory Reducing Object Size Lazy Initialization Immutable and Canonical Objects String Interning Object Lifecycle Management Object Reuse Weak, Soft, and Other References Summary 8. Native Memory Best Practices Footprint Measuring Footprint Minimizing Footprint Native NIO Buffers Native Memory Tracking JVM Tunings for the Operating System Large Pages Compressed oops Summary 9. Threading and Synchronization Performance Thread Pools and ThreadPoolExecutors Setting the Maximum Number of Threads Setting the Minimum Number of Threads Thread Pool Task Sizes Sizing a ThreadPoolExecutor The ForkJoinPool Automatic Parallelization Thread Synchronization Costs of Synchronization Avoiding Synchronization False Sharing JVM Thread Tunings Tuning Thread Stack Sizes Biased Locking Lock Spinning Thread Priorities Monitoring Threads and Locks Thread Visibility Blocked Thread Visibility Summary 10. Java Enterprise Edition Performance Basic Web Container Performance HTTP Session State Thread Pools Enterprise Java Session Beans Tuning EJB Pools Tuning EJB Caches Local and Remote Instances XML and JSON Processing Data Size An Overview of Parsing and Marshalling Choosing a Parser XML Validation Document Models Java Object Models Object Serialization Transient Fields Overriding Default Serialization Compressing Serialized Data Keeping Track of Duplicate Objects Java EE Networking APIs Sizing Data Transfers Summary 11. Database Performance Best Practices JDBC JDBC Drivers Prepared Statements and Statement Pooling JDBC Connection Pools Transactions Result Set Processing JPA Transaction Handling Optimizing JPA Writes Optimizing JPA Reads JPA Caching JPA Re ad- Only Entities Summary 12. Java SE API Tips Buffered I/0 Classloading Random Numbers Java Native Interface Exceptions String Performance Logging Java Collections API Synchronized Versus Unsynchronized Collection Sizing Collections and Memory Efficiency AggressiveOpts Alternate Implementations Miscellaneous Flags Lambdas and Anonymous Classes Lambda and Anonymous Classloading Stream and Filter Performance Lazy Traversal Summary A. Summary of Tuning Flags Index

蜀ICP备2024047804号

Copyright 版权所有 © jvwen.com 聚文网