Skip to content
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 1 changed file with 5 additions and 0 deletions.
@@ -3138,6 +3138,11 @@ jint Arguments::finalize_vm_init_args(bool patch_mod_javabase) {

#ifdef ZERO
// Zero always runs in interpreted mode

// 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

Copy link

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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.