We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16047e8 commit 3b476a1Copy full SHA for 3b476a1
src/hotspot/share/runtime/arguments.cpp
@@ -3152,6 +3152,12 @@ jint Arguments::finalize_vm_init_args(bool patch_mod_javabase) {
3152
#ifdef ZERO
3153
// Zero always runs in interpreted mode
3154
set_mode_flags(_int);
3155
+
3156
+ // Zero runs without compilers. Do not let compiler selection code
3157
+ // to force it into Serial GC, let the GC ergonomics decide.
3158
+ if (FLAG_IS_DEFAULT(NeverActAsServerClassMachine)) {
3159
+ FLAG_SET_ERGO(NeverActAsServerClassMachine, false);
3160
+ }
3161
#endif
3162
3163
// eventually fix up InitialTenuringThreshold if only MaxTenuringThreshold is set
0 commit comments