hotspot/test/runtime/NMT/SummaryAfterShutdown.java
changeset 40631 ed82623d7831
parent 38089 9e58203ef0e2
equal deleted inserted replaced
40629:514bf0744294 40631:ed82623d7831
     1 /*
     1 /*
     2  * Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2013, 2016, 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.
    23 
    23 
    24 /*
    24 /*
    25  * @test
    25  * @test
    26  * @key nmt jcmd
    26  * @key nmt jcmd
    27  * @summary Verify that jcmd correctly reports that NMT is not enabled after a shutdown
    27  * @summary Verify that jcmd correctly reports that NMT is not enabled after a shutdown
    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  * @run main/othervm -XX:NativeMemoryTracking=detail SummaryAfterShutdown
    31  * @run main/othervm -XX:NativeMemoryTracking=detail SummaryAfterShutdown
    32  */
    32  */
    33 
    33 
    34 import jdk.test.lib.*;
    34 import jdk.test.lib.process.ProcessTools;
       
    35 import jdk.test.lib.process.OutputAnalyzer;
       
    36 import jdk.test.lib.JDKToolFinder;
    35 
    37 
    36 public class SummaryAfterShutdown {
    38 public class SummaryAfterShutdown {
    37 
    39 
    38   public static void main(String args[]) throws Exception {
    40   public static void main(String args[]) throws Exception {
    39     OutputAnalyzer output;
    41     OutputAnalyzer output;