RFR: 8332006: com/sun/net/httpserver/TcpNoDelayNotRequired.java run timeout with -Xcomp

robert engels duke at openjdk.org
Thu May 9 17:20:56 UTC 2024


On Thu, 9 May 2024 16:44:23 GMT, SendaoYan <syan at openjdk.org> wrote:

> Hi,
>   The testcase TcpNoDelayNotRequired.java run timeout with -Xcomp jvm options. With -Xcomp jvm options, the jvm consumes a lot of time to compile the java code, but the timeout value is set to 5 second.
> 
>   I think it's 3 method to solve this timeout issue.
> 
> 1. Change timeout value from 5 to 60 or more.
> 2. Problemlist this testcase in `test/hotspot/jtreg/ProblemList-Xcomp.txt`
> 3. Set this testcase `@requires vm.flagless`, so this testcase will be skiped when set jvm options -Xcomp
> 
>   Maybe the 3rd method seems more reasonable.

Why is this required? I have to assume a lot of testcases with a timeout will have this problem.

It seems more that jtreg should subtract out the compilation time from the timeout value.

edit: I think it just needs to be added to -Xcomp problem list.

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

PR Comment: https://git.openjdk.org/jdk/pull/19159#issuecomment-2103081177


More information about the net-dev mailing list