diff c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/VMExitsNative.java @ 1462:1845386f5403

Full GC after bootstrap. Disable IRChecker by default. Disable compiled method logging by default.
author Thomas Wuerthinger <wuerthinger@ssw.jku.at>
date Sat, 13 Nov 2010 21:11:28 +0100
parents 8cfe3537a0d3
children 2c754f3a2722
line wrap: on
line diff
--- a/c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/VMExitsNative.java	Sat Nov 13 19:58:27 2010 +0100
+++ b/c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/VMExitsNative.java	Sat Nov 13 21:11:28 2010 +0100
@@ -37,6 +37,7 @@
  */
 public class VMExitsNative implements VMExits {
 
+    public static final boolean LogCompiledMethods = false;
     public static boolean compileMethods = true;
 
     /**
@@ -47,6 +48,7 @@
         C1XOptions.OptInlineExcept = false;
         C1XOptions.OptInlineSynchronized = false;
         C1XOptions.UseDeopt = false;
+        C1XOptions.IRChecking = false;
     }
 
     @Override
@@ -126,8 +128,10 @@
             Compiler compiler = Compiler.getInstance();
             HotSpotMethodResolved riMethod = new HotSpotMethodResolved(methodVmId, name);
             CiResult result = compiler.getCompiler().compileMethod(riMethod, -1, null);
-            String qualifiedName = CiUtil.toJavaName(riMethod.holder()) + "::" + riMethod.name();
-            compiledMethods.add(qualifiedName);
+            if (LogCompiledMethods) {
+                String qualifiedName = CiUtil.toJavaName(riMethod.holder()) + "::" + riMethod.name();
+                compiledMethods.add(qualifiedName);
+            }
 
             if (result.bailout() != null) {
                 StringWriter out = new StringWriter();