Re: RFR: 8311220: Optimization for StringLatin UpperLower

2023-07-02 Thread 温绍锦
On Mon, 3 Jul 2023 05:16:35 GMT, Jacob G. wrote: >> # Benchmark Result >> >> >> sh make/devkit/createJMHBundle.sh >> bash configure --with-jmh=build/jmh/jars >> make test TEST="micro:java.lang.StringUpperLower.*" >> >> >> >> ## 1. >> [aliyun_ecs_c8i.xlarge](https://help.aliyun.com/document_

Re: RFR: 8311220: Optimization for StringLatin UpperLower

2023-07-02 Thread Jacob G .
On Mon, 3 Jul 2023 04:02:44 GMT, 温绍锦 wrote: > # Benchmark Result > > > sh make/devkit/createJMHBundle.sh > bash configure --with-jmh=build/jmh/jars > make test TEST="micro:java.lang.StringUpperLower.*" > > > > ## 1. > [aliyun_ecs_c8i.xlarge](https://help.aliyun.com/document_detail/25378.htm

RFR: 8311220: Optimization for StringLatin UpperLower

2023-07-02 Thread 温绍锦
# Benchmark Result sh make/devkit/createJMHBundle.sh bash configure --with-jmh=build/jmh/jars make test TEST="micro:java.lang.StringUpperLower.*" ## 1. [aliyun_ecs_c8i.xlarge](https://help.aliyun.com/document_detail/25378.html#c8i) * cpu : intel xeon sapphire rapids (x64) ``` diff -Benchmark

Re: RFR: 8310929: Optimization for Integer.toString [v12]

2023-07-02 Thread 温绍锦
> Optimization for: > Integer.toString > Long.toString > StringBuilder#append(int) > > # Benchmark Result > > > sh make/devkit/createJMHBundle.sh > bash configure --with-jmh=build/jmh/jars > make test TEST="micro:java.lang.Integers.toString*" > make test TEST="micro:java.lang.Longs.toString*"

Re: RFR: 8311030: ResourceBundle.handleKeySet() is racy

2023-07-02 Thread David Holmes
On Wed, 28 Jun 2023 11:05:11 GMT, Sergey Tsypanov wrote: > Double-checked locking should rely on local variable to avoid racy reads from > volatile field. I don't think saving one volatile read is a reasonable trade-off for the loss of readability of this code change. - PR Commen

Re: RFR: 8311085: Remove implementation detail writeTo from LocalVariable(Type) [v3]

2023-07-02 Thread Chen Liang
On Fri, 30 Jun 2023 00:51:42 GMT, Chen Liang wrote: >> `LocalVariable` and `LocalVariableType` includes `writeTo(BufWriter)`, which >> should be implementation details. >> >> See >> https://mail.openjdk.org/pipermail/classfile-api-dev/2023-June/000381.html >> for context. >> >> This patch mo