src/hotspot/share/runtime/safepoint.hpp
changeset 52673 61b3b58a1d1d
parent 52672 bbfa1b3aaf7e
child 53244 9807daeb47c4
equal deleted inserted replaced
52672:bbfa1b3aaf7e 52673:61b3b58a1d1d
    23  */
    23  */
    24 
    24 
    25 #ifndef SHARE_VM_RUNTIME_SAFEPOINT_HPP
    25 #ifndef SHARE_VM_RUNTIME_SAFEPOINT_HPP
    26 #define SHARE_VM_RUNTIME_SAFEPOINT_HPP
    26 #define SHARE_VM_RUNTIME_SAFEPOINT_HPP
    27 
    27 
    28 #include "asm/assembler.hpp"
       
    29 #include "code/nmethod.hpp"
       
    30 #include "memory/allocation.hpp"
    28 #include "memory/allocation.hpp"
    31 #include "runtime/atomic.hpp"
       
    32 #include "runtime/extendedPC.hpp"
       
    33 #include "runtime/mutexLocker.hpp"
    29 #include "runtime/mutexLocker.hpp"
    34 #include "runtime/os.hpp"
    30 #include "runtime/os.hpp"
       
    31 #include "utilities/globalDefinitions.hpp"
    35 #include "utilities/ostream.hpp"
    32 #include "utilities/ostream.hpp"
    36 
    33 
    37 //
    34 //
    38 // Safepoint synchronization
    35 // Safepoint synchronization
    39 ////
    36 ////
    48 // exit safepoint methods, when a thread is blocked/restarted. Hence, all mutex exter/
    45 // exit safepoint methods, when a thread is blocked/restarted. Hence, all mutex exter/
    49 // exit points *must* be at a safepoint.
    46 // exit points *must* be at a safepoint.
    50 
    47 
    51 
    48 
    52 class ThreadSafepointState;
    49 class ThreadSafepointState;
    53 class SnippetCache;
    50 class JavaThread;
    54 class nmethod;
       
    55 
    51 
    56 //
    52 //
    57 // Implements roll-forward to safepoint (safepoint synchronization)
    53 // Implements roll-forward to safepoint (safepoint synchronization)
    58 //
    54 //
    59 class SafepointSynchronize : AllStatic {
    55 class SafepointSynchronize : AllStatic {