File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes OpenJDK vs OracleJDK Performance Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "OpenJDK vs OracleJDK Performance" Watch "OpenJDK vs OracleJDK Performance" New topic
Forums: Java in General Performance
Author

OpenJDK vs OracleJDK Performance

James Willson
Greenhorn

Joined: May 11, 2013
Posts: 3
I am having a headache installing Java. I have an automated deployment script which installs the software and needs to be run to reinstall the server regularly in the cloud. I am so stuck on which route to go down because the peformance of OpenJDK seems inferior but it is the only one I can easily automatically installed.

So my question is, am I right to be concerned about the performance of OpenJDK? I am using this for a SOLR search server.

OpenJDK7
- Easy to automate install
- Fairly fast
- Fairly stable

Sun JDK6
- Easy to automate install
- Fairly fast
- Fairly stable

Oracle JDK7
- Nearly impossible to automate install
- Fast
- Stable

References
A. OpenGeo : GeoServer in Production
B. OpenJDK7 vs. Oracle JDK7 with Geoserver | Geodan Research
C. Clojure on Raspberry Pi: OpenJDK vs Oracle JRE (Java 8 armhf beta) benchmark - Max Gonzih
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38519
    
  23
Don’t know. Stories about slow performance in Java sometimes turn out to be fairy tales, or irrelevancies.
Do you need JDK7 features? I do not know how long Oracle/Sun JDK6 will remain available for.

But I do know this is too difficult a question for this forum, so I shall move it. Maybe to two places.

And welcome to the Ranch
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38519
    
  23
And are you running Java on a PC or an ARM chip?
James Willson
Greenhorn

Joined: May 11, 2013
Posts: 3
I'm running it on a linux box, not sure about the hardware, around 1gb ram. I've heard lots of stories about OpenJDK performing poorly but that is for graphic applications and was done several years ago.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38519
    
  23
You should be able to find the type of chip easily. Open the GNOME system monitor and look at the “system” tab. That should have the type of the chip on. There is bound to be an analogous way to find that information if you don't use GNOME.
James Willson
Greenhorn

Joined: May 11, 2013
Posts: 3
Hi.

I host on linode and apparently I have a virtual server on there. Apparently the CPU is Sandy Bridge E5-2670. Here is more information about the hardware, does this help or give any clarity?

https://blog.linode.com/2013/03/18/linode-nextgen-the-hardware/
jake lopez
Greenhorn

Joined: Jul 03, 2013
Posts: 13
I use Sun JDK6
 
Don't get me started about those stupid light bulbs.
 
subject: OpenJDK vs OracleJDK Performance