src/share/vm/runtime/orderAccess.cpp

Print this page

        

*** 20,31 **** * or visit www.oracle.com if you need additional information or have any * questions. * */ ! # include "incls/_precompiled.incl" ! # include "incls/_orderAccess.cpp.incl" void OrderAccess::StubRoutines_fence() { // Use a stub if it exists. It may not exist during bootstrap so do // nothing in that case but assert if no fence code exists after threads have been created void (*func)() = CAST_TO_FN_PTR(void (*)(), StubRoutines::fence_entry()); --- 20,33 ---- * or visit www.oracle.com if you need additional information or have any * questions. * */ ! #include "precompiled.hpp" ! #include "runtime/orderAccess.hpp" ! #include "runtime/stubRoutines.hpp" ! #include "runtime/thread.hpp" void OrderAccess::StubRoutines_fence() { // Use a stub if it exists. It may not exist during bootstrap so do // nothing in that case but assert if no fence code exists after threads have been created void (*func)() = CAST_TO_FN_PTR(void (*)(), StubRoutines::fence_entry());