< prev index next >

src/hotspot/share/runtime/java.cpp

Print this page




 293     GenerateOopMap::print_time();
 294   }
 295   if (PrintSymbolTableSizeHistogram) {
 296     SymbolTable::print_histogram();
 297   }
 298   if (CountBytecodes || TraceBytecodes || StopInterpreterAt) {
 299     BytecodeCounter::print();
 300   }
 301   if (PrintBytecodePairHistogram) {
 302     BytecodePairHistogram::print();
 303   }
 304 
 305   if (PrintCodeCache) {
 306     MutexLocker mu(CodeCache_lock, Mutex::_no_safepoint_check_flag);
 307     CodeCache::print();
 308   }
 309 
 310   // CodeHeap State Analytics.
 311   // Does also call NMethodSweeper::print(tty)
 312   if (PrintCodeHeapAnalytics) {
 313     CompileBroker::print_heapinfo(NULL, "all", 4096); // details
 314   } else if (PrintMethodFlushingStatistics) {
 315     NMethodSweeper::print(tty);
 316   }
 317 
 318   if (PrintCodeCache2) {
 319     MutexLocker mu(CodeCache_lock, Mutex::_no_safepoint_check_flag);
 320     CodeCache::print_internals();
 321   }
 322 
 323   if (PrintVtableStats) {
 324     klassVtable::print_statistics();
 325     klassItable::print_statistics();
 326   }
 327   if (VerifyOops && Verbose) {
 328     tty->print_cr("+VerifyOops count: %d", StubRoutines::verify_oop_count());
 329   }
 330 
 331   print_bytecode_count();
 332   if (PrintMallocStatistics) {
 333     tty->print("allocation stats: ");


 361 #else // PRODUCT MODE STATISTICS
 362 
 363 void print_statistics() {
 364 
 365   if (PrintMethodData) {
 366     print_method_profiling_data();
 367   }
 368 
 369   if (CITime) {
 370     CompileBroker::print_times();
 371   }
 372 
 373   if (PrintCodeCache) {
 374     MutexLocker mu(CodeCache_lock, Mutex::_no_safepoint_check_flag);
 375     CodeCache::print();
 376   }
 377 
 378   // CodeHeap State Analytics.
 379   // Does also call NMethodSweeper::print(tty)
 380   if (PrintCodeHeapAnalytics) {
 381     CompileBroker::print_heapinfo(NULL, "all", 4096); // details
 382   } else if (PrintMethodFlushingStatistics) {
 383     NMethodSweeper::print(tty);
 384   }
 385 
 386 #ifdef COMPILER2
 387   if (PrintPreciseBiasedLockingStatistics || PrintPreciseRTMLockingStatistics) {
 388     OptoRuntime::print_named_counters();
 389   }
 390 #endif
 391   if (PrintBiasedLockingStatistics) {
 392     BiasedLocking::print_counters();
 393   }
 394 
 395   // Native memory tracking data
 396   if (PrintNMTStatistics) {
 397     MemTracker::final_report(tty);
 398   }
 399 
 400   if (LogTouchedMethods && PrintTouchedMethodsAtExit) {
 401     Method::print_touched_methods(tty);




 293     GenerateOopMap::print_time();
 294   }
 295   if (PrintSymbolTableSizeHistogram) {
 296     SymbolTable::print_histogram();
 297   }
 298   if (CountBytecodes || TraceBytecodes || StopInterpreterAt) {
 299     BytecodeCounter::print();
 300   }
 301   if (PrintBytecodePairHistogram) {
 302     BytecodePairHistogram::print();
 303   }
 304 
 305   if (PrintCodeCache) {
 306     MutexLocker mu(CodeCache_lock, Mutex::_no_safepoint_check_flag);
 307     CodeCache::print();
 308   }
 309 
 310   // CodeHeap State Analytics.
 311   // Does also call NMethodSweeper::print(tty)
 312   if (PrintCodeHeapAnalytics) {
 313     CompileBroker::print_heapinfo(NULL, "all", "4096"); // details
 314   } else if (PrintMethodFlushingStatistics) {
 315     NMethodSweeper::print(tty);
 316   }
 317 
 318   if (PrintCodeCache2) {
 319     MutexLocker mu(CodeCache_lock, Mutex::_no_safepoint_check_flag);
 320     CodeCache::print_internals();
 321   }
 322 
 323   if (PrintVtableStats) {
 324     klassVtable::print_statistics();
 325     klassItable::print_statistics();
 326   }
 327   if (VerifyOops && Verbose) {
 328     tty->print_cr("+VerifyOops count: %d", StubRoutines::verify_oop_count());
 329   }
 330 
 331   print_bytecode_count();
 332   if (PrintMallocStatistics) {
 333     tty->print("allocation stats: ");


 361 #else // PRODUCT MODE STATISTICS
 362 
 363 void print_statistics() {
 364 
 365   if (PrintMethodData) {
 366     print_method_profiling_data();
 367   }
 368 
 369   if (CITime) {
 370     CompileBroker::print_times();
 371   }
 372 
 373   if (PrintCodeCache) {
 374     MutexLocker mu(CodeCache_lock, Mutex::_no_safepoint_check_flag);
 375     CodeCache::print();
 376   }
 377 
 378   // CodeHeap State Analytics.
 379   // Does also call NMethodSweeper::print(tty)
 380   if (PrintCodeHeapAnalytics) {
 381     CompileBroker::print_heapinfo(NULL, "all", "4096"); // details
 382   } else if (PrintMethodFlushingStatistics) {
 383     NMethodSweeper::print(tty);
 384   }
 385 
 386 #ifdef COMPILER2
 387   if (PrintPreciseBiasedLockingStatistics || PrintPreciseRTMLockingStatistics) {
 388     OptoRuntime::print_named_counters();
 389   }
 390 #endif
 391   if (PrintBiasedLockingStatistics) {
 392     BiasedLocking::print_counters();
 393   }
 394 
 395   // Native memory tracking data
 396   if (PrintNMTStatistics) {
 397     MemTracker::final_report(tty);
 398   }
 399 
 400   if (LogTouchedMethods && PrintTouchedMethodsAtExit) {
 401     Method::print_touched_methods(tty);


< prev index next >