Blog Archives

Java 9 : Convenience Factory Methods to create immutable Collections

                             In this article we will see another JDK 9 feature to create immutable collections. Till Java 8, If we want to create immutable collections we use

Tagged with: ,
Posted in Java

jshell: The Java Shell (Read-Eval-Print Loop)

                         In this article we will discuss about jshell(Java Shell) Java 9 feature. We can explore jShell with JDK 9 Early Access Release.  As of now the general availability of JDK9

Tagged with: , ,
Posted in Java

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 on 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

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

Tagged with: , ,
Posted in Java
DZone

DZone MVB

Java Code Geeks
Java Code Geeks