GraalVM和Jvm-Hotspot之间的区别

时间:2018-07-24 03:17:04

标签: java jvm-hotspot graalvm

有人可以解释GraalVM和Jvm-Hotspot之间的区别,以及GraalVM与OpenJDK的HotSpot有何关联。

3 个答案:

答案 0 :(得分:2)

在这种情况下,您可以将GraalVM视为经过修改/改进的HotSpot JVM [非常宽松:OpenJDK的HotSpot + Graal JIT编译器(从HotSpot取代了它)和运行其他语言(JS,Ruby,R, Python等)+能够AOT编译Java  +其他捆绑工具等]

答案 1 :(得分:2)

答案 2 :(得分:1)

GraalVM is a JVM with multiple change:

  • the graal compiler. It is intended to replace the C2 compiler (server mode) in front of HotSpot.
  • Truffle a library that you can implements to make JVM polyglot ( there already a number of language that are supported like js, R, Ruby...)

The graal project also have a Substrate VM which is a framework to build native artifact from Java.