On Mon, 30 Jan 2023 07:16:17 GMT, SUN Guoyun <d...@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. There was some discussion about these test failures in the JBS issue and I think @sunny868 has accepted that they need to be investigated to see if they are test reliability issues or something else. As always, running tests with -Xcomp can often challenge timeouts and assumption of progress in tests. ------------- PR: https://git.openjdk.org/jdk/pull/12282