Search

GC easy – Universal Java GC Log Analyser

Tag

JVM

Java String intern(): Interesting Q & A

The intern() function in Java's String class optimizes memory usage by managing a pool of string objects in the JVM. When invoked, it checks for existing strings, reusing them if present to eliminate duplicates. While beneficial for memory efficiency, using intern() can negatively impact application response time compared to other methods like string deduplication.

Benefits of setting initial and maximum memory size to the same value

This post discusses the advantages of setting the initial heap size equal to the maximum heap size for Java applications running on JVM. It highlights benefits like improved application availability, enhanced performance, reduced startup time, and unchanged computing costs. The article argues that this practice is particularly beneficial for enterprise applications.

Major Outages in Major Enterprises

The JAX online conference brings together Java and software architecture enthusiasts for global knowledge exchange. This year's session features an architect discussing "Major Outages in Major Enterprises," analyzing artifacts from significant outages. Attendees will learn to troubleshoot various performance issues, enhancing their problem-solving skills. Slides from the presentation are available.

JVM Internals in 1 slide

JAX - Online conference brings together Java and software architecture enthusiasts, featuring global speakers. This year, an architect conducted a webinar titled "JVM Internals in 1 slide," covering JVM fundamentals in a single slide. Attendees learned to understand, troubleshoot, tune, and optimize JVM effectively, enhancing their technical expertise in the process.

Video Blog: 7 JVM Arguments of Highly effective applications

The content outlines four video parts explaining key JVM arguments that enhance Java/Scala/Jython application performance, focusing specifically on garbage collection and memory management. Key topics include maximum heap size, thread stack size, garbage collection algorithms, logging, timeout settings, and handling OutOfMemoryError.

Health Check Status Page

The health check status page provides detailed diagnostic information in JSON format for the application and JVM instance. Key sections include memory usage, operating system details, class loading statistics, compilation data, threading metrics, memory pool usage, storage info, SAML details for SSO, and system properties. Access via a specified URL.

jstat – Analysis

jstat is a simple utility tool, that is present in JDK to provide JVM performance-related statistics like garbage collection, compilation activities.

Allocation Stalls in Java ZGC: Causes and Solutions

An Allocation Stall in concurrent Garbage Collection happens when an application creates objects faster than the system can free up memory, causing a brief pause in object creation. This can be caused by slow memory cleanup, high object creation rates, or fragmented memory. Solutions include adjusting heap size, increasing the number of cleanup threads, and improving memory use.

 How to Capture a Java Heap Dump? (JMAP & OOM Error)

Heap dump is a snapshot of the Java memory. It contains information about the Java objects and classes in the heap at the moment the snapshot is triggered. It’s vital artifact to diagnose any Java memory related problems.

Up ↑