超時(shí)管理
Java application與外部系統(tǒng)之間缺乏合理的超時(shí)時(shí)間,由于中間件和JVM線程消耗(blocking IO calls),可能導(dǎo)致嚴(yán)重的性能下降和中斷。合理的超時(shí)時(shí)間可以避免在遇到外部服務(wù)提供商速度緩慢的時(shí)候,Java線程等待太久。

工具
目標(biāo)建議工具自動(dòng)、實(shí)時(shí)地性能監(jiān)控、調(diào)節(jié)、預(yù)警、趨勢(shì)分析、容量管理,等等Enterprise APM solutions(企業(yè)級(jí)APM解決方案) 注意:APM解決方案提供了工具,這些現(xiàn)成的功能讓您實(shí)現(xiàn)以下大部分的Java性能目標(biāo)。性能和負(fù)載測(cè)試商業(yè)性能測(cè)試解決方案 Apache JMeter
http://jmeter.apache.org/
JVM垃圾回收評(píng)估,內(nèi)存分配率和故障排除Oracle Java VisualVM http://docs.oracle.com/javase/8/docs/technotes/guides/visualvm/intro.htmlhttp://java.dzone.com/articles/profile-your-applications-java
Oracle Java Mission Control
http://www.oracle.com/technetwork/java/javaseproducts/mission-control/java-mission-control-wp-2008279.pdf
http://www.oracle.com/technetwork/java/javase/jmc53-release-notes-2157171.html
IBM Monitoring and Diagnostic Tools for Java(via IBM Support Assistant tool)
http://www-01.ibm.com/software/support/isa/
JVM verbose:gc logs
JVM argument : -verbose:gc
http://docs.oracle.com/javase/8/docs/technotes/tools/windows/java.html
IBM GCMV
https://www.ibm.com/developerworks/java/jdk/tools/gcmv/
JVM堆和類(lèi)的元數(shù)據(jù)的內(nèi)存泄漏分析Oracle Java VisualVM and Oracle Java Mission Control IBM Monitoring and Diagnostic Tools for JavaMemory Analyzer(heap dump analysis, hprof and phd formats)
https://www.eclipse.org/mat/
https://www.ibm.com/developerworks/java/jdk/tools/memoryanalyzer/
JVM內(nèi)存分析和堆容量評(píng)估Oracle Java VisualVM and Java Mission Control IBM Monitoring and Diagnostic Tools for JavaJava profilers (JProfiler, YourKit)
http://en.wikipedia.org/wiki/JProfiler
http://www.yourkit.com/
Memory Analyzer(heap dump and application memory footprint analysis)
JVM和中間件并發(fā)故障,如thread lock contention和deadlocksOracle Java VisualVM and Oracle Java Mission Control (threads monitoring, thread dump snapshots) jstack , native OS signal such as kill -3(thread dump snapshots)
http://www.oracle.com/technetwork/java/javase/tooldescr-136044.html#gblfh