< prev index next >

test/hotspot/jtreg/containers/cgroup/PlainRead.java

Print this page
@  rev 56576 : 8230305: Cgroups v2: Container awareness
|  Summary: Implement Cgroups v2 container awareness in hotspot
~  Reviewed-by: bobv

*** 44,54 **** static public void noMatch(OutputAnalyzer oa, String what, String value) { oa.shouldNotMatch("^.*" + what + " *" + value + ".*$"); } ! static final String good_value = "(\\d+|-1|Unlimited)"; static final String bad_value = "(failed)"; static final String[] variables = {"Memory Limit is:", "CPU Shares is:", "CPU Quota is:", "CPU Period is:", "active_processor_count:"}; static public void isContainer(OutputAnalyzer oa) { --- 44,54 ---- static public void noMatch(OutputAnalyzer oa, String what, String value) { oa.shouldNotMatch("^.*" + what + " *" + value + ".*$"); } ! static final String good_value = "(\\d+|-1|Unlimited|max)"; static final String bad_value = "(failed)"; static final String[] variables = {"Memory Limit is:", "CPU Shares is:", "CPU Quota is:", "CPU Period is:", "active_processor_count:"}; static public void isContainer(OutputAnalyzer oa) {
< prev index next >