Skip to content

Commit 338eca4

Browse files
committed
Remove inlasm_isb define
Change-Id: I2d0ef8a78292dac875f3f65d2253981cdb7a497a
1 parent 022c60e commit 338eca4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/hotspot/os_cpu/linux_aarch64/orderAccess_linux_aarch64.hpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@
3030

3131
#include "runtime/vm_version.hpp"
3232

33-
#define inlasm_isb() asm volatile("isb" : : : "memory")
34-
3533
// Implementation of class OrderAccess.
3634

3735
inline void OrderAccess::loadload() { acquire(); }
@@ -56,7 +54,7 @@ inline void OrderAccess::fence() {
5654
}
5755

5856
inline void OrderAccess::cross_modify_fence_impl() {
59-
inlasm_isb();
57+
asm volatile("isb" : : : "memory");
6058
}
6159

6260
#undef inlasm_isb

0 commit comments

Comments
 (0)