Mercurial > hg > graal-compiler
view test/runtime/6626217/from_loader2.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 | 495caa35b1b5 |
children |
line wrap: on
line source
// A simple class to extend an abstract class and get loaded with different // loaders. This class is loaded via LOADER2. public class from_loader2 implements IFace { public many_loader[] gen() { many_loader[] x = new many_loader[1]; x[0] = new many_loader(); return x; } }