GC Roots in Java: How to Use Them in Memory Analysis

Memory Analyzer Reports contain various sections such as Overview, Dominator Tree, Class Histogram, Threads, Duplicate Classes, Unreachable Objects, System Properties, OQL... In this post, let's learn about the GC Roots section. What information is present in this GC Roots? What patterns should you look for in GC Roots? What actions can you take directly from... Continue Reading →

String Deduplication in Java

In this article, we’ll learn how to improve the performance of the applications that tend to use most of the space due to extensive usage of Strings. There’s no need to store more than one instance of immutable objects in our heap, and String is a good example. Object Allocation Let’s briefly refresh the information... Continue Reading →

DevopsCon 2023 – 16 ARTIFACTS TO CAPTURE WHEN YOUR CONTAINER APPLICATION IS IN TROUBLE

DevopsCon is the the Global Conference Series for DevOps & Business Transformation held in Berlin. Our architect was invited to give a talk on the topic “16 ARTIFACTS TO CAPTURE WHEN YOUR CONTAINER APPLICATION IS IN TROUBLE”. Troubleshooting the container application’s performance is tricky, if proper diagnostic information isn’t captured. In this session, 16 essential... Continue Reading →

In which region intern strings are stored?

intern() is an interesting function in java.lang.String object. intern() function eliminates duplicate string objects from the application and has potential to reduce overall memory consumption of your application. To understand how string intern() function works you may refer to this interesting blog. Intern strings are stored in a string pool in the JVM memory. JVM... Continue Reading →

What is GC Log, thread dump and Heapdump?

Java Virtual Machine (JVM) generates 3 critical artifacts that are useful for optimizing the performance and troubleshooting production problems. Those artifacts are: a) Garbage collection (GC) logb) Thread dumpc) Heap dump In this PDF document, we have discussed the difference between these 3 artifacts: Where to use them? How does it look? How to capture... Continue Reading →

Up ↑