src/share/vm/runtime/arguments.cpp

changeset 2617
0cd0a06d2535
parent 2607
8c9c9ee30d71
parent 2613
9f44e9aad2d9
child 2637
799d8ccf63cf
equal deleted inserted replaced
2609:3c76374706ea 2617:0cd0a06d2535
3108 set_aggressive_opts_flags(); 3108 set_aggressive_opts_flags();
3109 3109
3110 // Turn off biased locking for locking debug mode flags, 3110 // Turn off biased locking for locking debug mode flags,
3111 // which are subtlely different from each other but neither works with 3111 // which are subtlely different from each other but neither works with
3112 // biased locking. 3112 // biased locking.
3113 if (!UseFastLocking || UseHeavyMonitors) { 3113 if (UseHeavyMonitors
3114 #ifdef COMPILER1
3115 || !UseFastLocking
3116 #endif // COMPILER1
3117 ) {
3114 if (!FLAG_IS_DEFAULT(UseBiasedLocking) && UseBiasedLocking) { 3118 if (!FLAG_IS_DEFAULT(UseBiasedLocking) && UseBiasedLocking) {
3115 // flag set to true on command line; warn the user that they 3119 // flag set to true on command line; warn the user that they
3116 // can't enable biased locking here 3120 // can't enable biased locking here
3117 warning("Biased Locking is not supported with locking debug flags" 3121 warning("Biased Locking is not supported with locking debug flags"
3118 "; ignoring UseBiasedLocking flag." ); 3122 "; ignoring UseBiasedLocking flag." );

mercurial