Skip to content

Commit f0eeca9

Browse files
committed
8255718: Zero: VM should know it runs in interpreter-only mode
Reviewed-by: andrew, coleenp
1 parent 9beb866 commit f0eeca9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/hotspot/share/runtime/arguments.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3213,6 +3213,11 @@ jint Arguments::finalize_vm_init_args(bool patch_mod_javabase) {
32133213
set_mode_flags(_int);
32143214
}
32153215

3216+
#ifdef ZERO
3217+
// Zero always runs in interpreted mode
3218+
set_mode_flags(_int);
3219+
#endif
3220+
32163221
// eventually fix up InitialTenuringThreshold if only MaxTenuringThreshold is set
32173222
if (FLAG_IS_DEFAULT(InitialTenuringThreshold) && (InitialTenuringThreshold > MaxTenuringThreshold)) {
32183223
FLAG_SET_ERGO(InitialTenuringThreshold, MaxTenuringThreshold);

0 commit comments

Comments
 (0)