< prev index next >

src/hotspot/share/runtime/vm_operations.cpp

Print this page
rev 50464 : Thread Dump Extension (memory allocation)


 195 void VM_UnlinkSymbols::doit() {
 196   JavaThread *thread = (JavaThread *)calling_thread();
 197   assert(thread->is_Java_thread(), "must be a Java thread");
 198   SymbolTable::unlink();
 199 }
 200 
 201 void VM_Verify::doit() {
 202   Universe::heap()->prepare_for_verify();
 203   Universe::verify();
 204 }
 205 
 206 bool VM_PrintThreads::doit_prologue() {
 207   // Get Heap_lock if concurrent locks will be dumped
 208   if (_print_concurrent_locks) {
 209     Heap_lock->lock();
 210   }
 211   return true;
 212 }
 213 
 214 void VM_PrintThreads::doit() {
 215   Threads::print_on(_out, true, false, _print_concurrent_locks);
 216 }
 217 
 218 void VM_PrintThreads::doit_epilogue() {
 219   if (_print_concurrent_locks) {
 220     // Release Heap_lock
 221     Heap_lock->unlock();
 222   }
 223 }
 224 
 225 void VM_PrintJNI::doit() {
 226   JNIHandles::print_on(_out);
 227 }
 228 
 229 void VM_PrintMetadata::doit() {
 230   MetaspaceUtils::print_report(_out, _scale, _flags);
 231 }
 232 
 233 VM_FindDeadlocks::~VM_FindDeadlocks() {
 234   if (_deadlocks != NULL) {
 235     DeadlockCycle* cycle = _deadlocks;




 195 void VM_UnlinkSymbols::doit() {
 196   JavaThread *thread = (JavaThread *)calling_thread();
 197   assert(thread->is_Java_thread(), "must be a Java thread");
 198   SymbolTable::unlink();
 199 }
 200 
 201 void VM_Verify::doit() {
 202   Universe::heap()->prepare_for_verify();
 203   Universe::verify();
 204 }
 205 
 206 bool VM_PrintThreads::doit_prologue() {
 207   // Get Heap_lock if concurrent locks will be dumped
 208   if (_print_concurrent_locks) {
 209     Heap_lock->lock();
 210   }
 211   return true;
 212 }
 213 
 214 void VM_PrintThreads::doit() {
 215   Threads::print_on(_out, true, false, _print_concurrent_locks, _extended_thread_info);
 216 }
 217 
 218 void VM_PrintThreads::doit_epilogue() {
 219   if (_print_concurrent_locks) {
 220     // Release Heap_lock
 221     Heap_lock->unlock();
 222   }
 223 }
 224 
 225 void VM_PrintJNI::doit() {
 226   JNIHandles::print_on(_out);
 227 }
 228 
 229 void VM_PrintMetadata::doit() {
 230   MetaspaceUtils::print_report(_out, _scale, _flags);
 231 }
 232 
 233 VM_FindDeadlocks::~VM_FindDeadlocks() {
 234   if (_deadlocks != NULL) {
 235     DeadlockCycle* cycle = _deadlocks;


< prev index next >