RFR: 8301306: java/net/httpclient/* fail with -Xcomp [v4]

Daniel Fuchs dfuchs at openjdk.org
Fri Feb 3 15:04:07 UTC 2023


On Fri, 3 Feb 2023 01:30:16 GMT, SUN Guoyun <duke at openjdk.org> wrote:

>> Hi all,
>> I think `BackgroundCompilation` should not be set to false when `-Xcomp` be used, which causes the java thread to block for longer, then causing the following tests failed frequently on the AArch64 and LoongArch64 architecture.
>> 
>> java/net/vthread/HttpALot.java (release -Xcomp)
>> java/net/httpclient/ByteArrayPublishers.java (fastdebug -Xcomp)
>> java/net/httpclient/ManyRequestsLegacy.java (fastdebug -Xcomp)
>> java/net/httpclient/HttpClientLocalAddrTest.java (fastdebug -Xcomp)
>> java/net/httpclient/SpecialHeadersTest.java  (fastdebug -Xcomp)
>> 
>> This PR fix the issue, Please help review it.
>> 
>> Thanks.
>
> SUN Guoyun has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8301306: java/net/httpclient/* fail with -Xcomp

test/jdk/java/net/httpclient/SpecialHeadersTest.java line 33:

> 31:  *        jdk.httpclient.test.lib.http2.Http2TestServer
> 32:  *        jdk.test.lib.net.SimpleSSLContext
> 33:  * @requests (vm.compMode != "Xcomp")

I didn't notice this change while reviewing - it is causing trouble in the CI.

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

PR: https://git.openjdk.org/jdk/pull/12282


More information about the net-dev mailing list