test/runtime/NMT/ReleaseNoCommit.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
hotspot Cdiff test/runtime/NMT/ReleaseNoCommit.java
test/runtime/NMT/ReleaseNoCommit.java
Print this page
*** 23,43 ****
/*
* @test
* @summary Release uncommitted memory and make sure NMT handles it correctly
* @key nmt regression
! * @library /testlibrary /testlibrary/whitebox
* @build ReleaseNoCommit
! * @run main ClassFileInstaller sun.hotspot.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;
public class ReleaseNoCommit {
public static void main(String args[]) throws Exception {
WhiteBox wb = WhiteBox.getWhiteBox();
--- 23,43 ----
/*
* @test
* @summary Release uncommitted memory and make sure NMT handles it correctly
* @key nmt regression
! * @library /testlibrary /../../test/lib
* @build ReleaseNoCommit
! * @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 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