我一直在研究 shoootout alioth 基准 http://shootout.alioth.debian.org/ , 提到了两个不同的“java”,它们之间有什么区别?
(java xint 和 java 服务器)
我了解一点java(在暑期类(class)中学到的..只是基础知识)
只是好奇这个..
提前致谢..
最佳答案
Java 有多种实现(参见 OpenJDK 、 Apache Harmony 、Jikes 等),但您正在谈论的是: java server
和 java xint
不是单独的 Java 版本。 -Xint
和 -server
是两个不同的命令行参数,您可以传递给 java
运行时。
这是-Xint
-Xint
Operate in interpreted-only mode. Compilation to native code is disabled, and all bytecodes are executed by the interpreter. The performance benefits offered by the Java HotSpot Client VM's adaptive compiler will not be present in this mode.
这里'-server
参数:
-server
Select the Java HotSpot Server VM. On a 64-bit capable jdk only the Java HotSpot Server VM is supported so the -server option is implicit. This is subject to change in a future release.
For default VM selection, see Server-Class Machine Detection
关于java实现?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5294064/