[Java] Heapdump/Javacore/GarbageCollector 解析

less than 1 minute read

Memory Analyzer

https://www.eclipse.org/mat/

For IBM Java

Hanged threads in Java Platform, Enterprise Edition applications

SystemOut.log example

```log example

WSVR0605W: Thread threadname has been active for hangtime and may be hung.There are total threads threads in total in the server that may be hung. ```

where threadname is the name displayed in the JVM thread dump, hangtime is the approximate elapsed time since the thread was active, and totalthreads is the overall rating of system threads.

IBM Heap Analyzer

https://www.ibm.com/support/pages/ibm-heapanalyzer

IBM Thread and Monitor Dump Analyzer for Java (TMDA)

https://www.ibm.com/support/pages/ibm-thread-and-monitor-dump-analyzer-java-tmda

IBM Pattern Modeling and Analysis Tool for Java Garbage Collector (PMAT)

https://www.ibm.com/support/pages/ibm-pattern-modeling-and-analysis-tool-java-garbage-collector-pmat

Check with GC timing + standard output etc.

Reference

Improved Java development performance! Part 3 Let’s take a heap dump

How to check OutOfMemoryError

How do I analyze a hprof file