comparison src/share/vm/runtime/arguments.cpp @ 2331:9f44e9aad2d9

7022999: Can't build with FORCE_TIERED=0 Summary: Put UseFastLocking test under #ifdef COMPILER1 Reviewed-by: kvn, phh, never, dcubed
author coleenp
date Thu, 03 Mar 2011 19:51:36 -0500
parents da091bb67459
children 0cd0a06d2535
comparison
equal deleted inserted replaced
2309:a3c0ec0428a2 2331:9f44e9aad2d9
3112 set_aggressive_opts_flags(); 3112 set_aggressive_opts_flags();
3113 3113
3114 // Turn off biased locking for locking debug mode flags, 3114 // Turn off biased locking for locking debug mode flags,
3115 // which are subtlely different from each other but neither works with 3115 // which are subtlely different from each other but neither works with
3116 // biased locking. 3116 // biased locking.
3117 if (!UseFastLocking || UseHeavyMonitors) { 3117 if (UseHeavyMonitors
3118 #ifdef COMPILER1
3119 || !UseFastLocking
3120 #endif // COMPILER1
3121 ) {
3118 if (!FLAG_IS_DEFAULT(UseBiasedLocking) && UseBiasedLocking) { 3122 if (!FLAG_IS_DEFAULT(UseBiasedLocking) && UseBiasedLocking) {
3119 // flag set to true on command line; warn the user that they 3123 // flag set to true on command line; warn the user that they
3120 // can't enable biased locking here 3124 // can't enable biased locking here
3121 warning("Biased Locking is not supported with locking debug flags" 3125 warning("Biased Locking is not supported with locking debug flags"
3122 "; ignoring UseBiasedLocking flag." ); 3126 "; ignoring UseBiasedLocking flag." );