# HG changeset patch # User Doug Simon # Date 1387295032 -3600 # Node ID 5c891b2983c5575378df609e7b3d9d6f0568817b # Parent 9fd85def8368a72d47a31f41e96c1197bd1334c4 improved comment explaining why CompileTheWorld is set to false during bootstrapping diff -r 9fd85def8368 -r 5c891b2983c5 src/share/vm/graal/graalCompiler.cpp --- 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();