src/share/vm/runtime/orderAccess.cpp

changeset 2314
f95d63e2154a
parent 2066
a6bff45449bc
child 6876
710a3c8b516e
equal deleted inserted replaced
2313:e33f46fc48ed 2314:f95d63e2154a
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 24
25 # include "incls/_precompiled.incl" 25 #include "precompiled.hpp"
26 # include "incls/_orderAccess.cpp.incl" 26 #include "runtime/orderAccess.hpp"
27 #include "runtime/stubRoutines.hpp"
28 #include "runtime/thread.hpp"
27 29
28 void OrderAccess::StubRoutines_fence() { 30 void OrderAccess::StubRoutines_fence() {
29 // Use a stub if it exists. It may not exist during bootstrap so do 31 // Use a stub if it exists. It may not exist during bootstrap so do
30 // nothing in that case but assert if no fence code exists after threads have been created 32 // nothing in that case but assert if no fence code exists after threads have been created
31 void (*func)() = CAST_TO_FN_PTR(void (*)(), StubRoutines::fence_entry()); 33 void (*func)() = CAST_TO_FN_PTR(void (*)(), StubRoutines::fence_entry());

mercurial