test/runtime/NMT/MallocStressTest.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hotspot Cdiff test/runtime/NMT/MallocStressTest.java

test/runtime/NMT/MallocStressTest.java

Print this page

        

*** 23,45 **** /* * @test * @summary Stress test for malloc tracking * @key nmt jcmd stress ! * @library /testlibrary /testlibrary/whitebox * @build MallocStressTest * @ignore - This test is disabled since it will stress NMT and timeout during normal testing ! * @run main ClassFileInstaller sun.hotspot.WhiteBox * @run main/othervm/timeout=600 -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=detail MallocStressTest */ import java.util.concurrent.atomic.AtomicInteger; import java.util.ArrayList; import java.util.List; import java.util.Random; import com.oracle.java.testlibrary.*; ! import sun.hotspot.WhiteBox; public class MallocStressTest { private static int K = 1024; // The stress test runs in three phases: --- 23,45 ---- /* * @test * @summary Stress test for malloc tracking * @key nmt jcmd stress ! * @library /testlibrary /../../test/lib * @build MallocStressTest * @ignore - This test is disabled since it will stress NMT and timeout during normal testing ! * @run main ClassFileInstaller jdk.testlib.WhiteBox * @run main/othervm/timeout=600 -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=detail MallocStressTest */ import java.util.concurrent.atomic.AtomicInteger; import java.util.ArrayList; import java.util.List; import java.util.Random; import com.oracle.java.testlibrary.*; ! import jdk.testlib.WhiteBox; public class MallocStressTest { private static int K = 1024; // The stress test runs in three phases:
test/runtime/NMT/MallocStressTest.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File