Home » Tag Archives: JVM (page 2)

Tag Archives: JVM

Using jstat to report custom JVM metric sets

java-logo

I’ve always been missing possibility to configure custom headers in JStat. Of course there are a lot of predefined data sets, but it’ll be nicer if we could create our own data set. And as you probably already devised I’m writing this post because such functionality is of course available :) Unfortunately I haven’t found it in any documentation so ...

Read More »

Minor GC vs Major GC vs Full GC

java-logo

While working with the GC pause detection functionality in Plumbr I was forced to work my way through loads of articles, books and presentations about the subject. Throughout the journey, I was repeatedly confused about the (mis)use of the Minor, Major and Full GC events. This led to this blog post where I hope I manage to clear some of ...

Read More »

JVM Pressure – Context Switching Overhead

software-development-2-logo

Context Switching (CS) is a valuable service provided by the underlying Operating System. It prevents greedy processes from CPU hogging, time-shares CPU between multiple threads/tasks/processes to create an illusion of continuous progress. However, the suspension of the first process and scheduling of the second one requires the kernel to store the state of the first process and load the state ...

Read More »

Byteman – a swiss army knife for byte code manipulation

java-logo

I am working with a bunch of communities in JBoss and there is so much interesting stuff to talk about, that I can’t wrap my head around every little bit myself. This is the main reason why I am very thankful to have the opportunity to welcome guest bloggers here from time to time. Today it is Jochen Mader, who  is ...

Read More »

How JVMTI tagging can affect GC pauses

java-logo

This post is analyzing why and how Plumbr Agents extended the length of GC pauses on certain occasions. Troubleshooting the underlying problem revealed interesting insights about how JVMTI tagging is handled during GC pauses. Spotting a problem One of our customers complained about the application being significantly less responsive with the Plumbr Agent attached. Upon analyzing the GC logs, we found an ...

Read More »

Java Flight Recorder (JFR)

java-logo

JFR is a Java profiler which will allow you to investigate the runtime characteristics of your code. Typically you will use a profiler to determine which parts of your code are causing  large amounts of memory allocation or causing excess CPU to be consumed. There are plenty of products out there.  In the past I’ve used YourKit, OptimizeIt, JProfiler, NetBeans ...

Read More »

JVM is down with “OutOfMemory” error – what should I do?

java-logo

Amazing as it may seem, but this particular cry “From the Depths” is frequently displayed among the results of search requests regarding JVM settings. You have probably been faced with the “I remember that option, but how to enable it” problem, while administrating servers or adjusting virtual appliances at times (semi-annualy, for example) and apart from your main tasks. There ...

Read More »

Starting multiple JBoss A-MQ JVMs on the same machine

java-interview-questions-answers

So I haven’t been blogging as much recently — just been really busy. But my New Year’s resolution is to blog a little more sharing some things I come across frequently, even if it’s simple stuff that might help some people out. So for this entry, I’ll show a quick way to start up multiple JBoss A-MQ instances on a ...

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