equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2003, 2013, 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. |
23 */ |
23 */ |
24 |
24 |
25 #ifndef OS_CPU_LINUX_X86_VM_ORDERACCESS_LINUX_X86_INLINE_HPP |
25 #ifndef OS_CPU_LINUX_X86_VM_ORDERACCESS_LINUX_X86_INLINE_HPP |
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.hpp" |
28 #include "runtime/atomic.inline.hpp" |
29 #include "runtime/orderAccess.hpp" |
29 #include "runtime/orderAccess.hpp" |
|
30 #include "runtime/os.hpp" |
30 #include "vm_version_x86.hpp" |
31 #include "vm_version_x86.hpp" |
31 |
32 |
32 // Implementation of class OrderAccess. |
33 // Implementation of class OrderAccess. |
33 |
34 |
34 inline void OrderAccess::loadload() { acquire(); } |
35 inline void OrderAccess::loadload() { acquire(); } |