是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。
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:+TieredCompilation. Tiered compilation implies that the server compiler must be used. The following command silently turns off tiered compilation, because it conflicts with the choice of the client compiler:
% java -client -XX:+TieredCompilation other_args (查看原文)
0 有用 usc3l 2018-03-15 20:01:54
读起来不顺畅,比较浅。前面几章还不错,gc和线程池介绍的比较详细。
0 有用 doubin 2019-10-24 22:46:05
满满干货
1 有用 Zane 2018-12-23 03:25:25
相比平时只使用Java编程,借助本书,可以更细致地了解到JVM的一些特性。 作者对调优陈述了多次“是艺术”。一下子看到有很多参数可配,但又万事无绝对。若不是以前了解过一些粗浅的机器学习方法论,仅以做业务项目的经历可能会惊诧于“模棱两可”的说明。 想到现如今运维已有AIOps,也许以后JVM调优也会有基于AI的解决方案。 扯远了。调优的内容不比新学习一门语言上手写代码那样见效快。细心地去发现问题,关... 相比平时只使用Java编程,借助本书,可以更细致地了解到JVM的一些特性。 作者对调优陈述了多次“是艺术”。一下子看到有很多参数可配,但又万事无绝对。若不是以前了解过一些粗浅的机器学习方法论,仅以做业务项目的经历可能会惊诧于“模棱两可”的说明。 想到现如今运维已有AIOps,也许以后JVM调优也会有基于AI的解决方案。 扯远了。调优的内容不比新学习一门语言上手写代码那样见效快。细心地去发现问题,关联书中所介绍的工具,动手实践验证,才会真正有所收获吧。 (展开)
0 有用 渔樵 2019-03-14 00:38:52
翻译实在是无言以对。如果有地方读了两遍还不能理解,不要怀疑自己的智商,去找原文对比吧。
0 有用 碗 2019-01-11 16:14:57
内容覆盖的不少,但大都太简单了