On Fri, 30 Apr 2021 22:39:46 GMT, Mandy Chung <[email protected]> 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

Reply via email to