4

Aside from Websphere, the Sun/Oracle JVM seems to be near-ubiquitous. Do people have much experience of other JVM implementations, such as that in OpenJDK or IBM's JVM?

Any pitfalls? Performance differences? Bugs?

1
  • OpenJDK is horrible... At least in performance... This is from experience on many Linux machines... It is noticeably slower, probably about 3-5x slower than Sun JVM... Try running a game on the OpenJDk such as pogo, wurm online, or Runescape and you'll see... If you need performance... Avoid OpenJDK...
    – anon235370
    Jul 8, 2010 at 12:51

4 Answers 4

2

I have used IBMs, it comes with WebSphere and works well. I have also used IBMs in the past (1.1), it used to be faster than Sun's. If you use Weblogic, you are using JRockit, which is also fast. There really is no difference that can be perceived.
For performance you would need to benchmark your app for the different JVMs. You can probably get better performance differences by running your code through a profiler.

0
2

I remember using the Microsoft JVM back in the days of Java 1.1. Trying to debug it in the Visual Studio of the day was a CPU crippling nightmare. Now that I have got that off my chest lets never talk about it again.

0

I've used the IBM JDK and JRE for two reasons. It's the one that drives all the IBM products (Websphere, Rational,et al) and the mainframe connectivity is so much better.

Other than that, I used to use the non-Sun JVM under Ubuntu at home but I've started using Sun's (or Oracle's now, I guess) for that now.

Personally (and this is opinion only), I'd prefer to use Sun's for stand-alone stuff. For stuff like Websphere, it's probably best to use the one that's delivered as part of the product.

0

The OpenJDK is the same code-base as the Sun/Oracle JDK (you might get slight differences in terms of release versions). The main difference is that the Sun JDK/JRE comes with fonts that are not bundled with the OpenJDK (probably because of the font licences).

I also did some benchmarks a while back for an application between the Sun JVM and the IBM JVM (1.4): the IBM JVM seemed to have a more aggressive method-inlining strategy, which gave it better performance results for this particular application (essentially, a relatively short computation in a loop over an array). As always, this type of results has to be taken with caution, since it will depend on the application.

1
  • I found OpenJDK to be 3-5x slower than sun jvm
    – anon235370
    Jul 8, 2010 at 12:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.