java实现?

标签 java

我一直在研究 shoootout alioth 基准 http://shootout.alioth.debian.org/ , 提到了两个不同的“java”,它们之间有什么区别?

(java xint 和 java 服务器)

我了解一点java(在暑期类(class)中学到的..只是基础知识)

只是好奇这个..

提前致谢..

最佳答案

Java 有多种实现(参见 OpenJDKApache Harmony 、Jikes 等),但您正在谈论的是: java serverjava 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/

相关文章:

java - 使用 Java 驱动程序运行准备好的 mongodb 查询

java - 如何在java程序中从网站获取HTML代码?

java - 独立的应用程序,用 Java 构建

允许您一次修改对象的 Java 模板化包装类

java - user.dir 在 Intellij IDEA 中没有正确解析

JAVA多线程、内存泄漏、垃圾收集器

java - 如何在draw2d图中垂直和水平居中标签?

java - Android 中的关闭 VM 和致命异常

java - 线程 "main"java.lang.NoClassDefFoundError : org/neo4j/function/Function 中出现异常

java - Android 的@hide 注解到底有什么作用?