mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-24 04:54:40 +02:00
8016697: Use stubs to implement safefetch
Implement Safefetch as stub routines. This reduces compiler and os dependencies. Reviewed-by: twisti, kvn
This commit is contained in:
parent
b5efe058f7
commit
ef69ce852c
21 changed files with 231 additions and 304 deletions
|
@ -915,8 +915,6 @@ class os: AllStatic {
|
|||
// of the global SpinPause() with C linkage.
|
||||
// It'd also be eligible for inlining on many platforms.
|
||||
|
||||
extern "C" int SpinPause () ;
|
||||
extern "C" int SafeFetch32 (int * adr, int errValue) ;
|
||||
extern "C" intptr_t SafeFetchN (intptr_t * adr, intptr_t errValue) ;
|
||||
extern "C" int SpinPause();
|
||||
|
||||
#endif // SHARE_VM_RUNTIME_OS_HPP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue