equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1999, 2019, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1999, 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. |
24 */ |
24 */ |
25 |
25 |
26 #ifndef OS_CPU_LINUX_AARCH64_ATOMIC_LINUX_AARCH64_HPP |
26 #ifndef OS_CPU_LINUX_AARCH64_ATOMIC_LINUX_AARCH64_HPP |
27 #define OS_CPU_LINUX_AARCH64_ATOMIC_LINUX_AARCH64_HPP |
27 #define OS_CPU_LINUX_AARCH64_ATOMIC_LINUX_AARCH64_HPP |
28 |
28 |
29 #include "vm_version_aarch64.hpp" |
29 #include "runtime/vm_version.hpp" |
30 |
30 |
31 // Implementation of class atomic |
31 // Implementation of class atomic |
32 // Note that memory_order_conservative requires a full barrier after atomic stores. |
32 // Note that memory_order_conservative requires a full barrier after atomic stores. |
33 // See https://patchwork.kernel.org/patch/3575821/ |
33 // See https://patchwork.kernel.org/patch/3575821/ |
34 |
34 |