Mercurial > hg > graal-jvmci-8
comparison 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 |
comparison
equal
deleted
inserted
replaced
13352:cd22c6bb4a35 | 13353:0e5c4f9fa9a5 |
---|---|
113 CompilationPolicy::completed_vm_startup(); | 113 CompilationPolicy::completed_vm_startup(); |
114 if (bootstrap) { | 114 if (bootstrap) { |
115 // Avoid -Xcomp and -Xbatch problems by turning on interpreter and background compilation for bootstrapping. | 115 // Avoid -Xcomp and -Xbatch problems by turning on interpreter and background compilation for bootstrapping. |
116 FlagSetting a(UseInterpreter, true); | 116 FlagSetting a(UseInterpreter, true); |
117 FlagSetting b(BackgroundCompilation, true); | 117 FlagSetting b(BackgroundCompilation, true); |
118 #ifndef PRODUCT | |
119 // Turn off CompileTheWorld during bootstrap | |
120 // so that a complete bootstrap occurs | |
121 FlagSetting c(CompileTheWorld, false); | |
122 #endif | |
118 VMToCompiler::bootstrap(); | 123 VMToCompiler::bootstrap(); |
119 } | 124 } |
120 | 125 |
121 #ifndef PRODUCT | 126 #ifndef PRODUCT |
122 if (CompileTheWorld) { | 127 if (CompileTheWorld) { |