RFR: 8332006: com/sun/net/httpserver/TcpNoDelayNotRequired.java run timeout with -Xcomp
SendaoYan
syan at openjdk.org
Thu May 9 16:49:12 UTC 2024
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.
-------------
Commit messages:
- 8332006: com/sun/net/httpserver/TcpNoDelayNotRequired.java run timeout with -Xcomp
Changes: https://git.openjdk.org/jdk/pull/19159/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=19159&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8332006
Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/19159.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/19159/head:pull/19159
PR: https://git.openjdk.org/jdk/pull/19159
More information about the net-dev
mailing list