test/hotspot/jtreg/runtime/containers/docker/TestMemoryAwareness.java
changeset 50545 292a4a87c321
parent 47908 d6d00f785f39
equal deleted inserted replaced
50544:5f20bf95c052 50545:292a4a87c321
     1 /*
     1 /*
     2  * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2017, 2018, 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.
    28  * @requires docker.support
    28  * @requires docker.support
    29  * @library /test/lib
    29  * @library /test/lib
    30  * @modules java.base/jdk.internal.misc
    30  * @modules java.base/jdk.internal.misc
    31  *          java.management
    31  *          java.management
    32  *          jdk.jartool/sun.tools.jar
    32  *          jdk.jartool/sun.tools.jar
    33  * @build Common AttemptOOM sun.hotspot.WhiteBox PrintContainerInfo
    33  * @build AttemptOOM sun.hotspot.WhiteBox PrintContainerInfo
    34  * @run driver ClassFileInstaller -jar whitebox.jar sun.hotspot.WhiteBox sun.hotspot.WhiteBox$WhiteBoxPermission
    34  * @run driver ClassFileInstaller -jar whitebox.jar sun.hotspot.WhiteBox sun.hotspot.WhiteBox$WhiteBoxPermission
    35  * @run driver TestMemoryAwareness
    35  * @run driver TestMemoryAwareness
    36  */
    36  */
       
    37 import jdk.test.lib.containers.docker.Common;
    37 import jdk.test.lib.containers.docker.DockerRunOptions;
    38 import jdk.test.lib.containers.docker.DockerRunOptions;
    38 import jdk.test.lib.containers.docker.DockerTestUtils;
    39 import jdk.test.lib.containers.docker.DockerTestUtils;
    39 
    40 
    40 
    41 
    41 public class TestMemoryAwareness {
    42 public class TestMemoryAwareness {