src/share/vm/runtime/vm_operations.cpp

Print this page
rev 1083 : code cache unloading for webrev 091214
rev 1085 : checkpoint unloading changes on 100107


 134                 fcount = 0;
 135                 Deoptimization::deoptimize(thread, *fst.current(), fst.register_map());
 136               }
 137             }
 138           }
 139         }
 140       }
 141     }
 142   }
 143 }
 144 
 145 
 146 void VM_ZombieAll::doit() {
 147   JavaThread *thread = (JavaThread *)calling_thread();
 148   assert(thread->is_Java_thread(), "must be a Java thread");
 149   thread->make_zombies();
 150 }
 151 
 152 #endif // !PRODUCT
 153 




 154 void VM_Verify::doit() {
 155   Universe::verify();
 156 }
 157 
 158 bool VM_PrintThreads::doit_prologue() {
 159   assert(Thread::current()->is_Java_thread(), "just checking");
 160 
 161   // Make sure AbstractOwnableSynchronizer is loaded
 162   if (JDK_Version::is_gte_jdk16x_version()) {
 163     java_util_concurrent_locks_AbstractOwnableSynchronizer::initialize(JavaThread::current());
 164   }
 165 
 166   // Get Heap_lock if concurrent locks will be dumped
 167   if (_print_concurrent_locks) {
 168     Heap_lock->lock();
 169   }
 170   return true;
 171 }
 172 
 173 void VM_PrintThreads::doit() {




 134                 fcount = 0;
 135                 Deoptimization::deoptimize(thread, *fst.current(), fst.register_map());
 136               }
 137             }
 138           }
 139         }
 140       }
 141     }
 142   }
 143 }
 144 
 145 
 146 void VM_ZombieAll::doit() {
 147   JavaThread *thread = (JavaThread *)calling_thread();
 148   assert(thread->is_Java_thread(), "must be a Java thread");
 149   thread->make_zombies();
 150 }
 151 
 152 #endif // !PRODUCT
 153 
 154 void VM_HandleFullCodeCache::doit() {
 155   NMethodSweeper::speculative_disconnect_nmethods(_is_full);
 156 }
 157 
 158 void VM_Verify::doit() {
 159   Universe::verify();
 160 }
 161 
 162 bool VM_PrintThreads::doit_prologue() {
 163   assert(Thread::current()->is_Java_thread(), "just checking");
 164 
 165   // Make sure AbstractOwnableSynchronizer is loaded
 166   if (JDK_Version::is_gte_jdk16x_version()) {
 167     java_util_concurrent_locks_AbstractOwnableSynchronizer::initialize(JavaThread::current());
 168   }
 169 
 170   // Get Heap_lock if concurrent locks will be dumped
 171   if (_print_concurrent_locks) {
 172     Heap_lock->lock();
 173   }
 174   return true;
 175 }
 176 
 177 void VM_PrintThreads::doit() {