Re: Integrated: 8316582: Minor startup regression in 22-b15 due JDK-8310929

2023-09-21 Thread Claes Redestad
On Wed, 20 Sep 2023 09:12:48 GMT, Claes Redestad wrote: > This patch reverts the use of `ByteArrayLittleEndian` in `StringLatin1`. > > This use is the cause of a small (~1.5ms) startup regression in 22-b15. While > a manageable startup regression in and of itself, the use of `VarHandles` in >

Re: Integrated: 8316582: Minor startup regression in 22-b15 due JDK-8310929

2023-09-21 Thread 温绍锦
On Wed, 20 Sep 2023 09:12:48 GMT, Claes Redestad wrote: > This patch reverts the use of `ByteArrayLittleEndian` in `StringLatin1`. > > This use is the cause of a small (~1.5ms) startup regression in 22-b15. While > a manageable startup regression in and of itself, the use of `VarHandles` in >

Re: Integrated: 8316582: Minor startup regression in 22-b15 due JDK-8310929

2023-09-21 Thread Claes Redestad
On Wed, 20 Sep 2023 09:21:00 GMT, Chen Liang wrote: > Can #14636 be a solution to avoid early VH initialization? I think #14636 would more or less solve the startup regression, yes, but the jury is out on whether we want to accept that. There's value in taking steps to make `VH` indistinguisha

Integrated: 8316582: Minor startup regression in 22-b15 due JDK-8310929

2023-09-21 Thread Claes Redestad
On Wed, 20 Sep 2023 09:12:48 GMT, Claes Redestad wrote: > This patch reverts the use of `ByteArrayLittleEndian` in `StringLatin1`. > > This use is the cause of a small (~1.5ms) startup regression in 22-b15. While > a manageable startup regression in and of itself, the use of `VarHandles` in >

Re: Integrated: 8316582: Minor startup regression in 22-b15 due JDK-8310929

2023-09-21 Thread Claes Redestad
On Wed, 20 Sep 2023 09:12:48 GMT, Claes Redestad wrote: > This patch reverts the use of `ByteArrayLittleEndian` in `StringLatin1`. > > This use is the cause of a small (~1.5ms) startup regression in 22-b15. While > a manageable startup regression in and of itself, the use of `VarHandles` in >

Re: Integrated: 8316582: Minor startup regression in 22-b15 due JDK-8310929

2023-09-21 Thread Chen Liang
On Wed, 20 Sep 2023 09:12:48 GMT, Claes Redestad wrote: > This patch reverts the use of `ByteArrayLittleEndian` in `StringLatin1`. > > This use is the cause of a small (~1.5ms) startup regression in 22-b15. While > a manageable startup regression in and of itself, the use of `VarHandles` in >

Re: Integrated: 8316582: Minor startup regression in 22-b15 due JDK-8310929

2023-09-21 Thread Roger Riggs
On Wed, 20 Sep 2023 09:12:48 GMT, Claes Redestad wrote: > This patch reverts the use of `ByteArrayLittleEndian` in `StringLatin1`. > > This use is the cause of a small (~1.5ms) startup regression in 22-b15. While > a manageable startup regression in and of itself, the use of `VarHandles` in >

Integrated: 8316582: Minor startup regression in 22-b15 due JDK-8310929

2023-09-21 Thread Claes Redestad
This patch reverts the use of `ByteArrayLittleEndian` in `StringLatin1`. This use is the cause of a small (~1.5ms) startup regression in 22-b15. While a manageable startup regression in and of itself, the use of `VarHandles` in core utility classes brings an increased risk of bootstrap circular