Mercurial > hg > graal-compiler
view c1x4hotspotsrc/HotSpotTest/src/C1XTest.java @ 1423:760213a60e8b
* rewrite of the code installation
* partial support for safepoints
* macro-based CiTargetMethod interface
* code stub support
author | Lukas Stadler <lukas.stadler@oracle.com> |
---|---|
date | Mon, 16 Aug 2010 18:59:36 -0700 |
parents | |
children | efba53f86c4f |
line wrap: on
line source
import java.io.IOException; public class C1XTest { public static void main(String[] args) throws IOException { /* * new C1XCompiledTest.C(); System.out.println("--- instanceof A"); * System.out.println(new C1XCompiledTest().doCalc(10, 3, * C1XTest.class)); System.out.println("B instanceof A"); * System.out.println(new C1XCompiledTest().doCalc(10, 3, new * C1XCompiledTest.B())); System.out.println("A instanceof A"); * System.out.println(new C1XCompiledTest().doCalc(10, 3, new * C1XCompiledTest.A())); System.out.println("end"); */ new C1XCompiledTest.B(); System.out.println(new C1XCompiledTest().doCalc(10, 3, C1XTest.class)); /* * for (int l = 0; l < 4; l++) { try { System.out.println(new * C1XCompiledTest().doCalc(new int[l])); } catch (Throwable t) { * t.printStackTrace(); }} */ } }