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

SendaoYan syan at openjdk.org
Fri May 10 01:38:03 UTC 2024


On Thu, 9 May 2024 17:17:51 GMT, robert engels <duke at openjdk.org> wrote:

> 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.

@robaho Hi,

The testcase `com/sun/net/httpserver/TcpNoDelayNotRequired.java` was newly added on these few days. And the testcase set timeout value to 5 senonds.

The JIT compilatiion happens at runtime. I am not sure jtreg if there is a way to subtract out the JIT compilation time from the timeout value.

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

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


More information about the net-dev mailing list