< prev index next >

src/java.base/linux/classes/jdk/internal/platform/CgroupMetrics.java

Print this page
@  rev 57586 : Review changes
|
o  rev 57585 : 8231111: Cgroups v2: Rework Metrics in java.base so as to recognize unified hierarchy
|  Reviewed-by: bobv
~
o  rev 56863 : 8231111: Cgroups v2: Rework Metrics in java.base so as to recognize unified hierarchy
|  Reviewed-by: bobv
~

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2019, Red Hat Inc.
+ * Copyright (c) 2020, Red Hat Inc.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this

@@ -119,11 +119,11 @@
     public double getCpuSetMemoryPressure() {
         return subsystem.getCpuSetMemoryPressure();
     }
 
     @Override
-    public boolean isCpuSetMemoryPressureEnabled() {
+    public Boolean isCpuSetMemoryPressureEnabled() {
         return subsystem.isCpuSetMemoryPressureEnabled();
     }
 
     @Override
     public long getMemoryFailCount() {

@@ -204,11 +204,11 @@
     public long getMemoryAndSwapUsage() {
         return subsystem.getMemoryAndSwapUsage();
     }
 
     @Override
-    public boolean isMemoryOOMKillEnabled() {
+    public Boolean isMemoryOOMKillEnabled() {
         return subsystem.isMemoryOOMKillEnabled();
     }
 
     @Override
     public long getMemorySoftLimit() {
< prev index next >