comparison src/share/vm/runtime/arguments.cpp @ 1131:40e7c1d24e4a

6909153: Fix broken options on Zero Summary: Smaller fixes to ensure that Zero still works with non-standard options. Reviewed-by: twisti Contributed-by: Gary Benson <gbenson@redhat.com>
author twisti
date Mon, 04 Jan 2010 00:22:57 -0800
parents 84cb6f20afb3
children e66fd840cb6b
comparison
equal deleted inserted replaced
1110:1ea456c6f2b7 1131:40e7c1d24e4a
2754 2754
2755 // Set flags if Aggressive optimization flags (-XX:+AggressiveOpts) enabled. 2755 // Set flags if Aggressive optimization flags (-XX:+AggressiveOpts) enabled.
2756 set_aggressive_opts_flags(); 2756 set_aggressive_opts_flags();
2757 2757
2758 #ifdef CC_INTERP 2758 #ifdef CC_INTERP
2759 // Biased locking is not implemented with c++ interpreter 2759 // Clear flags not supported by the C++ interpreter
2760 FLAG_SET_DEFAULT(ProfileInterpreter, false);
2760 FLAG_SET_DEFAULT(UseBiasedLocking, false); 2761 FLAG_SET_DEFAULT(UseBiasedLocking, false);
2761 #endif /* CC_INTERP */ 2762 LP64_ONLY(FLAG_SET_DEFAULT(UseCompressedOops, false));
2763 #endif // CC_INTERP
2764
2765 #ifdef ZERO
2766 // Clear flags not supported by Zero
2767 FLAG_SET_DEFAULT(TaggedStackInterpreter, false);
2768 #endif // ZERO
2762 2769
2763 #ifdef COMPILER2 2770 #ifdef COMPILER2
2764 if (!UseBiasedLocking || EmitSync != 0) { 2771 if (!UseBiasedLocking || EmitSync != 0) {
2765 UseOptoBiasInlining = false; 2772 UseOptoBiasInlining = false;
2766 } 2773 }