runtime/containers/docker/TestCPUAwareness.java typo of printing parameters (period should be shares)
Wang Haomin
wanghaomin at loongson.cn
Fri Feb 15 06:53:18 UTC 2019
Hi,
bug: https://bugs.openjdk.java.net/browse/JDK-8219074
It's just a typo. Want to print shares, but print period.
diff -r f940579715a5 test/hotspot/jtreg/runtime/containers/docker/TestCPUAwareness.java
--- a/test/hotspot/jtreg/runtime/containers/docker/TestCPUAwareness.java Thu Feb 14 15:27:46 2019 -0800
+++ b/test/hotspot/jtreg/runtime/containers/docker/TestCPUAwareness.java Fri Feb 15 10:27:59 2019 +0800
@@ -175,7 +175,7 @@
System.out.println("cpuset = " + cpuset);
System.out.println("quota = " + quota);
System.out.println("period = " + period);
- System.out.println("shares = " + period);
+ System.out.println("shares = " + shares);
System.out.println("usePreferContainerQuotaForCPUCount = " + usePreferContainerQuotaForCPUCount);
System.out.println("expectedAPC = " + expectedAPC);
Thanks,
Wang Haomin
More information about the hotspot-runtime-dev
mailing list