Re: RFR: 8260448: Simplify ManagementFactory$PlatformMBeanFinder

2021-01-27 Thread Claes Redestad
On Tue, 26 Jan 2021 21:26:32 GMT, Mandy Chung wrote: >> Simplify and desugar the static initialization of PlatformMBeanFinder. >> >> While arguably making the code easier to comprehend, this saves 5-6ms on >> startup in various applications such as the spring-petclinic. > > Looks fine. @mlchu

Re: RFR: 8260448: Simplify ManagementFactory$PlatformMBeanFinder

2021-01-27 Thread Daniel Fuchs
On Tue, 26 Jan 2021 19:34:35 GMT, Claes Redestad wrote: > Simplify and desugar the static initialization of PlatformMBeanFinder. > > While arguably making the code easier to comprehend, this saves 5-6ms on > startup in various applications such as the spring-petclinic. LGTM - it's a bit sad t

Re: RFR: 8260448: Simplify ManagementFactory$PlatformMBeanFinder

2021-01-26 Thread Mandy Chung
On Tue, 26 Jan 2021 19:34:35 GMT, Claes Redestad wrote: > Simplify and desugar the static initialization of PlatformMBeanFinder. > > While arguably making the code easier to comprehend, this saves 5-6ms on > startup in various applications such as the spring-petclinic. Looks fine. --

RFR: 8260448: Simplify ManagementFactory$PlatformMBeanFinder

2021-01-26 Thread Claes Redestad
Simplify and desugar the static initialization of PlatformMBeanFinder. While arguably making the code easier to comprehend, this saves 5-6ms on startup in various applications such as the spring-petclinic. - Commit messages: - Simplify PlatformMBeanFinder Changes: https://git.ope