Mercurial > hg > truffle
diff src/share/vm/graal/graalCompiler.cpp @ 13363:5c891b2983c5
improved comment explaining why CompileTheWorld is set to false during bootstrapping
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 17 Dec 2013 16:43:52 +0100 |
parents | 0e5c4f9fa9a5 |
children | 430c9f08728d |
line wrap: on
line diff
--- a/src/share/vm/graal/graalCompiler.cpp Tue Dec 17 16:42:29 2013 +0100 +++ b/src/share/vm/graal/graalCompiler.cpp Tue Dec 17 16:43:52 2013 +0100 @@ -116,8 +116,9 @@ FlagSetting a(UseInterpreter, true); FlagSetting b(BackgroundCompilation, true); #ifndef PRODUCT - // Turn off CompileTheWorld during bootstrap - // so that a complete bootstrap occurs + // Turn off CompileTheWorld during bootstrap so that a counter overflow event + // triggers further compilation (see NonTieredCompPolicy::event()) hence + // allowing a complete bootstrap FlagSetting c(CompileTheWorld, false); #endif VMToCompiler::bootstrap();