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 SHARE_VM_RUNTIME_ORDERACCESS_HPP |
|
26 #define SHARE_VM_RUNTIME_ORDERACCESS_HPP |
|
27 |
|
28 #include "memory/allocation.hpp" |
24 |
29 |
25 // Memory Access Ordering Model |
30 // Memory Access Ordering Model |
26 // |
31 // |
27 // This interface is based on the JSR-133 Cookbook for Compiler Writers |
32 // This interface is based on the JSR-133 Cookbook for Compiler Writers |
28 // and on the IA64 memory model. It is the dynamic equivalent of the |
33 // and on the IA64 memory model. It is the dynamic equivalent of the |
307 // This is a helper that invokes the StubRoutines::fence_entry() |
312 // This is a helper that invokes the StubRoutines::fence_entry() |
308 // routine if it exists, It should only be used by platforms that |
313 // routine if it exists, It should only be used by platforms that |
309 // don't another way to do the inline eassembly. |
314 // don't another way to do the inline eassembly. |
310 static void StubRoutines_fence(); |
315 static void StubRoutines_fence(); |
311 }; |
316 }; |
|
317 |
|
318 #endif // SHARE_VM_RUNTIME_ORDERACCESS_HPP |