Re: RFR: 8333396: Use StringBuilder internally for java.text.Format.* formatting [v18]

2024-07-09 Thread Justin Lu
On Tue, 9 Jul 2024 02:06:34 GMT, lingjun-cg wrote: >> ### Performance regression of DecimalFormat.format >> From the output of perf, we can see the hottest regions contain atomic >> instructions. But when run with JDK 11, there is no such problem. The >> reason is the removed biased locking.

Re: RFR: 8333396: Use StringBuilder internally for java.text.Format.* formatting [v18]

2024-07-08 Thread lingjun-cg
> ### Performance regression of DecimalFormat.format > From the output of perf, we can see the hottest regions contain atomic > instructions. But when run with JDK 11, there is no such problem. The reason > is the removed biased locking. > The DecimalFormat uses StringBuffer everywhere, and St