Mercurial > hg > graal-jvmci-8
comparison src/os_cpu/linux_x86/vm/orderAccess_linux_x86.inline.hpp @ 1972:f95d63e2154a
6989984: Use standard include model for Hospot
Summary: Replaced MakeDeps and the includeDB files with more standardized solutions.
Reviewed-by: coleenp, kvn, kamg
author | stefank |
---|---|
date | Tue, 23 Nov 2010 13:22:55 -0800 |
parents | a6bff45449bc |
children | 4fc084dac61e |
comparison
equal
deleted
inserted
replaced
1971:e33f46fc48ed | 1972:f95d63e2154a |
---|---|
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA | 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
20 * or visit www.oracle.com if you need additional information or have any | 20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. | 21 * questions. |
22 * | 22 * |
23 */ | 23 */ |
24 | |
25 #ifndef OS_CPU_LINUX_X86_VM_ORDERACCESS_LINUX_X86_INLINE_HPP | |
26 #define OS_CPU_LINUX_X86_VM_ORDERACCESS_LINUX_X86_INLINE_HPP | |
27 | |
28 #include "runtime/orderAccess.hpp" | |
29 #include "vm_version_x86.hpp" | |
24 | 30 |
25 // Implementation of class OrderAccess. | 31 // Implementation of class OrderAccess. |
26 | 32 |
27 inline void OrderAccess::loadload() { acquire(); } | 33 inline void OrderAccess::loadload() { acquire(); } |
28 inline void OrderAccess::storestore() { release(); } | 34 inline void OrderAccess::storestore() { release(); } |
202 : "memory"); | 208 : "memory"); |
203 #else | 209 #else |
204 release_store_fence((volatile jint*)p, (jint)v); | 210 release_store_fence((volatile jint*)p, (jint)v); |
205 #endif // AMD64 | 211 #endif // AMD64 |
206 } | 212 } |
213 | |
214 #endif // OS_CPU_LINUX_X86_VM_ORDERACCESS_LINUX_X86_INLINE_HPP |