RFR: 8265017: runtime/HiddenClasses/StressHiddenClasses.java timed out on Win* OCI

David Holmes dholmes at openjdk.java.net
Tue Apr 20 04:15:05 UTC 2021


On Mon, 19 Apr 2021 17:15:54 GMT, Harold Seigel <hseigel at openjdk.org> wrote:

> Please review this small test change to try to prevent test StressHiddenClasses,java from timing out.  The change increases the test's timeout and prints some output the could be useful in future timeouts.
> 
> The test was run over 1000 times on Windows with this change without any failures.
> 
> Thanks, Harold

Hi Harold,

Your change to add the timeout seems fine and trivial.

But ... I don't understand what this test is trying to do. With PARSE_TIMEOUT set to zero this test doesn't stress anything it just spawns 40000 threads sequentially and has the new thread define a hidden class, which AFAICS the main thread could do directly. ???

Cheers,
David

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

Marked as reviewed by dholmes (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/3574


More information about the hotspot-runtime-dev mailing list