diff --git a/transport-native-epoll/src/main/c/netty_epoll_native.c b/transport-native-epoll/src/main/c/netty_epoll_native.c index 36396afb55..206d47712d 100644 --- a/transport-native-epoll/src/main/c/netty_epoll_native.c +++ b/transport-native-epoll/src/main/c/netty_epoll_native.c @@ -287,6 +287,8 @@ static jint netty_epoll_native_epollWait0(JNIEnv* env, jclass clazz, jint efd, j static inline void cpu_relax() { #if defined(__x86_64__) asm volatile("pause\n": : :"memory"); +#elif defined(__aarch64__) + asm volatile("isb\n": : :"memory"); #endif }