Mercurial > hg > graal-compiler
view test/runtime/6929067/T.java @ 4839:b4ebad3520bb
7133038: G1: Some small profile based optimizations
Summary: Some minor profile based optimizations. Reduce the number of branches and branch mispredicts by removing some virtual calls, through closure specalization, and refactoring some conditional statements.
Reviewed-by: brutisso, tonyp
author | johnc |
---|---|
date | Thu, 26 Jan 2012 14:14:55 -0800 |
parents | 3b3d12e645e7 |
children |
line wrap: on
line source
public class T { public static boolean foo(boolean bar) { return bar; } public static void printIt() { System.out.println("Hello"); } }