hotspot/test/runtime/NMT/CheckForProperDetailStackTrace.java
changeset 40631 ed82623d7831
parent 40383 1ebc8c5aed30
child 41086 06b10263e509
equal deleted inserted replaced
40629:514bf0744294 40631:ed82623d7831
    23 
    23 
    24  /*
    24  /*
    25  * @test
    25  * @test
    26  * @key nmt
    26  * @key nmt
    27  * @summary Running with NMT detail should produce expected stack traces.
    27  * @summary Running with NMT detail should produce expected stack traces.
    28  * @library /testlibrary
    28  * @library /test/lib
    29  * @modules java.base/jdk.internal.misc
    29  * @modules java.base/jdk.internal.misc
    30  *          java.management
    30  *          java.management
    31  */
    31  */
    32 
    32 
    33 import jdk.test.lib.*;
    33 import jdk.test.lib.Platform;
       
    34 import jdk.test.lib.process.ProcessTools;
       
    35 import jdk.test.lib.process.OutputAnalyzer;
    34 import java.util.regex.Matcher;
    36 import java.util.regex.Matcher;
    35 import java.util.regex.Pattern;
    37 import java.util.regex.Pattern;
    36 
    38 
    37 public class CheckForProperDetailStackTrace {
    39 public class CheckForProperDetailStackTrace {
    38     /* The stack trace we look for by default. Note that :: has been replaced by .*
    40     /* The stack trace we look for by default. Note that :: has been replaced by .*