diff c1x4hotspotsrc/HotSpotTest/src/C1XTest.java @ 1439:d0c8d3a2a7e8

Modified domake script to use (and require) JRE7 environment variable for find the base of a JRE 7 installation. This script no also ensures that $JRE7/lib/amd64/jvm.cfg has the right value for '-client'. Added c1x4hotspotsrc/hotspot/java as indirect launcher for $JRE7/bin/java that can be referenced from Eclipse launch configuration. Copied .checkstyle_checks.xml from C1X project to c1x4hotspotsrc/HotSpotVM so that it can be used by HotSpotVM project without hard coded path to C1X in another Eclipse workspace. Various other changes to reflect changes in CRI and C1X.
author Doug Simon <doug.simon@oracle.com>
date Fri, 29 Oct 2010 18:14:17 +0200
parents 20a3896518ac
children
line wrap: on
line diff
--- a/c1x4hotspotsrc/HotSpotTest/src/C1XTest.java	Mon Oct 25 18:35:34 2010 +0200
+++ b/c1x4hotspotsrc/HotSpotTest/src/C1XTest.java	Fri Oct 29 18:14:17 2010 +0200
@@ -1,4 +1,4 @@
-import java.io.IOException;
+import java.io.*;
 
 public class C1XTest {
 
@@ -25,6 +25,18 @@
 		}
 		System.out.println("exit");
 	}
+	
+	public static void main2(String[] args) {
+//		Other.I[] array = new Other.I[] { new Other.A(), new Other.B(),
+//				new Other.C(), new Other.A(), new Other.B(), new Other.C() };
+//
+//		int sum = 0;
+//		for (int i = 0; i < 20; i++)
+//			for (Other.I o : array) {
+//				sum += o.v();
+//			}
+//		System.out.println(sum);
+	}
 
 	public static void main(String[] args) throws IOException, Exception {
 		for (int i = 0; i < 10000; i++) {