All topics

Java

57 articles tagged Java.

Generating Thread Dumps

  • Concurrency
  • JBoss
  • JVM Internals

Thread dumps are the basic diagnostic tool for JVMs. Thread dumps present a partial state of each Java thread in a running JVM. I say partial because it doesn’t present all information that captures the state of a Java thread. The state of a running Java thread is stored in a series of data…

Read article: Generating Thread Dumps

My JVM ran out of memory! What objects are consuming all of the memory?

  • Garbage Collection
  • JBoss
  • JVM Internals

This article isn't a comprehensive JVM Java heap sizing and garbage collection tuning document; its goal is simply to outline options for identifying which type of Object(s) are consuming the majority of memory in a running JVM--troubleshooting memory leaks in the Java heap. As usual, I focus on…

Read article: My JVM ran out of memory! What objects are consuming all of the memory?

Troubleshooting Deadlock Conditions With Monitor Locks In Java Virtual Machines

  • Concurrency
  • JVM Internals
  • Performance Tuning

In this article, I wanted to present a brief tutorial regarding troubleshooting deadlock conditions in JVMs. Before one can troubleshoot a deadlock condition, one needs to understand what it is; to this end, I have written a simple Java program called DeadLock.java, which is guaranteed to very…

Read article: Troubleshooting Deadlock Conditions With Monitor Locks In Java Virtual Machines

The Definition of Reverse Engineering, JVMs, and the Java programming language

  • Reverse Engineering
  • Java

I recently had a conversation with a colleague that reminded me of a another discussion with my Masters Project advisor a couple of years ago when I was exploring research topics. The topic under discussion was Reverse Engineering --in particular, Software Reverse Engineering. It sounds really…

Read article: The Definition of Reverse Engineering, JVMs, and the Java programming language