equal
deleted
inserted
replaced
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" |
|
30 #include "compiler/compileBroker.hpp" |
29 #include "compiler/compileBroker.hpp" |
31 #include "gc/shared/isGCActiveMark.hpp" |
30 #include "gc/shared/isGCActiveMark.hpp" |
32 #include "logging/log.hpp" |
31 #include "logging/log.hpp" |
33 #include "memory/heapInspection.hpp" |
32 #include "memory/heapInspection.hpp" |
34 #include "memory/resourceArea.hpp" |
33 #include "memory/resourceArea.hpp" |
388 |
387 |
389 volatile bool VM_Exit::_vm_exited = false; |
388 volatile bool VM_Exit::_vm_exited = false; |
390 Thread * VM_Exit::_shutdown_thread = NULL; |
389 Thread * VM_Exit::_shutdown_thread = NULL; |
391 |
390 |
392 int VM_Exit::set_vm_exited() { |
391 int VM_Exit::set_vm_exited() { |
393 CodeCacheExtensions::complete_step(CodeCacheExtensionsSteps::LastStep); |
|
394 |
392 |
395 Thread * thr_cur = Thread::current(); |
393 Thread * thr_cur = Thread::current(); |
396 |
394 |
397 assert(SafepointSynchronize::is_at_safepoint(), "must be at safepoint already"); |
395 assert(SafepointSynchronize::is_at_safepoint(), "must be at safepoint already"); |
398 |
396 |