Anti-Optimizations

From JVMLangSummit
Revision as of 09:20, 17 September 2009 by Penni (talk | contribs)
Jump to navigationJump to search

Anti-Optimizations

Frederik Öhrström, Oracle

Project
Blog
Slides
File:File.pdf

Abstract

Who should be doing these fancy optimizations anyway? — Fredrik Öhrström

JRuby, Jython, etc., transform a source language to bytecodes for the JVM. What kind of optimizations should they do (or not do) before handing the bytecode to the JVM? I will present a few anti-optimizations on bytecode to demonstrate what the JVM can handle and what it cannot handle. It will be visualized using JRockit with a peep hole into the JRockit optimizer.

Background

Current Status

Future

Key Issues for Discussion

(please expand cooperatively)