jdk/test/java/lang/management/MemoryMXBean/ResetPeakMemoryUsage.java
changeset 30376 2ccf2cf7ea48
parent 24509 5d02a6d25f78
child 38346 5ed176fa7d97
child 37890 f6cb5112c878
equal deleted inserted replaced
30375:6da086d0f46d 30376:2ccf2cf7ea48
     1 /*
     1 /*
     2  * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2003, 2015, 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.
    31  * @bug     4892507
    31  * @bug     4892507
    32  * @summary Basic Test for MemoryPool.resetPeakUsage()
    32  * @summary Basic Test for MemoryPool.resetPeakUsage()
    33  * @author  Mandy Chung
    33  * @author  Mandy Chung
    34  *
    34  *
    35  * @library /lib/testlibrary/
    35  * @library /lib/testlibrary/
       
    36  * @modules java.management
    36  * @build jdk.testlibrary.* ResetPeakMemoryUsage MemoryUtil RunUtil
    37  * @build jdk.testlibrary.* ResetPeakMemoryUsage MemoryUtil RunUtil
    37  * @run main ResetPeakMemoryUsage
    38  * @run main ResetPeakMemoryUsage
    38  */
    39  */
    39 
    40 
    40 import java.lang.management.*;
    41 import java.lang.management.*;