RFR: 8292215: java/util/stream/boottest/java.base/java/util/stream/SpinedBufferTest.java times out with slowdebug

Daniel D. Daugherty dcubed at openjdk.org
Fri Aug 19 19:56:53 UTC 2022


On Tue, 16 Aug 2022 16:45:03 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:

>> Split the java/util/stream/SpinedBufferTest.java test into two parts:
>> - java/util/stream/SpinedBufferTest1.java has the first 6 test cases
>> - java/util/stream/SpinedBufferTes2.java has the second 6 test cases
>> 
>> I couldn't figure out a way to set a larger timeout value for the entirety
>> of java/util/stream/SpinedBufferTest.java and I saw that other folks solved
>> this problem with testng tests by splitting the test into more parts.
>> 
>> This fix is being tested in my jdk-20+10 stress testing run.
>
> I would like to propose an alternative separation based on types. We can split into four for refs, ints, longs, and doubles, each extending from the same abstract class with shared code.

@PaulSandoz, @RogerRiggs and @shipilev - Thanks for the reviews. I'll take
a look at splitting the test in a cleaner fashion. I don't write a lot of Java code
so it'll be a little bit before I update again.

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

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


More information about the hotspot-runtime-dev mailing list