equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2015, 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. |
37 import java.util.stream.Collectors; |
37 import java.util.stream.Collectors; |
38 |
38 |
39 /** |
39 /** |
40 * @test TestHumongousMovement |
40 * @test TestHumongousMovement |
41 * @summary Checks that Humongous objects are not moved during GC |
41 * @summary Checks that Humongous objects are not moved during GC |
42 * @requires vm.gc=="G1" | vm.gc=="null" |
42 * @requires vm.gc.G1 |
43 * @library /testlibrary /test/lib / |
43 * @library /testlibrary /test/lib / |
44 * @modules java.base/jdk.internal.misc |
44 * @modules java.base/jdk.internal.misc |
45 * @modules java.management |
45 * @modules java.management |
46 * @build sun.hotspot.WhiteBox |
46 * @build sun.hotspot.WhiteBox |
47 * gc.testlibrary.Helpers |
47 * gc.testlibrary.Helpers |