Skip to main content

Kelly Thomas O'Hair

Kelly O'Hair is working in multiple areas of the JDK but primarily in improving Build and Quality issues.


kellyohair's blog

Late JavaOne 2006 Trip Report

Posted by kellyohair on June 6, 2006 at 2:11 PM PDT

Started this right after JavaOne, then got distracted... hopefully someone gets something useful out of it.
Go to

for the complete scoop on JavaOne 2006.

What a week, I'm tired, my feet hurt, and I think I have a headache from the after dark speaker system.

The Bloody Bat and Fixing Regressions

Posted by kellyohair on February 1, 2006 at 2:52 PM PST

<br /> The Bloody Bat and Fixing Regressions<br />


First I'm going to tell a little story about the bloody bat, then
I'll explain what it has to do with Regressions in the JDK
(if you haven't heard about the Mustang JDK Regression Challenge,
go to

JNI How To

Posted by kellyohair on January 31, 2006 at 10:49 AM PST

I just saw the page

It has some good detail on using JNI on Linux.

Compilation of JNI Code

Posted by kellyohair on January 9, 2006 at 7:23 PM PST

I've added a few clarifying comments in italics below.

Using the JavaTM Native Interface (JNI) is not something many Java programmers have to deal with, but when you do, you need to know something about native applications.

Needing a New Heap Dump Format

Posted by kellyohair on November 11, 2005 at 2:54 PM PST

I spent quite a bit of time working on

in the
JDK 5 (Tiger) release,
converting it from

But I also spent a great deal of time making sure the new code

Building the JDK 6.0 on Windows XP

Posted by kellyohair on October 12, 2005 at 1:14 PM PDT

In my blog at blogs.sun I talked about

building the JDK 6.0

but I must confess, most of the effort is in just getting your
machine setup, that alone should put you up for a JDK medal of honor.
Once a Windows XP machine has the C++ compiler installed and cygwin installed, the rest is fairly easy.
Of course that's easy

Heap Dump Snapshots

Posted by kellyohair on September 30, 2005 at 12:41 PM PDT

Alan recently blogged about

heap dumps are back

and Sundar blogged about

These all use the old and historic


binary heap dum

VM Agents and JVM TI

Posted by kellyohair on August 23, 2005 at 9:19 PM PDT


JDK 5.0 (Tiger)


JDK 6.0 (Mustang)

binary images include the source and binaries of quite a few

Java Virtual Machine Tool Interface (JVM TI)

agents (native libraries) in the demo/jvmti directory.

Bytecode Instrumentation (BCI)

Posted by kellyohair on May 13, 2005 at 12:09 PM PDT

When I was given the assignment of converting the old JDK 1.4.2 HPROF agent library from the experimental JVMPI to the new "JVM TI" in JDK 5.0, it was with the understanding that this new HPROF profiler needed to do bytecode instrumentation (or sometimes called "bytecode injection" or "bytecode insertion") to capture method entry, method exit, object allocation, and object free events.