0 votes
1 view
in Java by (3.4k points)

Are there any crucial differences between Oracle and OpenJDK?

For example, garbage collection and other JVM parameters the same?

Does GC work differently between the two?

1 Answer

0 votes
by (46.1k points)
  • There is no major difference between Oracle and OpenJDk. The OpenJDK project is mostly based on HotSpot source code donated by Sun and maintained by Oracle.

Here’s a link to an on Oracle blog.post

Q: What is the difference between the source code found in the OpenJDK repository, and the code you use to build the Oracle JDK?

A: It is very close - our build process for Oracle JDK releases builds on OpenJDK 7 by adding just a couple of pieces, like the deployment code, which includes Oracle's implementation of the Java Plugin and Java WebStart, as well as some closed source third-party components like a graphics rasterizer, some open source third party components, like Rhino, and a few bits and pieces here and there, like additional documentation or third-party fonts. Moving forward, we intend to open source all pieces of the Oracle JDK except those that we consider commercial features such as JRockit Mission Control (not yet available in Oracle JDK) and replace encumbered third-party components with open source alternatives to achieve closer parity between the code bases.

·         Yes, the garbage collection and other JVM parameters are same.

·         The performance of GC is same in both.

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...