Differences between JVM implementations

前端 未结 8 1088
南旧
南旧 2020-12-13 04:52

Where do JVM Implementations differ (except licensing)? Does every JVM implement Type Erasure for the Generic handling?

Where are the differences between:

相关标签:
8条回答
  • 2020-12-13 05:47

    If the JVM claims to be Java it must pass the TCK, providing a lot of stock funcitonaltiy.

    The differences are in non-core places, like garbage collection, the jconsole/visualvm in the Sun JVM, precompilation etc.


    clarification: TCK is the test suite that a virtual machine has to pass in order to be officially Java compliant.

    0 讨论(0)
  • 2020-12-13 05:48

    Another difference between JVMs is behaviour on undocumented API. (e.g. com.sun.xxx) For example, Sun's JVM and IBM's JVM both have slightly different behaviour on signal handling. (IBM's JVM doesn't allow the application to trap the "INT" signal in certain cases.)

    0 讨论(0)
提交回复
热议问题