test/runtime/NMT/ReleaseNoCommit.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
*** old/test/runtime/NMT/ReleaseNoCommit.java Tue Dec 9 15:13:24 2014
--- new/test/runtime/NMT/ReleaseNoCommit.java Tue Dec 9 15:13:24 2014
*** 23,43 ****
--- 23,43 ----
/*
* @test
* @summary Release uncommitted memory and make sure NMT handles it correctly
* @key nmt regression
! * @library /testlibrary /testlibrary/whitebox
! * @library /testlibrary /../../test/lib
* @build ReleaseNoCommit
! * @run main ClassFileInstaller sun.hotspot.WhiteBox
! * @run main ClassFileInstaller jdk.testlib.WhiteBox
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=summary ReleaseNoCommit
*/
import com.oracle.java.testlibrary.JDKToolFinder;
import com.oracle.java.testlibrary.OutputAnalyzer;
import com.oracle.java.testlibrary.ProcessTools;
! import sun.hotspot.WhiteBox;
! import jdk.testlib.WhiteBox;
public class ReleaseNoCommit {
public static void main(String args[]) throws Exception {
WhiteBox wb = WhiteBox.getWhiteBox();
test/runtime/NMT/ReleaseNoCommit.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File