--- a/hotspot/src/share/vm/runtime/arguments.cpp Thu Mar 17 16:10:58 2016 -1000
+++ b/hotspot/src/share/vm/runtime/arguments.cpp Thu Mar 17 09:50:00 2016 +0300
@@ -2484,6 +2484,13 @@
warning("Reserved Stack Area not supported on this platform");
}
#endif
+
+ if (BackgroundCompilation && (CompileTheWorld || ReplayCompiles)) {
+ if (!FLAG_IS_DEFAULT(BackgroundCompilation)) {
+ warning("BackgroundCompilation disabled due to CompileTheWorld or ReplayCompiles options.");
+ }
+ FLAG_SET_CMDLINE(bool, BackgroundCompilation, false);
+ }
return status;
}