hotspot/src/share/vm/runtime/vm_operations.cpp
changeset 31620 53be635ad49c
parent 30764 fec48bf5a827
child 32401 cc58aeaec340
equal deleted inserted replaced
31618:8b074d70d72c 31620:53be635ad49c
    24 
    24 
    25 #include "precompiled.hpp"
    25 #include "precompiled.hpp"
    26 #include "classfile/symbolTable.hpp"
    26 #include "classfile/symbolTable.hpp"
    27 #include "classfile/vmSymbols.hpp"
    27 #include "classfile/vmSymbols.hpp"
    28 #include "code/codeCache.hpp"
    28 #include "code/codeCache.hpp"
       
    29 #include "code/codeCacheExtensions.hpp"
    29 #include "compiler/compileBroker.hpp"
    30 #include "compiler/compileBroker.hpp"
    30 #include "compiler/compilerOracle.hpp"
    31 #include "compiler/compilerOracle.hpp"
    31 #include "gc/shared/isGCActiveMark.hpp"
    32 #include "gc/shared/isGCActiveMark.hpp"
    32 #include "memory/heapInspection.hpp"
    33 #include "memory/heapInspection.hpp"
    33 #include "memory/resourceArea.hpp"
    34 #include "memory/resourceArea.hpp"
   367 
   368 
   368 volatile bool VM_Exit::_vm_exited = false;
   369 volatile bool VM_Exit::_vm_exited = false;
   369 Thread * VM_Exit::_shutdown_thread = NULL;
   370 Thread * VM_Exit::_shutdown_thread = NULL;
   370 
   371 
   371 int VM_Exit::set_vm_exited() {
   372 int VM_Exit::set_vm_exited() {
       
   373   CodeCacheExtensions::complete_step(CodeCacheExtensionsSteps::LastStep);
       
   374 
   372   Thread * thr_cur = ThreadLocalStorage::get_thread_slow();
   375   Thread * thr_cur = ThreadLocalStorage::get_thread_slow();
   373 
   376 
   374   assert(SafepointSynchronize::is_at_safepoint(), "must be at safepoint already");
   377   assert(SafepointSynchronize::is_at_safepoint(), "must be at safepoint already");
   375 
   378 
   376   int num_active = 0;
   379   int num_active = 0;