equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
26 * @key nmt jcmd |
26 * @key nmt jcmd |
27 * @summary Sanity check the output of NMT |
27 * @summary Sanity check the output of NMT |
28 * @library /testlibrary /testlibrary/whitebox |
28 * @library /testlibrary /testlibrary/whitebox |
29 * @build SummarySanityCheck |
29 * @build SummarySanityCheck |
30 * @run main ClassFileInstaller sun.hotspot.WhiteBox |
30 * @run main ClassFileInstaller sun.hotspot.WhiteBox |
|
31 * sun.hotspot.WhiteBox$WhiteBoxPermission |
31 * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:NativeMemoryTracking=summary -XX:+WhiteBoxAPI SummarySanityCheck |
32 * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:NativeMemoryTracking=summary -XX:+WhiteBoxAPI SummarySanityCheck |
32 */ |
33 */ |
33 |
34 |
34 import com.oracle.java.testlibrary.*; |
35 import com.oracle.java.testlibrary.*; |
35 |
36 |