On Thu, 9 May 2024 16:44:23 GMT, SendaoYan <s...@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 has 3 methods 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.compMode != "Xcomp"`, so this testcase > will be skiped when set jvm options -`Xcomp` or `-Xcomp > -XX:TieredStopAtLevel=1` > > Maybe the 3rd method seems more reasonable.
This pull request has now been integrated. Changeset: dea8076a Author: SendaoYan <s...@openjdk.org> Committer: Jaikiran Pai <j...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/dea8076a584fcb41d1b911af911605e2e7f82a87 Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod 8332006: Test com/sun/net/httpserver/TcpNoDelayNotRequired.java run timeout with -Xcomp Reviewed-by: jpai, dfuchs ------------- PR: https://git.openjdk.org/jdk/pull/19159