RFR: 8290164: compiler/runtime/TestConstantsInError.java fails on riscv
Yadong Wang
yadongwang at openjdk.org
Thu Jul 14 03:19:10 UTC 2022
On Tue, 12 Jul 2022 09:36:37 GMT, Feilong Jiang <fjiang at openjdk.org> wrote:
> compiler/runtime/TestConstantsInError.java fails on riscv with the following error:
>
>
> Execution failed: `main' threw exception: java.lang.RuntimeException: 'made not entrant' found in stdout
>
>
> Similar to AArch64, RISCV64 does not patch C1 compiled code (see [JDK-8223613](https://bugs.openjdk.org/browse/JDK-8223613)). So we should add `Platform.isRISCV64` too for the test.
>
> This test requires vm.flagless. According to [JDK-8246494](https://bugs.openjdk.org/browse/JDK-8246494), tests with `vm.flagless` will be excluded from runs w/ any other X / XX flags passed via -vmoption / -javaoption.
> Since we added `-Xmx` option for all jtreg tests, so this failure does not menifest before.
>
> After this fixing, compiler/runtime/TestConstantsInError.java passed without failure.
lgtm
-------------
Marked as reviewed by yadongwang (Author).
PR: https://git.openjdk.org/jdk/pull/9463
More information about the hotspot-compiler-dev
mailing list