8255718: Zero: VM should know it runs in interpreter-only mode

Reviewed-by: andrew, coleenp
This commit is contained in:
Aleksey Shipilev 2020-11-03 07:04:28 +00:00
parent 9beb866b12
commit f0eeca9080

View File

@ -3213,6 +3213,11 @@ jint Arguments::finalize_vm_init_args(bool patch_mod_javabase) {
set_mode_flags(_int);
}
#ifdef ZERO
// Zero always runs in interpreted mode
set_mode_flags(_int);
#endif
// eventually fix up InitialTenuringThreshold if only MaxTenuringThreshold is set
if (FLAG_IS_DEFAULT(InitialTenuringThreshold) && (InitialTenuringThreshold > MaxTenuringThreshold)) {
FLAG_SET_ERGO(InitialTenuringThreshold, MaxTenuringThreshold);