RFR: 8318306: java/util/Arrays/Sorting.java fails with "Array is not sorted at 8228-th position: 8251.0 and 8153.0" [v4]

Srinivas Vamsi Parasa duke at openjdk.org
Fri Oct 20 23:05:58 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 to ignore unrecognized VM options
>
> 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.`.

Please see the latest commit which fixed the release mode failure by adding `-XX:+IgnoreUnrecognizedVMOptions`.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/16230#discussion_r1367540888


More information about the hotspot-compiler-dev mailing list