8258604: Use 'isb' instruction in SpinPause on linux-aarch64

Fix: SpinPause() should return 1 if it executes code.
This commit is contained in:
Evgeny Astigeevich 2021-08-13 19:27:22 +00:00
parent 31808c6bc2
commit d9febbdfe2

View File

@ -385,7 +385,7 @@ extern "C" {
// ISB creates a small delay without consuming ALU resources.
// This allows it to act as x86 PAUSE.
__asm volatile("isb");
return 0;
return 1;
}
void _Copy_conjoint_jshorts_atomic(const jshort* from, jshort* to, size_t count) {