diff src/share/vm/graal/graalCompiler.cpp @ 13353:0e5c4f9fa9a5

enabled non-hosted CompileTheWorld execution with complete bootstrapping and the ability to override compilation options separately for CTW compilations
author Doug Simon <doug.simon@oracle.com>
date Mon, 16 Dec 2013 23:33:40 +0100
parents 81055aacb98d
children 5c891b2983c5
line wrap: on
line diff
--- a/src/share/vm/graal/graalCompiler.cpp	Mon Dec 16 12:10:10 2013 -0800
+++ b/src/share/vm/graal/graalCompiler.cpp	Mon Dec 16 23:33:40 2013 +0100
@@ -115,6 +115,11 @@
         // Avoid -Xcomp and -Xbatch problems by turning on interpreter and background compilation for bootstrapping.
         FlagSetting a(UseInterpreter, true);
         FlagSetting b(BackgroundCompilation, true);
+#ifndef PRODUCT
+        // Turn off CompileTheWorld during bootstrap
+        // so that a complete bootstrap occurs
+        FlagSetting c(CompileTheWorld, false);
+#endif
         VMToCompiler::bootstrap();
       }