comparison c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/VMExitsNative.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 a7a0ef3c6858
children 1b7acf75f900
comparison
equal deleted inserted replaced
1438:a7a0ef3c6858 1439:d0c8d3a2a7e8
108 } 108 }
109 109
110 try { 110 try {
111 Compiler compiler = Compiler.getInstance(); 111 Compiler compiler = Compiler.getInstance();
112 HotSpotMethodResolved riMethod = new HotSpotMethodResolved(methodVmId, name); 112 HotSpotMethodResolved riMethod = new HotSpotMethodResolved(methodVmId, name);
113 CiResult result = compiler.getCompiler().compileMethod(riMethod, null); 113 CiResult result = compiler.getCompiler().compileMethod(riMethod, -1, null);
114 114
115 if (result.bailout() != null) { 115 if (result.bailout() != null) {
116 StringWriter out = new StringWriter(); 116 StringWriter out = new StringWriter();
117 result.bailout().printStackTrace(new PrintWriter(out)); 117 result.bailout().printStackTrace(new PrintWriter(out));
118 Logger.info("Bailout:\n" + out.toString()); 118 Logger.info("Bailout:\n" + out.toString());