Answer the question
In order to leave comments, you need to log in
Is Oracle Java faster than OpenJDK?
Is Oracle Java faster than OpenJDK?
When using PyCharm on Linux Mint, I noticed a performance difference, but JetBrains warns against using OpenJDK, so this may not be indicative. And for server Java, the results may be somewhat different.
Answer the question
In order to leave comments, you need to log in
What do you mean by "Oracle Java" ? If the JVM from the former Sun is HotSpot, then there is practically no difference between OpenJDK and HotSpot. And the performance gain you noticed is most likely some kind of side effect.
If Jrockit, then the answer will be - "depends on". EMNIP, Oracle has always positioned jrockit as a JVM for its set of products - the entire Fusion Middleware stack, plus a rather interesting set of goodies for troubleshooting and performance tuning. But it was for separate money.
Are there any correct tests and benchmarks that show a clear advantage of one jdk over another - perhaps I have not seen it. In my experience, in production, HotSpot is used in most cases. I saw huge clusters on weblogs for large banking applications that used Jrockit. Plus, do not forget about jvm from IBM or even more exotic cases, such as jvm azul, but this is really exotic.
Anything can be here. In OpenJDK, a student uploads some cool feature to tell about it in Oracle and get into the team. But corporate culture and deep backwards compatibility prevent him from getting this feature in Java. Well, on the server there are also drawdowns in the database (reading, writing, changing), drawdowns in query writers, and so on.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question