JITWatch by Example

From WikiEducator
Jump to: navigation, search


JITWatch by Example
Convenor: Chris Newland
Participants:
  • Chris Newland
  • Martin Thompson
  • Kirk Pepperdine
  • Chris Englebert
  • Marcus Lagergren
  • Marcus Hirt
  • Jean-Philipe BEMPEL
  • Maurice Naftalin
  • Zoran Severac
  • Rob Austin
Summary:

JITWatch live coding session.

Discussion and examples of:

  • Escape Analysis
  • heap elimination
  • lock elision and coarsening
  • inlining.

Links

I recommend running them in the JITWatch sandbox.

Recommendations:

Determine the limitations of heap elimination by asking questions on hotspot-compiler-dev or inspecting OpenJDK source. Write up as a blog post on writing heap-elimination-friendly code.