Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Performance techniques used in the Hotspot JVM

Excerpt

What code shapes does the JVM optimize best? Here is a list.

Knowing these optimizations may help language implementors generate bytecodes that run faster. Basic information about bytecodes

Tips for generating bytecode

Basic information is in Chapter 7 of the JVM Spec..

In the context of this contextdiscussion, "compiler" = "JIT", and usually more specifically refers to the server (or final tier) JIT.

...