Skip to content
Permalink
Browse files
8255718: Zero: VM should know it runs in interpreter-only mode
Backport-of: f0eeca9
  • Loading branch information
shipilev committed Jul 5, 2021
1 parent 3e09f94 commit c61cfb5514ab57947194400b3edeff6cb36a7924
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/hotspot/share/runtime/arguments.cpp
@@ -3138,6 +3138,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(uintx, InitialTenuringThreshold, MaxTenuringThreshold);

1 comment on commit c61cfb5

@openjdk-notifier

This comment has been minimized.

Copy link

@openjdk-notifier openjdk-notifier bot commented on c61cfb5 Jul 5, 2021

Please sign in to comment.