Is the hotspot JVM Bytecode Interpreter a tracing JIT?

 ̄綄美尐妖づ 提交于 2019-12-13 12:08:41

问题


The question pretty much says it all, I've been looking around for an answer even through the VM spec but I it doesn't explicitly state it.


回答1:


No.

There are some other JVMs with tracing JITs, though: HotPath and Maxine, for example.




回答2:


Aside: for those who don't know what a tracing JIT is, the following description comes from this page:

Although tracing JITs are a complex technology, the core concept is about optimizing execution of the hot paths in a program. The emphasis is specifically on hot paths that return to the start of a path which sounds very much like a loop. However, the traditional definition of a programming loop is only a subset of these hot paths. The broader definition includes code that spans methods and possibly even modules. This broader definition of a loop is what’s called a trace.




回答3:


Had to google what a "tracing JIT" was, but apparently it isn't.

> non-tracing JIT implementations (Sun’s Java VM

But it does optimise what you might call "hot spots".

How bytecode is optimised will not be part of the specification for the bytecode.




回答4:


It's not even a JIT actually, let alone a 'tracing JIT', whatever that might be.



来源:https://stackoverflow.com/questions/2744817/is-the-hotspot-jvm-bytecode-interpreter-a-tracing-jit

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!