RFR: 8301306: java/net/httpclient/* fail with -Xcomp: java.io.IOException: HTTP/1.1 header parser received no bytes [v3]

SUN Guoyun duke at openjdk.org
Thu Feb 2 12:54:26 UTC 2023


On Thu, 2 Feb 2023 12:49:56 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/httpclient/ByteArrayPublishers.java (fastdebug -Xcomp)
>> java/net/httpclient/ManyRequestsLegacy.java (fastdebug -Xcomp)
>> java/net/httpclient/HttpClientLocalAddrTest.java (fastdebug -Xcomp)
>> jdk/incubator/concurrent/StructuredTaskScope/StructuredTaskScopeTest.java (fastdebug -Xcomp)
>> java/rmi/server/UnicastRemoteObject/serialFilter/FilterUROTest.java (release -Xcomp)
>> 
>> This PR delete BackgroundCompilation be setted, Above tests can be passed. 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

The following two tests have the same issue, can I submit the fix code to the same patch?
java/rmi/server/UnicastRemoteObject/serialFilter/FilterUROTest.java and jdk/incubator/concurrent/StructuredTaskScope/StructuredTaskScopeTest.java

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

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


More information about the net-dev mailing list