Re: RFR: 8311207: Optimization for j.u.UUID.toString [v6]

2023-07-01 Thread Chen Liang
On Sat, 1 Jul 2023 14:42:07 GMT, 温绍锦 wrote: >> [PR 14578 ](https://github.com/openjdk/jdk/pull/14578) still has unresolved >> discussions, continue to make improvements. >> >> # Benchmark Result >> >> >> sh make/devkit/createJMHBundle.sh >> bash configure --with-jmh=build/jmh/jars >> make tes

Re: RFR: 8311207: Optimization for j.u.UUID.toString [v6]

2023-07-01 Thread 温绍锦
> [PR 14578 ](https://github.com/openjdk/jdk/pull/14578) still has unresolved > discussions, continue to make improvements. > > # Benchmark Result > > > sh make/devkit/createJMHBundle.sh > bash configure --with-jmh=build/jmh/jars > make test TEST="micro:java.util.UUIDBench.toString" > > > ##

Re: RFR: 8311207: Optimization for j.u.UUID.toString [v5]

2023-07-01 Thread 温绍锦
> [PR 14578 ](https://github.com/openjdk/jdk/pull/14578) still has unresolved > discussions, continue to make improvements. > > # Benchmark Result > > > sh make/devkit/createJMHBundle.sh > bash configure --with-jmh=build/jmh/jars > make test TEST="micro:java.util.UUIDBench.toString" > > > ##

Re: RFR: 8311207: Optimization for j.u.UUID.toString [v4]

2023-07-01 Thread 温绍锦
> [PR 14578 ](https://github.com/openjdk/jdk/pull/14578) still has unresolved > discussions, continue to make improvements. > > # Benchmark Result > > > sh make/devkit/createJMHBundle.sh > bash configure --with-jmh=build/jmh/jars > make test TEST="micro:java.util.UUIDBench.toString" > > > ##

Re: RFR: 8311207: Optimization for j.u.UUID.toString [v3]

2023-07-01 Thread ExE Boss
On Sat, 1 Jul 2023 03:22:06 GMT, 温绍锦 wrote: >> [PR 14578 ](https://github.com/openjdk/jdk/pull/14578) still has unresolved >> discussions, continue to make improvements. >> >> # Benchmark Result >> >> >> sh make/devkit/createJMHBundle.sh >> bash configure --with-jmh=build/jmh/jars >> make tes

Re: RFR: 8311207: Optimization for j.u.UUID.toString

2023-06-30 Thread 温绍锦
On Sat, 1 Jul 2023 03:06:31 GMT, Chen Liang wrote: >> ![image](https://github.com/openjdk/jdk/assets/1166785/38c75145-b685-4c4e-a53a-97f8c44778e3) >> >> it's enabled > >> > @wenshao I have made my suggestions into a patch for you: >> > [wenshao#1](https://github.com/wenshao/jdk/pull/1) Feel fre

Re: RFR: 8311207: Optimization for j.u.UUID.toString

2023-06-30 Thread 温绍锦
On Sat, 1 Jul 2023 03:06:31 GMT, Chen Liang wrote: >> ![image](https://github.com/openjdk/jdk/assets/1166785/38c75145-b685-4c4e-a53a-97f8c44778e3) >> >> it's enabled > >> > @wenshao I have made my suggestions into a patch for you: >> > [wenshao#1](https://github.com/wenshao/jdk/pull/1) Feel fre

Re: RFR: 8311207: Optimization for j.u.UUID.toString [v3]

2023-06-30 Thread 温绍锦
> [PR 14578 ](https://github.com/openjdk/jdk/pull/14578) still has unresolved > discussions, continue to make improvements. > > # Benchmark Result > > > sh make/devkit/createJMHBundle.sh > bash configure --with-jmh=build/jmh/jars > make test TEST="micro:java.util.UUIDBench.toString" > > > ##

Re: RFR: 8311207: Optimization for j.u.UUID.toString

2023-06-30 Thread 温绍锦
On Sat, 1 Jul 2023 03:06:31 GMT, Chen Liang wrote: >> ![image](https://github.com/openjdk/jdk/assets/1166785/38c75145-b685-4c4e-a53a-97f8c44778e3) >> >> it's enabled > >> > @wenshao I have made my suggestions into a patch for you: >> > [wenshao#1](https://github.com/wenshao/jdk/pull/1) Feel fre

Re: RFR: 8311207: Optimization for j.u.UUID.toString

2023-06-30 Thread Chen Liang
On Sat, 1 Jul 2023 02:40:22 GMT, 温绍锦 wrote: >> [PR 14578 ](https://github.com/openjdk/jdk/pull/14578) still has unresolved >> discussions, continue to make improvements. >> >> # Benchmark Result >> >> >> sh make/devkit/createJMHBundle.sh >> bash configure --with-jmh=build/jmh/jars >> make tes

Re: RFR: 8311207: Optimization for j.u.UUID.toString

2023-06-30 Thread 温绍锦
On Sat, 1 Jul 2023 02:40:22 GMT, 温绍锦 wrote: >> [PR 14578 ](https://github.com/openjdk/jdk/pull/14578) still has unresolved >> discussions, continue to make improvements. >> >> # Benchmark Result >> >> >> sh make/devkit/createJMHBundle.sh >> bash configure --with-jmh=build/jmh/jars >> make tes

Re: RFR: 8311207: Optimization for j.u.UUID.toString [v2]

2023-06-30 Thread 温绍锦
> [PR 14578 ](https://github.com/openjdk/jdk/pull/14578) still has unresolved > discussions, continue to make improvements. > > # Benchmark Result > > > sh make/devkit/createJMHBundle.sh > bash configure --with-jmh=build/jmh/jars > make test TEST="micro:java.util.UUIDBench.toString" > > > ##

Re: RFR: 8311207: Optimization for j.u.UUID.toString

2023-06-30 Thread Chen Liang
On Sat, 1 Jul 2023 02:40:22 GMT, 温绍锦 wrote: >> [PR 14578 ](https://github.com/openjdk/jdk/pull/14578) still has unresolved >> discussions, continue to make improvements. >> >> # Benchmark Result >> >> >> sh make/devkit/createJMHBundle.sh >> bash configure --with-jmh=build/jmh/jars >> make tes

Re: RFR: 8311207: Optimization for j.u.UUID.toString

2023-06-30 Thread 温绍锦
On Sat, 1 Jul 2023 01:44:15 GMT, 温绍锦 wrote: > [PR 14578 ](https://github.com/openjdk/jdk/pull/14578) still has unresolved > discussions, continue to make improvements. > > # Benchmark Result > > > sh make/devkit/createJMHBundle.sh > bash configure --with-jmh=build/jmh/jars > make test TEST="m

Re: RFR: 8311207: Optimization for j.u.UUID.toString

2023-06-30 Thread Chen Liang
On Sat, 1 Jul 2023 02:33:11 GMT, 温绍锦 wrote: > > Is using `Unsafe` directly consistently faster than using ByteArray? It > > should have similar performance as ByteArray's VarHandle is simply a > > wrapper around Unsafe's put/get methods. > > Using Unsafe on aliyun_ecs_c8i.xlarge and MacBookPro

Re: RFR: 8311207: Optimization for j.u.UUID.toString

2023-06-30 Thread 温绍锦
On Sat, 1 Jul 2023 02:09:36 GMT, Chen Liang wrote: > Is using `Unsafe` directly consistently faster than using ByteArray? It > should have similar performance as ByteArray's VarHandle is simply a wrapper > around Unsafe's put/get methods. Using Unsafe on aliyun_ecs_c8i.xlarge and MacBookPro M1

Re: RFR: 8311207: Optimization for j.u.UUID.toString

2023-06-30 Thread Chen Liang
On Sat, 1 Jul 2023 01:44:15 GMT, 温绍锦 wrote: > [PR 14578 ](https://github.com/openjdk/jdk/pull/14578) still has unresolved > discussions, continue to make improvements. > > # Benchmark Result > > > sh make/devkit/createJMHBundle.sh > bash configure --with-jmh=build/jmh/jars > make test TEST="m

Re: RFR: 8311207: Optimization for j.u.UUID.toString

2023-06-30 Thread Chen Liang
On Sat, 1 Jul 2023 01:44:15 GMT, 温绍锦 wrote: > [PR 14578 ](https://github.com/openjdk/jdk/pull/14578) still has unresolved > discussions, continue to make improvements. > > # Benchmark Result > > > sh make/devkit/createJMHBundle.sh > bash configure --with-jmh=build/jmh/jars > make test TEST="m

RFR: 8311207: Optimization for j.u.UUID.toString

2023-06-30 Thread 温绍锦
[PR 14578 ](https://github.com/openjdk/jdk/pull/14578) still has unresolved discussions, continue to make improvements. # Benchmark Result sh make/devkit/createJMHBundle.sh bash configure --with-jmh=build/jmh/jars make test TEST="micro:java.util.UUIDBench.toString" ## 1. [aliyun_ecs_c8i.xlar