Jamaica goes OpenJDK

The last couple of days, my collegue Stefan Gabriel and myself worked hard to intergrate OpenJDK into Jamaica. We use all of the OpenJDK classes now, together with some pieces from IcedTea to fill the gaps. Then we ported/implemented some native pieces in java.io, java.util, java.security, sun.misc and sun.reflect (we don’t use java.lang from OpenJDK) and today we were able to run the first bunch of programs (e.g. the Jamaica builder) with the internal VM (the one that is used to bootstrap most of Jamaica). That was faster than I expected. Yay!

On the other side it was a strange feeling to rm -rf most the code that I spent so much time implementing. But I think in the long run this is the right decision, because it allows us (and I think other VM hackers agree) to focus more on innovation in VM technology rather than bug hunting in the class libraries. And it will take quite some time before we will let loose of all of the Classpath code. Especially in the areas of AWT and Swing I can’t see this until the encumbrances are solved, and some pluggability extensions are brought into OpenJDK (I’m thinking of font and image handling mainly, both of which seem quite hard-wired in OpenJDK).

About Roman Kennke
JVM Hacker, Principal Software Engineer at Red Hat's OpenJDK team, Shenandoah GC project lead, Java Champion

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: