Search

GC easy – Universal Java GC Log Analyser

Category

Trouble Shooting

MICROMETRICS TO FORECAST APPLICATION PERFORMANCE

Even unpredictable weather is being forecasted. But after all these technological advancements, are we able to forecast our application performance & availability? Are we able forecast even for the next 20 minutes? Will you be able to say that in the next 20 minutes application is going to experience OutOfMemoryError, CPU spikes, crashes? Most likely not. It’s because we focus only on macro-metrics:

Continue reading “MICROMETRICS TO FORECAST APPLICATION PERFORMANCE”

CMS DEPRECATED. NEXT STEPS?

Popular Concurrent Mark Sweep (CMS) GC algorithm is deprecated in JDK 9. According to JEP-291, this decision has been made to reduce the maintenance burden of GC code base and accelerate new development.

Continue reading “CMS DEPRECATED. NEXT STEPS?”

Try to avoid -XX:+UseGCLogFileRotation

Developers take advantage of the JVM argument -XX:+UseGCLogFileRotation to rotate GC log files. Continue reading “Try to avoid -XX:+UseGCLogFileRotation”

VIRTUAL MACHINE ERROR

Java.lang.VirtualMachineError is thrown when Java virtual machine encounters any internal error or resource limitation which prevents it from functioning. It’s a self-defensive mechanism employed by JVM to prevent entire application from crashing.In this article lets discuss different types of VirtualMachineError, their characteristics, reasons why they get triggered and potentials solutions to fix them.

Continue reading “VIRTUAL MACHINE ERROR”

GC LOG ANALYSIS COMPLIMENTS APM

Recently a smart engineering manager from a major financial institution asked the question: ‘We are already using APM tool (AppDynamics), why do we need to use GC log analysis tool (GCeasy)?’. Fair question that deserves detailed answer. There are angles to this question:

Continue reading “GC LOG ANALYSIS COMPLIMENTS APM”

HOW TO ENABLE JAVA 9 GC LOGS?

GC logs are vital artifacts to troubleshoot memory/CPU related problems and optimize applications performance. In Sep 2017, the much-awaited java 9 got released. In this release, GC logging is re-implemented using Unified GC logging framework (JEP 271). Unified logging framework is a new initiative to introduce a common logging systems for all components of JVM (ompiler, gc, classload, metaspace, svc, jfr, …).

Continue reading “HOW TO ENABLE JAVA 9 GC LOGS?”

DISRUPTIVE CHANGES TO GC LOGGING IN JAVA 9. WHAT YOU NEED TO DO?

GC logs are vital artifacts to troubleshoot memory/CPU related problems and optimize applications performance. In Sep 2017, much-awaited java 9 got released. In Java 9, GC logging has been re-implemented using Unified GC logging framework (JEP 271). Some changes are surprising and some changes might be shocking.

Continue reading “DISRUPTIVE CHANGES TO GC LOGGING IN JAVA 9. WHAT YOU NEED TO DO?”

WHAT IS GARBAGE COLLECTION LOG? HOW TO ENABLE & ANALYZE?

Garbage collection has more profound impact on the application in contrary to what most engineers think. In order to optimize memory and garbage collection settings and to troubleshoot memory-related problems, one has to analyze Garbage Collection logs.

Continue reading “WHAT IS GARBAGE COLLECTION LOG? HOW TO ENABLE & ANALYZE?”

PROLIFERATION CAUSED BY JAVA UNIFIED GC LOGGING

As most of you know, GC logging is not standardized. GC log format varies by JVM vendor (Oracle, IBM, HP, Azul, …), Java version (1.4, 5, 6, 7, 8, 9), GC algorithm (Serial, Parallel, CMS, G1, Shenandoah) and GC system properties that you pass (-XX:+PrintGC, -XX:+PrintGCDetails, -XX:+PrintGCDateStamps, -XX:+PrintHeapAtGC …). Based on these permutations and combinations, already there are 40+ different GC log formats.

Continue reading “PROLIFERATION CAUSED BY JAVA UNIFIED GC LOGGING”

Powered by WordPress.com.

Up ↑