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