Withdrawn: 8289220: Locale.forLanguageTag throws NPE due to soft ref used in locale cache being cleared

2023-06-28 Thread SUN Guoyun
On Tue, 30 May 2023 08:31:08 GMT, SUN Guoyun wrote: > command: make test CONF=fastdebug JTREG="VM_OPTIONS=-Xcomp" > TEST=gc/TestAllocHumongousFragment.java > error info: > > Caused by: java.lang.NullPointerException: Cannot invoke > "sun.util.locale.BaseLocal

Re: RFR: 8289220: Locale.forLanguageTag throws NPE due to soft ref used in locale cache being cleared [v3]

2023-06-06 Thread SUN Guoyun
On Tue, 6 Jun 2023 18:45:50 GMT, Erik Österlund wrote: >> For hotspot, when GC occurs, it causes all threads to run to the nearest >> safepoint and then freeze. Generally, safepoints are generated at branch >> jumps, method ends(ret instructions), loops instructions, and so on. >> Therefore, t

Re: RFR: 8289220: Locale.forLanguageTag throws NPE due to soft ref used in locale cache being cleared [v6]

2023-06-06 Thread SUN Guoyun
a.base/java.util.Locale.forLanguageTag(Locale.java:1874) > > in LocaleObjectCache.java:64 > >62 if (key == null || newVal == null) { > >63 // subclass must return non-null key/value object >

Re: RFR: 8289220: Locale.forLanguageTag throws NPE due to soft ref used in locale cache being cleared [v5]

2023-06-06 Thread SUN Guoyun
a.base/java.util.Locale.forLanguageTag(Locale.java:1874) > > in LocaleObjectCache.java:64 > >62 if (key == null || newVal == null) { > >63 // subclass must return non-null key/value object >

Re: RFR: 8289220: Locale.forLanguageTag throws NPE due to soft ref used in locale cache being cleared [v4]

2023-06-05 Thread SUN Guoyun
a.base/java.util.Locale.forLanguageTag(Locale.java:1874) > > in LocaleObjectCache.java:64 > >62 if (key == null || newVal == null) { > >63 // subclass must return non-null key/value object >

Re: RFR: 8289220: Locale.forLanguageTag throws NPE due to soft ref used in locale cache being cleared [v3]

2023-06-05 Thread SUN Guoyun
On Mon, 5 Jun 2023 21:48:23 GMT, Naoto Sato wrote: >> src/java.base/share/classes/sun/util/locale/BaseLocale.java line 369: >> >>> 367: BaseLocale l = key.holder; >>> 368: BaseLocale locale = new BaseLocale(l.getLanguage(), >>> l.getScript(), l.getRegion(), l.getVariant(

Re: RFR: 8289220: Locale.forLanguageTag throws NPE due to soft ref used in locale cache being cleared [v3]

2023-06-05 Thread SUN Guoyun
On Thu, 1 Jun 2023 08:58:23 GMT, SUN Guoyun wrote: >> command: make test CONF=fastdebug JTREG="VM_OPTIONS=-Xcomp" >> TEST=gc/TestAllocHumongousFragment.java >> error info: >> >> Caused by: java.lang.NullPointerException: Cannot invoke >> &qu

Re: RFR: 8289220: Locale.forLanguageTag throws NPE due to soft ref used in locale cache being cleared [v3]

2023-06-01 Thread SUN Guoyun
On Thu, 1 Jun 2023 08:58:23 GMT, SUN Guoyun wrote: >> command: make test CONF=fastdebug JTREG="VM_OPTIONS=-Xcomp" >> TEST=gc/TestAllocHumongousFragment.java >> error info: >> >> Caused by: java.lang.NullPointerException: Cannot invoke >> &qu

Re: RFR: 8289220: Locale.forLanguageTag throws NPE due to soft ref used in locale cache being cleared [v3]

2023-06-01 Thread SUN Guoyun
On Thu, 1 Jun 2023 09:03:23 GMT, SUN Guoyun wrote: >> SUN Guoyun has refreshed the contents of this pull request, and previous >> commits have been removed. The incremental views will show differences >> compared to the previous content of the PR. The pull request contains

Re: RFR: 8289220: Locale.forLanguageTag throws NPE due to soft ref used in locale cache being cleared [v3]

2023-06-01 Thread SUN Guoyun
On Thu, 1 Jun 2023 08:58:23 GMT, SUN Guoyun wrote: >> command: make test CONF=fastdebug JTREG="VM_OPTIONS=-Xcomp" >> TEST=gc/TestAllocHumongousFragment.java >> error info: >> >> Caused by: java.lang.NullPointerException: Cannot invoke >> &qu

Re: RFR: 8289220: [Shenandoah] TestAllocObjectArrays fails intermittently [v3]

2023-06-01 Thread SUN Guoyun
On Thu, 1 Jun 2023 08:58:23 GMT, SUN Guoyun wrote: >> command: make test CONF=fastdebug JTREG="VM_OPTIONS=-Xcomp" >> TEST=gc/TestAllocHumongousFragment.java >> error info: >> >> Caused by: java.lang.NullPointerException: Cannot invoke >> &qu

Re: RFR: 8289220: [Shenandoah] TestAllocObjectArrays fails intermittently [v3]

2023-06-01 Thread SUN Guoyun
a.base/java.util.Locale.forLanguageTag(Locale.java:1874) > > in LocaleObjectCache.java:64 > >62 if (key == null || newVal == null) { > >63 // subclass must return non-null key/value object >

Re: RFR: 8289220: [Shenandoah] TestAllocObjectArrays fails intermittently [v2]

2023-05-31 Thread SUN Guoyun
a.base/java.util.Locale.forLanguageTag(Locale.java:1874) > > in LocaleObjectCache.java:64 > >62 if (key == null || newVal == null) { > >63 // subclass must return non-null key/value object >

Re: RFR: 8289220: [Shenandoah] TestAllocObjectArrays fails intermittently

2023-05-31 Thread SUN Guoyun
On Tue, 30 May 2023 08:31:08 GMT, SUN Guoyun wrote: > command: make test CONF=fastdebug JTREG="VM_OPTIONS=-Xcomp" > TEST=gc/TestAllocHumongousFragment.java > error info: > > Caused by: java.lang.NullPointerException: Cannot invoke > "sun.util.locale.BaseLocal

Re: RFR: 8289220: [Shenandoah] TestAllocObjectArrays fails intermittently

2023-05-30 Thread SUN Guoyun
On Tue, 30 May 2023 08:49:35 GMT, Alan Bateman wrote: >> command: make test CONF=fastdebug JTREG="VM_OPTIONS=-Xcomp" >> TEST=gc/TestAllocHumongousFragment.java >> error info: >> >> Caused by: java.lang.NullPointerException: Cannot invoke >> "sun.util.locale.BaseLocale.getVariant()" because "b

RFR: 8289220: [Shenandoah] TestAllocObjectArrays fails intermittently

2023-05-30 Thread SUN Guoyun
command: make test CONF=fastdebug JTREG="VM_OPTIONS=-Xcomp" TEST=gc/TestAllocHumongousFragment.java error info: Caused by: java.lang.NullPointerException: Cannot invoke "sun.util.locale.BaseLocale.getVariant()" because "base" is null at java.base/java.util.Locale.forLanguageTag(Locale.java:1802

Re: RFR: 8276799: Implementation of JEP 422: Linux/RISC-V Port [v5]

2023-02-16 Thread SUN Guoyun
On Thu, 24 Mar 2022 07:01:43 GMT, Fei Yang wrote: >> This PR implements JEP 422: Linux/RISC-V Port [1]. >> The PR starts as a squashed merge of the >> https://openjdk.java.net/projects/riscv-port branch. >> >> This has been tested with jtreg tier{1,2,3,4} and jcstress on HiFive >> Unmatched bo

Integrated: 8301737: java/rmi/server/UnicastRemoteObject/serialFilter/FilterUROTest.java fail with -Xcomp

2023-02-11 Thread SUN Guoyun
On Fri, 3 Feb 2023 03:52:39 GMT, SUN Guoyun wrote: > Hi all, > When -Xcomp be used, this testcase will use more codecaches, causing the GC > to be triggered early, then causing this test failed on LoongArch64 > architecture. > > This PR fix the issue, Please help review it.

Re: RFR: 8301737: java/rmi/server/UnicastRemoteObject/serialFilter/FilterUROTest.java fail with -Xcomp [v5]

2023-02-09 Thread SUN Guoyun
> Hi all, > When -Xcomp be used, this testcase will use more codecaches, causing the GC > to be triggered early, then causing this test failed on LoongArch64 > architecture. > > This PR fix the issue, Please help review it. > > Thanks. SUN Guoyun has updated the pu

Re: RFR: 8301737: java/rmi/server/UnicastRemoteObject/serialFilter/FilterUROTest.java fail with -Xcomp [v4]

2023-02-09 Thread SUN Guoyun
On Thu, 9 Feb 2023 16:54:42 GMT, Roger Riggs wrote: >> SUN Guoyun has updated the pull request incrementally with one additional >> commit since the last revision: >> >> 8301737: >> java/rmi/server/UnicastRemoteObject/serialFilter/FilterUROTest.java fail &g

Re: RFR: 8301737: java/rmi/server/UnicastRemoteObject/serialFilter/FilterUROTest.java fail with -Xcomp [v4]

2023-02-09 Thread SUN Guoyun
On Thu, 9 Feb 2023 08:48:17 GMT, SUN Guoyun wrote: >> Hi all, >> When -Xcomp be used, this testcase will use more codecaches, causing the GC >> to be triggered early, then causing this test failed on LoongArch64 >> architecture. >> >> This PR

Re: RFR: 8301737: java/rmi/server/UnicastRemoteObject/serialFilter/FilterUROTest.java fail with -Xcomp [v4]

2023-02-09 Thread SUN Guoyun
On Thu, 9 Feb 2023 08:48:17 GMT, SUN Guoyun wrote: >> Hi all, >> When -Xcomp be used, this testcase will use more codecaches, causing the GC >> to be triggered early, then causing this test failed on LoongArch64 >> architecture. >> >> This PR

Re: RFR: 8301737: java/rmi/server/UnicastRemoteObject/serialFilter/FilterUROTest.java fail with -Xcomp [v4]

2023-02-09 Thread SUN Guoyun
On Thu, 9 Feb 2023 08:48:17 GMT, SUN Guoyun wrote: >> Hi all, >> When -Xcomp be used, this testcase will use more codecaches, causing the GC >> to be triggered early, then causing this test failed on LoongArch64 >> architecture. >> >> This PR

Re: RFR: 8301737: java/rmi/server/UnicastRemoteObject/serialFilter/FilterUROTest.java fail with -Xcomp [v4]

2023-02-09 Thread SUN Guoyun
> Hi all, > When -Xcomp be used, this testcase will use more codecaches, causing the GC > to be triggered early, then causing this test failed on LoongArch64 > architecture. > > This PR fix the issue, Please help review it. > > Thanks. SUN Guoyun has updated the pu

Re: RFR: 8301737: java/rmi/server/UnicastRemoteObject/serialFilter/FilterUROTest.java fail with -Xcomp [v3]

2023-02-08 Thread SUN Guoyun
On Tue, 7 Feb 2023 08:27:57 GMT, SUN Guoyun wrote: >> Hi all, >> When -Xcomp be used, this testcase will use more codecaches, causing the GC >> to be triggered early, then causing this test failed on LoongArch64 >> architecture. >> >> This PR

Re: RFR: 8301737: java/rmi/server/UnicastRemoteObject/serialFilter/FilterUROTest.java fail with -Xcomp [v3]

2023-02-08 Thread SUN Guoyun
On Tue, 7 Feb 2023 08:27:57 GMT, SUN Guoyun wrote: >> Hi all, >> When -Xcomp be used, this testcase will use more codecaches, causing the GC >> to be triggered early, then causing this test failed on LoongArch64 >> architecture. >> >> This PR

Re: RFR: 8301737: java/rmi/server/UnicastRemoteObject/serialFilter/FilterUROTest.java fail with -Xcomp [v3]

2023-02-07 Thread SUN Guoyun
On Tue, 7 Feb 2023 20:47:28 GMT, Roger Riggs wrote: > I'm going to backup a bit; so another question... This test is a fairly > simple test that should not be taxing on GC or any other resource so I'm > surprised the the default configuration is not sufficient. It might be worth > looking a bi

Re: RFR: 8301736: jdk/incubator/concurrent/StructuredTaskScope/StructuredTaskScopeTest.java fail with -Xcomp [v2]

2023-02-07 Thread SUN Guoyun
On Fri, 3 Feb 2023 07:59:25 GMT, SUN Guoyun wrote: >> Hi all, >> When `-Xcomp` be used, java thread to block for longer, then causing >> StructuredTaskScopeTest.java failed frequently on the AArch64 and >> LoongArch64 architecture. >> >> This PR

Integrated: 8301736: jdk/incubator/concurrent/StructuredTaskScope/StructuredTaskScopeTest.java fail with -Xcomp

2023-02-07 Thread SUN Guoyun
On Fri, 3 Feb 2023 03:19:05 GMT, SUN Guoyun wrote: > Hi all, > When `-Xcomp` be used, java thread to block for longer, then causing > StructuredTaskScopeTest.java failed frequently on the AArch64 and LoongArch64 > architecture. > > This PR fix the issue, Please help revi

Re: RFR: 8301736: jdk/incubator/concurrent/StructuredTaskScope/StructuredTaskScopeTest.java fail with -Xcomp [v2]

2023-02-07 Thread SUN Guoyun
On Fri, 3 Feb 2023 07:59:25 GMT, SUN Guoyun wrote: >> Hi all, >> When `-Xcomp` be used, java thread to block for longer, then causing >> StructuredTaskScopeTest.java failed frequently on the AArch64 and >> LoongArch64 architecture. >> >> This PR

Re: RFR: 8301737: java/rmi/server/UnicastRemoteObject/serialFilter/FilterUROTest.java fail with -Xcomp [v3]

2023-02-07 Thread SUN Guoyun
> Hi all, > When -Xcomp be used, this testcase will use more codecaches, causing the GC > to be triggered early, then causing this test failed on LoongArch64 > architecture. > > This PR fix the issue, Please help review it. > > Thanks. SUN Guoyun has updated the pu

Re: RFR: 8301737: java/rmi/server/UnicastRemoteObject/serialFilter/FilterUROTest.java fail with -Xcomp [v2]

2023-02-06 Thread SUN Guoyun
On Mon, 6 Feb 2023 15:35:30 GMT, Roger Riggs wrote: > Please add @bug 8301737 > > It is not going to be obvious why a larger code cashe is needed (and only for > aarch64). > The error message in the .jtr file is `java.rmi.NoSuchObjectException: no such object in table`, which corresponding so

Re: RFR: 8301737: java/rmi/server/UnicastRemoteObject/serialFilter/FilterUROTest.java fail with -Xcomp

2023-02-06 Thread SUN Guoyun
On Fri, 3 Feb 2023 15:07:30 GMT, Roger Riggs wrote: > What is the connection between -Xcomp and the fix: > `-Dsun.net.httpserver.idleInterval=5`? The test does not use httpserver. > Perhaps jtreg /agent does, but an explanation of the interaction would be > appreciated. Please review agai

Re: RFR: 8301737: java/rmi/server/UnicastRemoteObject/serialFilter/FilterUROTest.java fail with -Xcomp [v2]

2023-02-06 Thread SUN Guoyun
On Mon, 6 Feb 2023 11:44:07 GMT, SUN Guoyun wrote: >> Hi all, >> When -Xcomp be used, this testcase will use more codecaches, causing the GC >> to be triggered early, then causing this test failed on LoongArch64 >> architecture. >> >> This PR

Re: RFR: 8301737: java/rmi/server/UnicastRemoteObject/serialFilter/FilterUROTest.java fail with -Xcomp [v2]

2023-02-06 Thread SUN Guoyun
On Mon, 6 Feb 2023 02:46:46 GMT, SUN Guoyun wrote: >> test/jdk/java/rmi/server/UnicastRemoteObject/serialFilter/FilterUROTest.java >> line 41: >> >>> 39: /* >>> 40: * @test >>> 41: * @run testng/othervm -Dsun.net.httpserver.idleInterval=5 &g

Re: RFR: 8301737: java/rmi/server/UnicastRemoteObject/serialFilter/FilterUROTest.java fail with -Xcomp [v2]

2023-02-06 Thread SUN Guoyun
> Hi all, > When -Xcomp be used, java thread to block for longer, then causing this test > failed frequently on the AArch64 and LoongArch64 architecture. > > This PR fix the issue, Please help review it. > > Thanks. SUN Guoyun has updated the pull request incrementall

Re: RFR: 8301737: java/rmi/server/UnicastRemoteObject/serialFilter/FilterUROTest.java fail with -Xcomp

2023-02-05 Thread SUN Guoyun
On Fri, 3 Feb 2023 15:52:09 GMT, Daniel Fuchs wrote: >> Hi all, >> When -Xcomp be used, java thread to block for longer, then causing this test >> failed frequently on the AArch64 and LoongArch64 architecture. >> >> This PR fix the issue, Please help review it. >> >> Thanks. > > test/jdk/java/

Re: RFR: 8301736: jdk/incubator/concurrent/StructuredTaskScope/StructuredTaskScopeTest.java fail with -Xcomp [v2]

2023-02-02 Thread SUN Guoyun
> Hi all, > When `-Xcomp` be used, java thread to block for longer, then causing > StructuredTaskScopeTest.java failed frequently on the AArch64 and LoongArch64 > architecture. > > This PR fix the issue, Please help review it. > > Thanks. SUN Guoyun has updated the pu

Re: RFR: 8301736: jdk/incubator/concurrent/StructuredTaskScope/StructuredTaskScopeTest.java fail with -Xcomp

2023-02-02 Thread SUN Guoyun
On Fri, 3 Feb 2023 07:31:21 GMT, Alan Bateman wrote: >> Hi all, >> When `-Xcomp` be used, java thread to block for longer, then causing >> StructuredTaskScopeTest.java failed frequently on the AArch64 and >> LoongArch64 architecture. >> >> This PR fix the issue, Please help review it. >> >> T

RFR: 8301736: jdk/incubator/concurrent/StructuredTaskScope/StructuredTaskScopeTest.java fail with -Xcomp

2023-02-02 Thread SUN Guoyun
Hi all, When `-Xcomp` be used, java thread to block for longer, then causing StructuredTaskScopeTest.java failed frequently on the AArch64 and LoongArch64 architecture. This PR fix the issue, Please help review it. Thanks. - Commit messages: - 8301736: jdk/incubator/concurrent/S

RFR: 8301737: java/rmi/server/UnicastRemoteObject/serialFilter/FilterUROTest.java fail with -Xcomp

2023-02-02 Thread SUN Guoyun
Hi all, When -Xcomp be used, java thread to block for longer, then causing this test failed frequently on the AArch64 and LoongArch64 architecture. This PR fix the issue, Please help review it. Thanks. - Commit messages: - 8301737: java/rmi/server/UnicastRemoteObject/serialFilter/

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

2023-02-02 Thread SUN Guoyun
/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