RFR: JDK-8266391: Replace use of reflection in jdk.internal.platform.Metrics
Claes Redestad
redestad at openjdk.java.net
Mon May 3 20:21:49 UTC 2021
On Fri, 30 Apr 2021 22:39:46 GMT, Mandy Chung <mchung at openjdk.org> wrote:
> Replace the use of reflection with a direct method call to a platform-specific implementation class where `SystemMetrics::instance` returns `CgroupMetrics.getInstance()` on linux and returns null on other platforms.
Looks good to me!
-------------
Marked as reviewed by redestad (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/3828
More information about the core-libs-dev
mailing list