dragonwell-project / dragonwell21

GNU General Public License v2.0
61 stars 18 forks source link

[Backport] 8333462: Performance regression of new DecimalFormat() when compare to jdk11 #80

Closed lingjun-cg closed 1 month ago

lingjun-cg commented 1 month ago

[Backport] 8333462: Performance regression of new DecimalFormat() when compare to jdk11

Summary: The DecimalFormat constructor calls DecimalFormatSymbols.findNonFormatChar(String,char) multiple times, and the lambda implementation is slow than plain loop implementation of DecimalFormatSymbols.findNonFormatChar(String,char).

Testing: All java.text.format jtreg.

Reviewers: D-D-H, Yude Lin

Issue: https://github.com/dragonwell-project/dragonwell21/issues/79

CLAassistant commented 1 month ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
2 out of 13 committers have signed the CLA.

:white_check_mark: lingjun-cg
:white_check_mark: Accelerator1996
:x: Andrew Lu
:x: TheRealMDoerr
:x: tstuefe
:x: Delawen
:x: MBaesken
:x: chadrako
:x: mrserb
:x: shipilev
:x: martinuy
:x: jerboaa
:x: RealCLanger


Andrew Lu seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.