Re: RFR: 8340571: Outline code from the loop in ZipFile.Source.initCen [v3]

2024-09-26 Thread Claes Redestad
On Wed, 25 Sep 2024 13:43:49 GMT, Claes Redestad wrote: >> This PR suggests refactoring `ZipFile.Source.initCEN` to move as much logic >> as possible into the per-entry method processor. This inner method will be >> called often and JIT optimized earlier in the bootstrap sequence. >> >> Startu

Re: RFR: 8340571: Outline code from the loop in ZipFile.Source.initCen [v3]

2024-09-25 Thread Eirik Bjørsnøs
On Wed, 25 Sep 2024 13:43:49 GMT, Claes Redestad wrote: >> This PR suggests refactoring `ZipFile.Source.initCEN` to move as much logic >> as possible into the per-entry method processor. This inner method will be >> called often and JIT optimized earlier in the bootstrap sequence. >> >> Startu

Re: RFR: 8340571: Outline code from the loop in ZipFile.Source.initCen [v3]

2024-09-25 Thread Claes Redestad
> This PR suggests refactoring `ZipFile.Source.initCEN` to move as much logic > as possible into the per-entry method processor. This inner method will be > called often and JIT optimized earlier in the bootstrap sequence. > > Startup tests using the OpenJDK benchmarks.jar show a ~1ms improvemen

Re: RFR: 8340571: Outline code from the loop in ZipFile.Source.initCen [v2]

2024-09-23 Thread Claes Redestad
> This PR suggests refactoring `ZipFile.Source.initCEN` to move as much logic > as possible into the per-entry method processor. This inner method will be > called often and JIT optimized earlier in the bootstrap sequence. > > Startup tests using the OpenJDK benchmarks.jar show a ~1ms improvemen

RFR: 8340571: Outline code from the loop in ZipFile.Source.initCen

2024-09-23 Thread Claes Redestad
This PR suggests refactoring `ZipFile.Source.initCEN` to move as much logic as possible into the per-entry method processor. This inner method will be called often and JIT optimized earlier in the bootstrap sequence. Startup tests using the OpenJDK benchmarks.jar show a ~1ms improvement on both