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 Memory has following regions:
Continue reading “In which region intern strings are stored?”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?”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”Covid19 pandemic has already put a deep economic dent globally. US stock market has experienced the worst crash since 1987. Sooner or later, Enterprises have to figure out a plan to run their organizations on tight budgets. In this below 10 minute interview, our architect Ram Lakshmanan is sharing an effective way to cut down enterprise IT spending 20 – 30% without doing any lay-offs.
Continue reading “Surviving Covid19 – Effective way to cut-down IT spending”At the time (March 2020) of writing this article there are 600+ arguments that you can pass to JVM just around Garbage collection and memory. If you include other aspects, total JVM arguments count will easily cross 1000+. 😊. It’s way too many arguments for anyone to digest and comprehend. In this article, we are highlighting seven important JVM arguments that you may find it useful.
Continue reading “7 JVM arguments of Highly Effective Applications”Here are few Java Garbage Collection questions that may help in your next interview.
Continue reading “JAVA GARBAGE COLLECTION INTERVIEW QUESTIONS”