Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/vm_operations.cpp @ 9071:68fe50d4f1d5
8011343: Add new flag for verifying the heap during startup
Summary: Perform verification during VM startup under control of new flag and within a VMOperation.
Reviewed-by: stefank, jmasa, brutisso
author | johnc |
---|---|
date | Fri, 05 Apr 2013 10:20:04 -0700 |
parents | f34d701e952e |
children | 89e4d67fdd2a f2110083203d |
comparison
equal
deleted
inserted
replaced
9055:dcdeb150988c | 9071:68fe50d4f1d5 |
---|---|
173 void VM_HandleFullCodeCache::doit() { | 173 void VM_HandleFullCodeCache::doit() { |
174 NMethodSweeper::speculative_disconnect_nmethods(_is_full); | 174 NMethodSweeper::speculative_disconnect_nmethods(_is_full); |
175 } | 175 } |
176 | 176 |
177 void VM_Verify::doit() { | 177 void VM_Verify::doit() { |
178 Universe::verify(); | 178 Universe::heap()->prepare_for_verify(); |
179 Universe::verify(_silent); | |
179 } | 180 } |
180 | 181 |
181 bool VM_PrintThreads::doit_prologue() { | 182 bool VM_PrintThreads::doit_prologue() { |
182 assert(Thread::current()->is_Java_thread(), "just checking"); | 183 assert(Thread::current()->is_Java_thread(), "just checking"); |
183 | 184 |