RFR: 8318306: java/util/Arrays/Sorting.java fails with "Array is not sorted at 8228-th position: 8251.0 and 8153.0" [v2]
Srinivas Vamsi Parasa
duke at openjdk.org
Fri Oct 20 17:46:37 UTC 2023
On Fri, 20 Oct 2023 07:42:15 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:
>> Srinivas Vamsi Parasa has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Update test/jdk/java/util/Arrays/SortingDeoptimizationTest.java
>>
>> Co-authored-by: Tobias Hartmann <tobias.hartmann at oracle.com>
>
> test/jdk/java/util/Arrays/SortingDeoptimizationTest.java line 27:
>
>> 25: * @test
>> 26: * @build SortingDeoptimizationTest
>> 27: * @run main/othervm -Xcomp -ea -esa -XX:CompileThreshold=25 -XX:+UnlockExperimentalVMOptions -server -XX:-TieredCompilation -XX:+DeoptimizeALot SortingDeoptimizationTest 1e-2 100 50
>
> The test fails with release builds because `VM option 'DeoptimizeALot' is develop and is available only in debug version of VM.`.
The original test (Sorting.java) does not have the `DeoptimizeALot` and other additional flags like `-Xcomp -ea -esa -XX:CompileThreshold=100` , etc. The other vmoptions were passed as additional flags during specific tests. Could we follow the same approach for this deoptimization test as well and limit the number of default flags?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/16230#discussion_r1367326464
More information about the hotspot-compiler-dev
mailing list