8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 */
23
24 /*
25 * @test
26 * @bug 4858522 6191542
27 * @summary Basic unit test of OperatingSystemMXBean.getCommittedVirtualMemorySize()
28 * @author Steve Bohne
29 */
30
31 /*
32 * This test is just a sanity check and does not check for the correct
33 * value. The correct value should be checked manually:
34 * Solaris:
35 * 1. In a shell, enter the command: "ps -efly"
36 * 2. Find your process, and look in the "SZ" column. Reported in Kbytes.
37 * Linux:
38 * 1. In a shell, enter the command: "ps -efly"
39 * 2. Find your process, and look in the "SZ" column. Reported in Kbytes.
40 * Windows NT/XP/2000:
41 * 1. Hit Ctrl-Alt-Delete, select Task Manager, go to Processes tab.
42 * 2. Find your process and look in the "Mem Usage" column. Reported in
43 * Kbytes.
44 * Windows 98/ME:
45 * Not supported.
46 */
47
|
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 */
23
24 /*
25 * @test
26 * @bug 4858522 6191542
27 * @summary Basic unit test of OperatingSystemMXBean.getCommittedVirtualMemorySize()
28 * @requires vm.gc != "Z"
29 * @author Steve Bohne
30 */
31
32 /*
33 * This test is just a sanity check and does not check for the correct
34 * value. The correct value should be checked manually:
35 * Solaris:
36 * 1. In a shell, enter the command: "ps -efly"
37 * 2. Find your process, and look in the "SZ" column. Reported in Kbytes.
38 * Linux:
39 * 1. In a shell, enter the command: "ps -efly"
40 * 2. Find your process, and look in the "SZ" column. Reported in Kbytes.
41 * Windows NT/XP/2000:
42 * 1. Hit Ctrl-Alt-Delete, select Task Manager, go to Processes tab.
43 * 2. Find your process and look in the "Mem Usage" column. Reported in
44 * Kbytes.
45 * Windows 98/ME:
46 * Not supported.
47 */
48
|