--- old/src/java.base/linux/classes/jdk/internal/platform/cgroupv1/CgroupV1SubsystemController.java 2020-01-09 20:39:15.385141613 +0100 +++ new/src/java.base/linux/classes/jdk/internal/platform/cgroupv1/CgroupV1SubsystemController.java 2020-01-09 20:39:15.248141469 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -26,6 +26,7 @@ package jdk.internal.platform.cgroupv1; import jdk.internal.platform.CgroupSubsystemController; +import jdk.internal.platform.Metrics; public class CgroupV1SubsystemController implements CgroupSubsystemController { @@ -76,6 +77,6 @@ } public static long longValOrUnlimited(long value) { - return value > UNLIMITED_MIN ? CgroupSubsystemController.RETVAL_UNLIMITED : value; + return value > UNLIMITED_MIN ? Metrics.LONG_RETVAL_UNLIMITED : value; } }