[jdk17u-dev] RFR: 8277503: compiler/onSpinWait/TestOnSpinWaitAArch64DefaultFlags.java failed with "OnSpinWaitInst with the expected value 'isb' not found." [v2]

Evgeny Astigeevich duke at openjdk.java.net
Thu Jan 20 18:41:57 UTC 2022


> The backport of JDK-8277137 "Set OnSpinWaitInst/OnSpinWaitInstCount defaults to "isb"/1 for Arm Neoverse N1" adds a new test: TestOnSpinWaitAArch64DefaultFlags.java. The test has a bug. It fails on release builds.
> This is a backport of the test fix. The original patch removed the test from test/hotspot/jtreg/ProblemList.txt. This change causes a conflict in ProblemList.txt because the test does not exist and is not excluded in jdk17.
> The change to the test applies cleanly.
> 
> As the backport does not change anything in JVM sources, it can be tested with TestOnSpinWaitAArch64DefaultFlags.java on fastdebug and release builds.
> 
> Tested: release and fastdebug builds
> 
> - `make test TEST=hotspot/jtreg/compiler/onSpinWait/TestOnSpinWaitAArch64DefaultFlags.java`: Passed

Evgeny Astigeevich has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase.

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

Changes:
  - all: https://git.openjdk.java.net/jdk17u-dev/pull/107/files
  - new: https://git.openjdk.java.net/jdk17u-dev/pull/107/files/9b67545a..9b67545a

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk17u-dev&pr=107&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk17u-dev&pr=107&range=00-01

  Stats: 0 lines in 0 files changed: 0 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk17u-dev/pull/107.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk17u-dev pull/107/head:pull/107

PR: https://git.openjdk.java.net/jdk17u-dev/pull/107


More information about the jdk-updates-dev mailing list