[jdk15u-dev] Integrated: 8186670: Implement _onSpinWait() intrinsic for AArch64

Evgeny Astigeevich duke at openjdk.java.net
Thu Mar 10 12:01:49 UTC 2022


On Wed, 23 Feb 2022 15:43:41 GMT, Evgeny Astigeevich <duke at openjdk.java.net> wrote:

> A backport of a configurable implementation of _onSpinWait() intrinsic to achieve parity with x86 which has it implemented.
> The risk of changes is low. By default it is off.
> Tested for fastdebug and release builds:
> 
> - `gtest`: Passed
> - `tier1`...`tier3`: Passed except [JDK-8261534](https://bugs.openjdk.java.net/browse/JDK-8261534) and [JDK-8277488](https://bugs.openjdk.java.net/browse/JDK-8277488)
> - `hotspot/jtreg/compiler/onSpinWait`: Passed
> 
> Applying the patch had issues to find proper positions. No code changes are needed after repositioning.
> Changes to `globals_aarch64.hpp` needed the new added options definitions to be converted from the new format to the old one. `vm.flagless` was removed from the new tests. 
> Changes to `vm_version_aarch64.cpp`, instantiation of `SpinWait`, use C++11 syntax. They needed to be changed to C++03 syntax.

This pull request has now been integrated.

Changeset: e972e77a
Author:    Evgeny Astigeevich <eastig at amazon.com>
Committer: Paul Hohensee <phh at openjdk.org>
URL:       https://git.openjdk.java.net/jdk15u-dev/commit/e972e77af38d4cd4c1e6e3e408b3a5c2909aaa46
Stats:     765 lines in 13 files changed: 763 ins; 0 del; 2 mod

8186670: Implement _onSpinWait() intrinsic for AArch64

Reviewed-by: phh
Backport-of: 6954b98f8faf29b6c2d13687a7a94e83302bdd85

-------------

PR: https://git.openjdk.java.net/jdk15u-dev/pull/181


More information about the jdk-updates-dev mailing list