8152004: CTW crashes with failed assertion after 8150646 integration

Reviewed-by: kvn, neliasso
This commit is contained in:
Filipp Zhinkin 2016-03-17 09:50:00 +03:00
parent 4036d37a8f
commit 591784c35a
4 changed files with 11 additions and 6 deletions

View file

@ -2484,6 +2484,13 @@ bool Arguments::check_vm_args_consistency() {
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;
}