mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 03:58:21 +00:00
8258604: Use 'isb' instruction in SpinPause on linux-aarch64
Fix: SpinPause() should return 1 if it executes code.
This commit is contained in:
parent
31808c6bc2
commit
d9febbdfe2
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user