Search

GC easy – Universal Java GC Log Analyser

Author

Ram Lakshmanan

artist + rebel + engineer.

What is Java Heap Fragmentation?

Java Heap fragmentation is an interesting problem, which triggers long pausing full garbage collection cycles. In this article we would like to attempt to explain the heap fragmentation. 

Let’s say developer write a code ‘new BMW()’. This will create a new BMW object in the heap memory space. Example:

Continue reading “What is Java Heap Fragmentation?”

Avoid passing – XX:+UseCompressedOops

Since we are analyzing thousands of Garbage Collection logs every single day through our GCeasy tool, we are noticing several java applications still continuing to use ‘-XX:+UseCompressedOops’ JVM argument. Actually, it’s not required to pass ‘-XX:+UseCompressedOops’ JVM argument if you are running in Java SE 6 update 23 and later. Compressed oops is supported and enabled by default in Java SE 6u23 and later versions.

Continue reading “Avoid passing – XX:+UseCompressedOops”

Advantages of setting -Xms and -Xmx to same value

Coming soon…

GC allocation stall

Coming soon…

All you need to know about System.gc()

In this article, we have attempted to answer most common questions around System.gc() API call. We hope it may be of help.

Continue reading “All you need to know about System.gc()”

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”

UseStringDeduplication

UseStringDeduplication – pros and cons

Let me start this article with an interesting statistic (based on the research conducted by the JDK development team): Continue reading “UseStringDeduplication”

WHY GARBAGE COLLECTION MIGHT BE MORE IMPORTANT THAN YOU THINK?

I have heard from few of my developer friends saying: “Garbage Collection is Automatic. So, I don’t have to worry about it.Continue reading “WHY GARBAGE COLLECTION MIGHT BE MORE IMPORTANT THAN YOU THINK?”

GC LOG STANDARDIZATION API

Based on the JVM version (1.4, 5, 6, 7, 8, 9), JVM vendor (Oracle, IBM, HP, Azul, Android), GC algorithm (Serial, Parallel, CMS, G1, Shenandoah) and few other settings, GC log format changes. Thus, today the world has ended up with several GC log formats.

Continue reading “GC LOG STANDARDIZATION API”

Powered by WordPress.com.

Up ↑