Home » Tag Archives: Garbage Collection

Tag Archives: Garbage Collection

Which memory is faster Heap or ByteBuffer or Direct ?

java-logo

Java is becoming new C/C++ , it is extensively used in developing High Performance System. Good for millions of Java developer like me! In this blog i will share my experiment with different types of memory allocation that can be done in java and what type of benefit you get with that. Memory Allocation In Java What type of support ...

Read More »

GC Memory Visualizer Tutorial – Part1

java-logo

As you may have read from past articles, one of the key Java programmer skills to acquire is your ability to understand and assess the health of the JVM such as the Java heap memory footprint along with the garbage collection process. In order to achieve the above goals, all JVM vendors (Oracle, IBM…) provide, via the verbose:gc parameter, a ...

Read More »

Compact Off-Heap Structures/Tuples In Java

java-logo

In my last post I detailed the implications of the access patterns your code takes to main memory. Since then I’ve had a lot of questions about what can be done in Java to enable more predictable memory layout. There are patterns that can be applied using array backed structures which I will discuss in another post. This post will ...

Read More »

Tracking excessive garbage collection in Hotspot JVM

java-logo

Quite frequently due to memory leaks or other memory problems applications freeze leaving only the garbage collector (GC) process running unsuccessfully trying to free some space. This happens until watchdog (or frustrated administrator) restarts the application and the problem is never solved. The goal of this article is to show how to identify excessive GC and to get a heap ...

Read More »

Just in Time Compiler (JIT) in Hotspot

java-logo

The Just In Time Compiler (JIT) concept and more generally adaptive optimization is well known concept in many languages besides Java (.Net, Lua, JRuby). In order to explain what is JIT Compiler I want to start with a definition of compiler concept. According to wikipedia compiler is ‘ a computer program that transforms the source language into another computer language ...

Read More »

GC overhead limit exceeded – Java Heap analysis

java-logo

This post is the continuation of our original GC overhead limit exceeded problem patterns post. Proper Java Heap analysis is critical in order to eliminate your OutOfMemoryError: GC overhead problem. If you are not familiar with this Java HotSpot 1.6 error, I recommend that you first review my First Article on this subject. This article will provide you with a ...

Read More »

JVM: How to analyze Thread Dump

java-logo

This article will teach you how to analyze a JVM Thread Dump and pinpoint the root cause of your problem(s). From my perspective, Thread Dump analysis is the most important skillset to master for any individual involved in Java EE production support. The amount of information that you can derive from Thread Dump snapshots is often much beyond than what ...

Read More »

Practical Garbage Collection, part 1 – Introduction

java-logo

This is the first part of a series of blog posts I intend to write, whose aim will be to explain how garbage collection works in the real world (in particular, with the JVM). I will cover some theory that I believe is necessary to understand garbage collection enough for practical purposes, but will keep it to a minimum. The ...

Read More »
Do you want to know how to develop your skillset and become a ...

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!
Get ready to Rock!
To download the books, please verify your email address by following the instructions found on the email we just sent you.

THANK YOU!

Close