Yearly Archives: 2016

Byteman – Byte code manipulation tool for Logging, Testing and Fault Injection

Byteman is a byte code manipulation tool for fault injection, testing and tracing. The Byteman agent allows to inject the rules into the existing java application with out changing the source code. You can inject the rules during the JVM

Tagged with: ,
Posted in Java

Memory Analysis – How to obtain Java Heap Dump?

In this article, we will see how to obtain the Java Heap Dump to troubleshoot the memory issues like memory leak and high usage of memory. There are different options available to obtain the Heap Dump. The options will vary

Tagged with: , , ,
Posted in Java, Performance

Enabling and Analysing the Garbage Collection log

In the last article, we discussed the Garbage Collection process. In this article, we will learn how to enable the garbage collection log and see what insights we will get from the GC log to tune the JVM. As a

Tagged with: , , , , ,
Posted in Java, Performance

Understanding The Java Memory Model and The Garbage Collection

In this article, we will try to understand the Java memory model and how the garbage collection works. In this article, I have used JDK8 Oracle Hot Spot 64 bit JVM. First, let me depict the different memory areas available

Tagged with: , , ,
Posted in Java, Performance

Hadlebars.java – How to use it as Server side Template Engine?

               handlebars.java is a server-side Java template engine like velocity, freemaker, etc. It follows the syntax of Mustache spec. The main goal of handlebar.java is to reuse the same templates at client side and

Tagged with: , ,
Posted in Java

Java 8 StringJoiner – Old Wine With a New Bottle

Ultimately Java 8 is shipped with StringJoiner class under java.util package. I don’t think it is a very different implementation to join the strings compared to our old school approach by using StringBuffer/StringBuilder. We will see the usage of the

Tagged with: ,
Posted in Java

Jdeps – Java class dependency analyzer

In Java 8 we got a new command line tool called jdeps to know the Java dependencies. It is a nice tool to do static analysis and find out the .class/jar dependencies. For example, I have a class and wanted to

Tagged with:
Posted in Java
DZone

DZone MVB

Java Code Geeks
Java Code Geeks