简体   繁体   English

当我将Java用于Linux或Windows PC时。 它使用哪个JVM? 是j9还是JamVM或Squeak?

[英]When i use Java for my Linux or Windows PC. Which JVM it use? Is it j9 or JamVM or Squeak?

When i use Java, in my Linux box generally i install OpenJDK using package manager. 当我使用Java时,通常在Linux操作系统中,我使用软件包管理器安装OpenJDK。 And for Windows i use Sun official downloads. 对于Windows,我使用Sun官方下载。

But i am not sure which JVM exactly it use? 但是我不确定它到底使用哪个JVM? (For some memory issues). (对于某些内存问题)。 Does it use 是否使用

  • j9 for Sun default JVM? j9 for Sun默认JVM?
  • or it use JamVM 还是使用JamVM
  • or it use Squeak? 还是使用Squeak?

What does it use when i use OpenJDK under linux and the default Sun download under Windows? 当我在Linux下使用OpenJDK并在Windows下使用默认的Sun下载时,它有什么用? Does all JVM available for 8bit to 64bit platforms (open source to use them or commercial)? 所有JVM是否都可用于8位到64位平台(使用它们的开放源代码或商业版本)?

The answer is d) none of the above. 答案是d)以上都不是。

Both the official Java packages, and OpenJDK use Sun / Oracle's "official" JVM, which I believe is called HotSpot . 官方Java软件包和OpenJDK都使用Sun / Oracle的“官方” JVM,我认为它称为HotSpot This is not J9, that's IBM's implementation, which you're unlikely to use on a typical Windows or Linux box. 不是 J9, 而是 IBM的实现,您不太可能在典型的Windows或Linux机器上使用它。 I've never heard of JamVM ; 我从未听说过JamVM the only Squeak I know of is a Smalltalk implementation, which has nothing to do with Java. 我知道的唯一的Squeak是Smalltalk实现,它与Java无关。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM