equal
deleted
inserted
replaced
25 #ifndef SHARE_VM_RUNTIME_MUTEXLOCKER_HPP |
25 #ifndef SHARE_VM_RUNTIME_MUTEXLOCKER_HPP |
26 #define SHARE_VM_RUNTIME_MUTEXLOCKER_HPP |
26 #define SHARE_VM_RUNTIME_MUTEXLOCKER_HPP |
27 |
27 |
28 #include "memory/allocation.hpp" |
28 #include "memory/allocation.hpp" |
29 #include "runtime/mutex.hpp" |
29 #include "runtime/mutex.hpp" |
30 #ifdef TARGET_OS_FAMILY_linux |
|
31 # include "os_linux.inline.hpp" |
|
32 #endif |
|
33 #ifdef TARGET_OS_FAMILY_solaris |
|
34 # include "os_solaris.inline.hpp" |
|
35 #endif |
|
36 #ifdef TARGET_OS_FAMILY_windows |
|
37 # include "os_windows.inline.hpp" |
|
38 #endif |
|
39 #ifdef TARGET_OS_FAMILY_aix |
|
40 # include "os_aix.inline.hpp" |
|
41 #endif |
|
42 #ifdef TARGET_OS_FAMILY_bsd |
|
43 # include "os_bsd.inline.hpp" |
|
44 #endif |
|
45 |
30 |
46 // Mutexes used in the VM. |
31 // Mutexes used in the VM. |
47 |
32 |
48 extern Mutex* Patching_lock; // a lock used to guard code patching of compiled code |
33 extern Mutex* Patching_lock; // a lock used to guard code patching of compiled code |
49 extern Monitor* SystemDictionary_lock; // a lock on the system dictionary |
34 extern Monitor* SystemDictionary_lock; // a lock on the system dictionary |