mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
6909153: Fix broken options on Zero
Smaller fixes to ensure that Zero still works with non-standard options. Reviewed-by: twisti
This commit is contained in:
parent
f64d1c0216
commit
915d9602fe
2 changed files with 14 additions and 5 deletions
|
@ -2756,9 +2756,16 @@ jint Arguments::parse(const JavaVMInitArgs* args) {
|
|||
set_aggressive_opts_flags();
|
||||
|
||||
#ifdef CC_INTERP
|
||||
// Biased locking is not implemented with c++ interpreter
|
||||
// Clear flags not supported by the C++ interpreter
|
||||
FLAG_SET_DEFAULT(ProfileInterpreter, false);
|
||||
FLAG_SET_DEFAULT(UseBiasedLocking, false);
|
||||
#endif /* CC_INTERP */
|
||||
LP64_ONLY(FLAG_SET_DEFAULT(UseCompressedOops, false));
|
||||
#endif // CC_INTERP
|
||||
|
||||
#ifdef ZERO
|
||||
// Clear flags not supported by Zero
|
||||
FLAG_SET_DEFAULT(TaggedStackInterpreter, false);
|
||||
#endif // ZERO
|
||||
|
||||
#ifdef COMPILER2
|
||||
if (!UseBiasedLocking || EmitSync != 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue