test/hotspot/jtreg/runtime/containers/cgroup/PlainRead.java
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
*** old/test/hotspot/jtreg/runtime/containers/cgroup/PlainRead.java Wed May 30 14:32:07 2018
--- new/test/hotspot/jtreg/runtime/containers/cgroup/PlainRead.java Wed May 30 14:32:07 2018
*** 1,7 ****
--- 1,7 ----
/*
! * Copyright (c) 2017, 2018, 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*** 70,80 ****
--- 70,77 ----
OutputAnalyzer output = new OutputAnalyzer(pb.start());
if (wb.isContainerized()) {
System.out.println("Inside a cgroup, testing...");
isContainer(output);
} else {
System.out.println("Not in a cgroup, testing...");
isNotContainer(output);
}
}
}
test/hotspot/jtreg/runtime/containers/cgroup/PlainRead.java
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File