与OpenJDK相比,Oracle商业Hotspot JVM具有什么性能优势? [英] What performance benefits does Oracle's commercial Hotspot JVM have over OpenJDK?

查看:329
本文介绍了与OpenJDK相比,Oracle商业Hotspot JVM具有什么性能优势?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如该问题所述:

OpenJDK与Java HotspotVM

Oracle的商业Hotspot JVM本质上是OpenJDK,还有一些仅用于商业客户端的功能.

Oracle's commercial Hotspot JVM is essentially OpenJDK, plus several commercial-client-only features.

但是-这些额外的功能实际上是否仅在使用现成的硬件的情况下有助于提高单机和/或小型集群的性能?还是只与具有特定组织需求的大公司以及具有自定义硬件的大型系统有关?

But - do these extra features actually contribute to performance on single machines and/or small clusters, with consumer-off-the-shelf hardware only? Or are they only relevant to large corporations with certain organizational needs and huge systems with custom hardware?

我要特别问的是"Java Flight Recorder,应用程序类数据共享和协作内存管理"是链接到的问题中的主要商业功能.

I'm specifically asking about "Java Flight Recorder, Application Class Data Sharing and Cooperative Memory Management" mentioned as the main commercial features in the linked-to question.

推荐答案

同时,Java Flight Recorder和应用程序类数据共享已开源,并捐赠给了

Java Flight Recorder and Application Class Data Sharing have been open-sourced in the meantime, donated to the OpenJDK project.

Oracle计划开源所有仅商业用途的功能,或者如果没有人使用它们,则将其删除.马克·赖因霍尔德(Mark Reinhold)在几周前的JVM语言峰会上的这段视频中谈到了这一点. https://youtu. be/15s5xP5BRxk?t = 10m25s .他说:

Oracle plans to open-source all commercial-only features, or just remove them if nobody uses them. Mark Reinhold talks about this in this video from the JVM language summit just a few weeks ago https://youtu.be/15s5xP5BRxk?t=10m25s . He says:

为了创建一个公平的竞争环境,我们开放了[Apllication Class-Data Sharing,Java Flight Recorder,Java Mission Control,ZGC]的所有资源,现在这些都是开源的.还有一些微小的商业功能,我们要么开源,要么将其从商业产品中删除,因为事实证明,实际上并没有多少客户以任何方式使用它们.

In order to create a level playing field we've open-sourced all of [Apllication Class-Data Sharing, Java Flight Recorder, Java Mission Control, ZGC], these are now all open source. There's some remaining tiny, tiny commercial features that we will either open-source or we will just remove from the commercial offering because, well, it turns out not many customers are actually using them any way.

引用 Oracle.com博客:

因此,从Java 11开始, Oracle JDK 构建和 OpenJDK 构建将基本相同.

From Java 11 forward, therefore, Oracle JDK builds and OpenJDK builds will be essentially identical.

因此,如果这些商业功能中的任何一项带来了性能上的好处,您现在也可以通过使用OpenJDK来获得这种好处.

So if any of these commercial features gave any performance benefit, you can now get that benefit just by using OpenJDK as well.

这篇关于与OpenJDK相比,Oracle商业Hotspot JVM具有什么性能优势?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆