Search

GC easy – Universal Java GC Log Analyser

Tag

JVM,

jstat – Analysis

jstat is a simple utility tool, that is present in JDK to provide JVM performance-related statistics like garbage collection, compilation activities. The major strength of jstat is its ability to capture these metrics dynamically when JVM is running without any pre-requisite instrumentation. What do we mean by it? Say for example if you want to capture garbage collection related statistics, you need to pass below arguments before you start the JVM:

Continue reading “jstat – Analysis”

UNDERSTANDING G1 GC LOG FORMAT

In Java 9, G1 GC will become the default garbage collector. One of the key features of G1 Garbage collector is its ability to limit the GC pause time (i.e. you can set the desired maximum pause time) without compromising on throughput.

Continue reading “UNDERSTANDING G1 GC LOG FORMAT”

HOW TO TROUBLESHOOT SUDDEN CPU SPIKES?

Your Java application has been running fine, but all of a sudden CPU consumption starts to go higher and higher until it stays at 80 – 100%. Even if you remove the server from load balancer (so that traffic isn’t sent anymore), still the CPU consumption is maxed out. The only way to recover from this problem is to recycle the application. After recycling, the application might be running fine for a few hours (or a few minutes depending on your karma :-)) before the CPU consumption starts to spike up.

Continue reading “HOW TO TROUBLESHOOT SUDDEN CPU SPIKES?”

WHICH GC TO USE?

There are several blogs and articles on different GC algorithms, their inner details, their Pros, their Cons… Continue reading “WHICH GC TO USE?”

JBOSS SHUNNING, UNLOADING CLASS SUN.REFLECT

I had this interesting problem with a major shipping/logistics company. Their application was running on Java 6, JBoss Cluster in RedHat Linux platform.

Continue reading “JBOSS SHUNNING, UNLOADING CLASS SUN.REFLECT”

HOW TO CAPTURE HEAP DUMP? – JMAP, – XX:+HEAPDUMPONOUTOFMEMORYERROR

Heap dump is a snapshot of the Java memory. It contains information about the Java objects and classes in the heap at the moment the snapshot is triggered. It’s vital artifact to diagnose any Java memory related problems.

Continue reading “HOW TO CAPTURE HEAP DUMP? – JMAP, – XX:+HEAPDUMPONOUTOFMEMORYERROR”

JVM PERFORMANCE ENGINEERING & TROUBLESHOOTING TRAINING

JVM is the most popular programming platform in the world. It empowers thousands of enterprises to run their mission-critical applications. However, tuning, optimizing and troubleshooting JVM is not a trivial job.

Continue reading “JVM PERFORMANCE ENGINEERING & TROUBLESHOOTING TRAINING”
Featured post

Powered by WordPress.com.

Up ↑