Hi all, The test test/jdk/java/net/httpclient/TimeoutResponseBodyTest.java#retriesEnabledForResponseFailure was observed timed out when run with jvm option -Xcomp. The failure details shows in [JDK-8374432](https://bugs.openjdk.org/browse/JDK-8374432). Maybe it need more time for C2 to compile the httpclient classes than the default mixed mode.
So this PR read the timeout factor from jtreg, and apply the timeout factor to `REQUEST_TIMEOUT` by multiply it. Change has been verified locally by run the related tests test/jdk/java/net/httpclient/TimeoutResponseHeaderTest.java and test/jdk/java/net/httpclient/TimeoutResponseBodyTest.java both with -Xmixed and -Xcomp. Test-fix only, no risk, ------------- Commit messages: - 8374432: TimeoutResponseBodyTest.java#retriesEnabledForResponseFailure fails run with -Xcomp Changes: https://git.openjdk.org/jdk/pull/29012/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=29012&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8374432 Stats: 7 lines in 1 file changed: 4 ins; 0 del; 3 mod Patch: https://git.openjdk.org/jdk/pull/29012.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/29012/head:pull/29012 PR: https://git.openjdk.org/jdk/pull/29012
