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

SendaoYan syan at openjdk.org
Fri May 10 01:22:17 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 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.

SendaoYan has updated the pull request incrementally with one additional commit since the last revision:

  change "@requires vm.flagless" to "@requires vm.compMode != \"Xcomp\""

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/19159/files
  - new: https://git.openjdk.org/jdk/pull/19159/files/e34cd371..eadbf641

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=19159&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=19159&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 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