equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2003, 2014, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
26 #define OS_CPU_LINUX_X86_VM_ORDERACCESS_LINUX_X86_INLINE_HPP |
26 #define OS_CPU_LINUX_X86_VM_ORDERACCESS_LINUX_X86_INLINE_HPP |
27 |
27 |
28 #include "runtime/atomic.inline.hpp" |
28 #include "runtime/atomic.inline.hpp" |
29 #include "runtime/orderAccess.hpp" |
29 #include "runtime/orderAccess.hpp" |
30 #include "runtime/os.hpp" |
30 #include "runtime/os.hpp" |
31 #include "vm_version_x86.hpp" |
|
32 |
31 |
33 // Implementation of class OrderAccess. |
32 // Implementation of class OrderAccess. |
34 |
33 |
35 inline void OrderAccess::loadload() { acquire(); } |
34 inline void OrderAccess::loadload() { acquire(); } |
36 inline void OrderAccess::storestore() { release(); } |
35 inline void OrderAccess::storestore() { release(); } |