RFR: 8260448: Simplify ManagementFactory$PlatformMBeanFinder

Daniel Fuchs dfuchs at openjdk.java.net
Wed Jan 27 11:21:43 UTC 2021


On Tue, 26 Jan 2021 19:34:35 GMT, Claes Redestad <redestad at openjdk.org> 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 to transform lambda expressions back into for loops though ;-)

-------------

Marked as reviewed by dfuchs (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/2244


More information about the serviceability-dev mailing list