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

SUN Guoyun duke at openjdk.org
Fri Jun 2 01:30:06 UTC 2023


On Thu, 1 Jun 2023 09:03:23 GMT, SUN Guoyun <duke at openjdk.org> 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 one new commit since the last revision:
>> 
>>   8289220: Locale.forLanguageTag throws NPE due to soft ref used in locale cache being cleared
>
> I've done basic testing jtreg tier1-3 and partial shenandoah testing with vmoptions `-Xcomp -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=aggressive -XX:+ShenandoahOOMDuringEvacALot`, the results are all OK.

>  @sunny868 Would you be able to add a JMH test to make sure that your change would not affect the startup time? 

All JMH tests or some of them? I had trigger JMH test, waiting for run results.

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

PR Comment: https://git.openjdk.org/jdk/pull/14211#issuecomment-1572999255


More information about the core-libs-dev mailing list