RFR: 8269129: Multiple tier1 tests in hotspot/jtreg/compiler are failing for client VMs
Christoph Göttschkes
cgo at openjdk.java.net
Thu Jun 24 05:55:31 UTC 2021
On Wed, 23 Jun 2021 18:23:01 GMT, Igor Veresov <iveresov at openjdk.org> wrote:
>> Please review these small adjustments to some test cases which fail for client VMs due to unrecognized Options. I decided to either disabled the test completely, split it up and disable a part of it, or use IgnoreUnrecognizedVMOptions, dependent on whether the test makes sense to be executed for client VMs.
>
> test/hotspot/jtreg/compiler/c2/TestShiftRightAndAccumulate.java line 38:
>
>> 36: * @summary AArch64: Wrong code generated for shifting right and accumulating four unsigned short integers.
>> 37: * @requires vm.compiler2.enabled
>> 38: *
>
> Why does this one have a duplicate header?
Originally, the test case included 3 `@run`s, one without any arguments, the second with `-Xcomp` and the third with `-XX:-SuperWordLoopUnrollAnalysis`. Since the third one is C2 specific, I split up the test case into two separated `@test` segments.
The first one, without any `@requires` includes the first two `@run`s, which are always valid. The second `@test` includes the `@run` with the C2 specific flag and has an `@requires vm.compiler2.enabled`.
-------------
PR: https://git.openjdk.java.net/jdk/pull/4556
More information about the hotspot-compiler-dev
mailing list