comparison src/share/vm/runtime/os.hpp @ 11128:a74ec8831c7b

Merge
author clucasius
date Mon, 15 Jul 2013 12:24:32 -0400
parents 59b052799158 980532a806a5
children af21010d1062
comparison
equal deleted inserted replaced
11124:bd1dc81da579 11128:a74ec8831c7b
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