Java性能权威指南

奥克斯 (Scott Oaks)

出版时间

2016-02-29

ISBN

9787115413765

评分

★★★★★
AI导读
核心看点
  • 系统讲解JVM调优、GC策略及线程同步
  • 提供性能测试四大原则与JDK内置工具用法
  • 涵盖从算法优化到数据库调优的全链路实践
适合谁读
  • 寻求深入理解Java平台性能机制的开发者
  • 需要解决高并发场景下性能瓶颈的工程师
  • 希望掌握JVM参数调优与监控工具的技术人员
读前提醒
  • 翻译质量参差不齐,建议结合英文原版阅读
  • 部分技术细节较浅,适合作为工具书查阅
  • 重点阅读前八章,后部API技巧按需参考
读者共识
  • 内容覆盖全面但深度不足,缺乏透彻解析
  • 翻译生硬晦涩,严重影响阅读体验与理解
  • 适合入门了解概念,进阶需补充其他资料

本导读基于书籍简介、目录、原文摘录、短评和书评生成,不等同于全文精读。

精彩摘录
  • "Performance analysis is all about visibility—knowing what is going on inside of an application, and in the application’s environment. Visibility is all about tools. And so performance tuning is all about tools."
  • "Compiler Flags Are Different Unlike most Java flags, the flags to select a compiler are different: most of them do not use -XX. The standard compiler flags are simple words: -client, -server, or -d64. The exception here is tiered compilation, which is enabled with a flag in the common format: -XX:+T"
  • "There are four main garbage collectors available in current JVMs: the serial collector (used for single-CPU machines), the throughput (parallel) collector, the concurrent (CMS) collector, and the G1 collector."
  • "The cost for a contended operation in code using CAS instructions is unpredictable. CAS primitives are based on an optimistic strategy: the thread sets a value, executes some code, and then makes sure that the initial value has not changed. If it has, then the CAS-based code must execute the code ag"
作者简介
Scott Oaks 是Oracle公司的一位架构师,专注研究Oracle中间件软件的性能。加入Oracle之前,他曾于Sun Microsystem公司任职多年,在多个技术领域都有建树,包括SunOS的内核、网络程序设计、Windows系统的远程方法调用(RPC)以及OPEN LOOK虚拟窗口管理器。1996年,Scott成为Sun公司的Java布道师,并于2001年加入Sun公司的Java性能小组——从那时起他就一直专注于Java的性能提升。此外,Scott也在O'Reilly出版社出版了多部书籍,包括Java Security、Java Threads、JXTA in a Nutshell和Jini in a Nutshell。
目录
推荐序  xi
前言  xii
第1章 导论  1
1.1 概述  2
1.2 平台版本约定  2

显示全部
用户评论
很高深啊,关于jvm和gc的部分,还是能够理解的,会再读!
至少详细讲了G1就比其他好
满满干货
内容相对较新
介绍了很多最佳实践。但是不知道是不是翻译的问题,读起来很不顺畅
看过深入理解jvm后觉得这个有点一般呢,可能也是因为没怎么读进去吧
不管怎么样,对我的帮助还是蛮大的。不过嘛,有些东西给了个开头,然后就草草收尾了,读的一点都不尽兴。最多的收获就是列了一个超级大的todolist,然而并没有什么卵用
jvm部分还可以 后边不少东西已经过时了
这本书仅仅是个介绍 如何监控Linux本机 CPU, 内存,磁盘,网络,可以看性能之巅 如何监控Java,Troubleshooting Guidehttps://docs.oracle.com/javase/8/docs/technotes/guides/troubleshoot/toc.html 编译,可以看编译原理 垃圾收集,可以看垃圾回收的算法与实现或者Garbage Collection;然后看 HotSpot Virtual Machine Garbage Collection Tuning Guide https://docs.oracle.com/javase/8/docs/technotes/guides/vm/gctuning/
下载
收藏