AdoptOpenJDK 不是使用 OpenJDK(的 JVM)吗?
Isn't AdoptOpenJDK using (the JVM of) OpenJDK?
AdoptOpenJDK 项目似乎提供了与 HotSpot JVM 捆绑在一起的 JDK(作为一种可能的选择)。但是它和OpenJDK有什么关系呢?
我明白了. Here I am referring to (quoted from Wikipedia)
a free and open-source implementation of the Java Platform, Standard Edition (Java SE).
我认为它已经包含一个 JVM。
更新: AdoptOpenJDK 已更名为 Adoptium,作为其 move to the Eclipse Foundation.
OpenJDK 为 Java Platform as defined in the Java Specifications, JSRs, and JEP 的完整实现提供了完整的源代码。 Java 平台的实现包括很多东西,其中包括:
- Java programming language compiler to create
.class
Java bytecode 个文件,来自您的 .java
个源代码文件。
- 一个Java Virtual Machine (JVM) that can, at runtime, interpret and/or compile those Java bytecode files, turning them into executable code that can run on the host computer’s cores using the native instruction set of that CPU.
- 连接 Java 应用程序与主机资源的运行时环境,例如 file system and network facility。
- 一组必需的 Java class 库 (java.util, java.time, 等等).
Java 的实现可以选择提供 Just-In-Time (JIT) compiler/optimizer as part of the JVM. The OpenJDK project includes source code for the HotSpot JIT。
为 Java 平台提供构建或安装程序的人可以免费使用 HotSpot 或选择其他 JIT 编译器技术。 OpenJ9 in one such alternative JIT, developed at IBM, now open-sourced through the Eclipse Foundation, and provided free-of-charge. In the past, another alternative JIT was JRockit,归 Oracle 所有。 JRockit 的部分内容已合并到当前版本的 HotSpot 中。
AdoptOpenJDK 项目让您可以选择 Oracle 通过 OpenJDK 项目提供的 HotSpot 引擎或替代 OpenJ9 由 Eclipse 基金会提供的引擎。
无论选择哪种方式,您都可以从 OpenJDK 代码库中获得相同的 class 库,包括来自 OpenJDK 的 Mission Control and Flight Recorder 在内的相同工具,以及来自 OpenJDK 的相同实用程序。选择HotSpot还是OpenJ9只是JIT/JVM不同
AdoptOpenJDK 只是作为 binaries/installers 提供 Java 技术发行版的几家供应商之一。其中大部分(如果不是全部)主要基于 OpenJDK 项目的源代码版本。这是向您展示各个供应商的流程图。
这里列出了选择供应商时要考虑的可能动机。
AdoptOpenJDK 项目似乎提供了与 HotSpot JVM 捆绑在一起的 JDK(作为一种可能的选择)。但是它和OpenJDK有什么关系呢?
我明白了
a free and open-source implementation of the Java Platform, Standard Edition (Java SE).
我认为它已经包含一个 JVM。
更新: AdoptOpenJDK 已更名为 Adoptium,作为其 move to the Eclipse Foundation.
OpenJDK 为 Java Platform as defined in the Java Specifications, JSRs, and JEP 的完整实现提供了完整的源代码。 Java 平台的实现包括很多东西,其中包括:
- Java programming language compiler to create
.class
Java bytecode 个文件,来自您的.java
个源代码文件。 - 一个Java Virtual Machine (JVM) that can, at runtime, interpret and/or compile those Java bytecode files, turning them into executable code that can run on the host computer’s cores using the native instruction set of that CPU.
- 连接 Java 应用程序与主机资源的运行时环境,例如 file system and network facility。
- 一组必需的 Java class 库 (java.util, java.time, 等等).
Java 的实现可以选择提供 Just-In-Time (JIT) compiler/optimizer as part of the JVM. The OpenJDK project includes source code for the HotSpot JIT。
为 Java 平台提供构建或安装程序的人可以免费使用 HotSpot 或选择其他 JIT 编译器技术。 OpenJ9 in one such alternative JIT, developed at IBM, now open-sourced through the Eclipse Foundation, and provided free-of-charge. In the past, another alternative JIT was JRockit,归 Oracle 所有。 JRockit 的部分内容已合并到当前版本的 HotSpot 中。
AdoptOpenJDK 项目让您可以选择 Oracle 通过 OpenJDK 项目提供的 HotSpot 引擎或替代 OpenJ9 由 Eclipse 基金会提供的引擎。
无论选择哪种方式,您都可以从 OpenJDK 代码库中获得相同的 class 库,包括来自 OpenJDK 的 Mission Control and Flight Recorder 在内的相同工具,以及来自 OpenJDK 的相同实用程序。选择HotSpot还是OpenJ9只是JIT/JVM不同
AdoptOpenJDK 只是作为 binaries/installers 提供 Java 技术发行版的几家供应商之一。其中大部分(如果不是全部)主要基于 OpenJDK 项目的源代码版本。这是向您展示各个供应商的流程图。
这里列出了选择供应商时要考虑的可能动机。