Mercurial > hg > graal-compiler
changeset 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 | 9fd85def8368 |
children | 5a4293f24642 |
files | src/share/vm/graal/graalCompiler.cpp |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
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();