equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2014, 2019, 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. |
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
20 * or visit www.oracle.com if you need additional information or have any |
20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. |
21 * questions. |
22 */ |
22 */ |
23 |
23 |
|
24 package gc.g1; |
|
25 |
24 /* |
26 /* |
25 * @test TestG1TraceEagerReclaimHumongousObjects |
27 * @test TestG1TraceEagerReclaimHumongousObjects |
26 * @bug 8058801 8048179 |
28 * @bug 8058801 8048179 |
27 * @summary Ensure that the output for a G1TraceEagerReclaimHumongousObjects |
29 * @summary Ensure that the output for a G1TraceEagerReclaimHumongousObjects |
28 * includes the expected necessary messages. |
30 * includes the expected necessary messages. |
29 * @key gc |
31 * @key gc |
30 * @requires vm.gc.G1 |
32 * @requires vm.gc.G1 |
31 * @library /test/lib |
33 * @library /test/lib |
32 * @modules java.base/jdk.internal.misc |
34 * @modules java.base/jdk.internal.misc |
33 * java.management |
35 * java.management |
|
36 * @run main gc.g1.TestG1TraceEagerReclaimHumongousObjects |
34 */ |
37 */ |
35 |
38 |
36 import jdk.test.lib.process.OutputAnalyzer; |
39 import jdk.test.lib.process.OutputAnalyzer; |
37 import jdk.test.lib.process.ProcessTools; |
40 import jdk.test.lib.process.ProcessTools; |
38 import java.util.LinkedList; |
41 import java.util.LinkedList; |