What you get is a distribution of OpenJDK, one of which is by Oracle. There’s also one by RedHat and by Eclipse and others.
You may be thinking of the Hotspot JVM and the answer is that Hotspot offers negligible difference and I’m not sure even exists for the later versions of Java.
If you use Oracle OpenJDK in production (past a specific patch point for some versions) to the best of my knowledge you are probably still on the hook for the licensing fees.
(They allow it in development in order to get you to use it in production at which point the lawyers pounce).
At my company we use RedHat OpenJDK on RedHat VMs and Eclipse Temurin OpenJDK in docker containers.
(Other JVMs include Graal (also owned by Oracle)).
> If you use Oracle OpenJDK in production to the best of my knowledge you are probably still on the hook for the licensing fees.
I'd be surprised by this but I guess that is par for the course.
> At my company we use RedHat OpenJDK on RedHat VMs and Eclipse Temurin OpenJDK in docker containers.
Thanks for clarifying -- do you find any differences that were important? Or is it more you've never needed the Oracle distribution so you never had reason to find out?
I'm just wondering why anyone would choose Oracle's distribution in this day and age. Who are their main customers that are happy to be customers?
Oracle JDK is the non-free version that shares the same code base as OpenJDK. Oracle provides a restricted licence for this build, under which it is free to use in certain cases, up until specific patches. Later patches (usually a few years after the initial release date) require a licence fee. This does not apply to Oracle OpenJDK, which is released under the GPL.
If you want to avoid HotSpot altogether, the other options include Graal (used with OpenJDK class libraries), IBM OpenJ9 and IKVM.NET.