comparison src/share/vm/runtime/java.cpp @ 17780:606acabe7b5c

8031320: Use Intel RTM instructions for locks Summary: Use RTM for inflated locks and stack locks. Reviewed-by: iveresov, twisti, roland, dcubed
author kvn
date Thu, 20 Mar 2014 17:49:27 -0700
parents 6aa49042b101
children 78bbf4d43a14
comparison
equal deleted inserted replaced
17778:a48e16541e6b 17780:606acabe7b5c
266 SharedRuntime::print_statistics(); 266 SharedRuntime::print_statistics();
267 #endif //COMPILER1 267 #endif //COMPILER1
268 os::print_statistics(); 268 os::print_statistics();
269 } 269 }
270 270
271 if (PrintLockStatistics || PrintPreciseBiasedLockingStatistics) { 271 if (PrintLockStatistics || PrintPreciseBiasedLockingStatistics || PrintPreciseRTMLockingStatistics) {
272 OptoRuntime::print_named_counters(); 272 OptoRuntime::print_named_counters();
273 } 273 }
274 274
275 if (TimeLivenessAnalysis) { 275 if (TimeLivenessAnalysis) {
276 MethodLiveness::print_times(); 276 MethodLiveness::print_times();
388 if (PrintMethodFlushingStatistics) { 388 if (PrintMethodFlushingStatistics) {
389 NMethodSweeper::print(); 389 NMethodSweeper::print();
390 } 390 }
391 391
392 #ifdef COMPILER2 392 #ifdef COMPILER2
393 if (PrintPreciseBiasedLockingStatistics) { 393 if (PrintPreciseBiasedLockingStatistics || PrintPreciseRTMLockingStatistics) {
394 OptoRuntime::print_named_counters(); 394 OptoRuntime::print_named_counters();
395 } 395 }
396 #endif 396 #endif
397 if (PrintBiasedLockingStatistics) { 397 if (PrintBiasedLockingStatistics) {
398 BiasedLocking::print_counters(); 398 BiasedLocking::print_counters();