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?”Enabling GC logging provides great benefits such as: reducing overall application response time, troubleshooting memory problems, forecast outages, and doing effective capacity planning… Contrary to common thinking, enabling GC logging doesn’t add any noticeable overhead to your application. Thus, we strongly recommend you enable GC logging on all your production servers.
Continue reading “WHAT IS GARBAGE COLLECTION LOG? HOW TO ENABLE & ANALYZE?”Time taken by every single GC event is reported in the GC log. In every GC event, there are ‘user’, ‘sys’, and ‘real’ time. Continue reading “REAL TIME IS GREATER THAN USER AND SYS TIME”