News

This blog posting looks at how VisualVM can be used to generate and analyze a heap dump in a manner similar to that done with command-line tools jmap and jhat. The jmap (Java Memory Map ...
I don’t know anyone who likes investigating a Java heap dump. They can be massive — literally multiple gigs in size. They contain so much information that identifying the cause of a JVM memory leak ...
Java 7 introduced the @SafeVarargs annotation to address the heap pollution issue. This annotation asserts that the method does not perform potentially unsafe operations on its varargs parameter.
Whenever a new string variable or object is created, it is stored in computer memory. Memory is split into two high-level blocks, the stack and the heap. Java stores object values in heap memory; ...