equal
deleted
inserted
replaced
913 // Note that "PAUSE" is almost always used with synchronization |
913 // Note that "PAUSE" is almost always used with synchronization |
914 // so arguably we should provide Atomic::SpinPause() instead |
914 // so arguably we should provide Atomic::SpinPause() instead |
915 // of the global SpinPause() with C linkage. |
915 // of the global SpinPause() with C linkage. |
916 // It'd also be eligible for inlining on many platforms. |
916 // It'd also be eligible for inlining on many platforms. |
917 |
917 |
918 extern "C" int SpinPause () ; |
918 extern "C" int SpinPause(); |
919 extern "C" int SafeFetch32 (int * adr, int errValue) ; |
|
920 extern "C" intptr_t SafeFetchN (intptr_t * adr, intptr_t errValue) ; |
|
921 |
919 |
922 #endif // SHARE_VM_RUNTIME_OS_HPP |
920 #endif // SHARE_VM_RUNTIME_OS_HPP |