Integrated: 8290164: compiler/runtime/TestConstantsInError.java fails on riscv

Feilong Jiang fjiang at openjdk.org
Thu Jul 14 03:36:59 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.

This pull request has now been integrated.

Changeset: 3471ac9a
Author:    Feilong Jiang <fjiang at openjdk.org>
Committer: Jie Fu <jiefu at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/3471ac9a907780d894d05bd58cf883c4c8d8838d
Stats:     4 lines in 1 file changed: 0 ins; 0 del; 4 mod

8290164: compiler/runtime/TestConstantsInError.java fails on riscv

Reviewed-by: fyang, yadongwang

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

PR: https://git.openjdk.org/jdk/pull/9463


More information about the hotspot-compiler-dev mailing list