Skip to content

Java Virtual Machine

Modifying a Zabbix Template for WildFly JVM Monitoring

Zabbix provides templates easy to setup which do not require any external scripts. As an example, you can check one of my previous blog post on the subject where I monitored a WildFly server. These one includes many items and several discovery rules, but one part is not covered by it: Java Virtual Machine. One can argue that you can… 

My JVM Memory Analyzes Toolkit

One of the most common errors while running an application is “out of memory”. And Java is no different besides errors being named exceptions. The exact exception name you might have encountered is: And, in most cases, it is related to Java heap. I will go through a few reminders on what Java heap is. How it works and how… 

Defining Custom Monitoring Metric in Zabbix

In this blog, we will see how to add custom monitoring metric into Zabbix and, more precisely, get Java Virtual Machine (JVM) garbage collector heap statics. jstat OpenJDK includes an interesting tool to monitor a JVM: jstat. Let’s see what we have when running it: I am providing two arguments. -gc to get garbage-collected heap statistics and the JVM PID.… 

Java Mission Control 5.2 (7u40) deserves your attention

Recently, some new versions of java were made available. Most people think Java updates are boring and only security-oriented. But one of the last updates (7u40) includes a feature which deserves attention. I mean Java Mission Control 5.2. Hotspot incoming If you know the Oracle JRockit JVM a little bit, you might have heard about JMC, which was called JRockit… 

Understanding JVM Java memory leaks

Lots of people think that Java is free of memory management as the JVM uses a Garbage Collector. The goal of this collector is to free objects that are no longer used in the program without the developer being forced to declare that the object can be collected. Everything is automatic. It’s really helpful and it avoids wasting time in… 

A comparison of Java Virtual Machines: Hotspot JVM vs JRockit JVM

You might know that there are many JVMs available today, but do you know the difference between them? In this blog I will not state all JVMs as it will take too much time 🙂 But I will talk about Hotspot and JRockit, because they are pretty used and because they will eventually merge in Java 8! That’s what they… 

Ceylon: a new language inspired from Java

On 26 February I went to the University of Bern with my colleague Arnaud Berbier to follow an introductory conference on Ceylon, a new language inspired from Java. Unfortunately not presented by Gavin King, the leading developer of Ceylon at Red Hat, the project still was well introduced by Stéphane Epardaud. He is a long-time open source user and contributor,…