equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2014, 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. |
24 /** |
24 /** |
25 * @test |
25 * @test |
26 * @bug 8031323 |
26 * @bug 8031323 |
27 * @summary Verify that object's alignment in eden space is not affected by |
27 * @summary Verify that object's alignment in eden space is not affected by |
28 * SurvivorAlignmentInBytes option. |
28 * SurvivorAlignmentInBytes option. |
29 * @requires vm.gc != "Z" |
29 * @requires vm.gc != "Z" & vm.gc != "Shenandoah" |
30 * @library /test/lib |
30 * @library /test/lib |
31 * @modules java.base/jdk.internal.misc |
31 * @modules java.base/jdk.internal.misc |
32 * java.management |
32 * java.management |
33 * @build sun.hotspot.WhiteBox |
33 * @build sun.hotspot.WhiteBox |
34 * @run driver ClassFileInstaller sun.hotspot.WhiteBox |
34 * @run driver ClassFileInstaller sun.hotspot.WhiteBox |