1 /*
2 * Copyright Amazon.com Inc. or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
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
7 * published by the Free Software Foundation.
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
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
21 * questions.
22 *
23 */
24
25 /*
26 * This tests object array sizes by running gtests with different settings.
27 */
28
29 /* @test id=with-coops-with-ccp
30 * @summary Run object array size tests with compressed oops and compressed class pointers
31 * @library /test/lib
32 * @modules java.base/jdk.internal.misc
33 * java.xml
34 * @run main/native GTestWrapper --gtest_filter=objArrayOop -XX:+UseCompressedClassPointers -XX:+UseCompressedOops
35 */
36 /* @test id=with-coops-no-ccp
37 * @summary Run object array size tests with compressed oops and compressed class pointers
38 * @library /test/lib
39 * @modules java.base/jdk.internal.misc
40 * java.xml
41 * @run main/native GTestWrapper --gtest_filter=objArrayOop -XX:-UseCompressedClassPointers -XX:+UseCompressedOops
42 */
43 /* @test id=no-coops-with-ccp
44 * @summary Run object array size tests with compressed oops and compressed class pointers
45 * @library /test/lib
46 * @modules java.base/jdk.internal.misc
47 * java.xml
48 * @run main/native GTestWrapper --gtest_filter=objArrayOop -XX:+UseCompressedClassPointers -XX:-UseCompressedOops
49 */
50 /* @test id=no-coops-no-ccp
51 * @summary Run object array size tests with compressed oops and compressed class pointers
52 * @library /test/lib
53 * @modules java.base/jdk.internal.misc
54 * java.xml
55 * @run main/native GTestWrapper --gtest_filter=objArrayOop -XX:-UseCompressedClassPointers -XX:-UseCompressedOops
56 */
57
58 /* @test id=with-coops-with-ccp-large-align
59 * @summary Run object array size tests with compressed oops and compressed class pointers
60 * @library /test/lib
61 * @modules java.base/jdk.internal.misc
62 * java.xml
63 * @run main/native GTestWrapper --gtest_filter=objArrayOop -XX:+UseCompressedClassPointers -XX:+UseCompressedOops -XX:ObjAlignmentInBytes=256
64 */
65 /* @test id=with-coops-no-ccp-large-align
66 * @summary Run object array size tests with compressed oops and compressed class pointers
67 * @library /test/lib
68 * @modules java.base/jdk.internal.misc
69 * java.xml
70 * @run main/native GTestWrapper --gtest_filter=objArrayOop -XX:-UseCompressedClassPointers -XX:+UseCompressedOops -XX:ObjAlignmentInBytes=256
71 */
72 /* @test id=no-coops-with-ccp-large-align
73 * @summary Run object array size tests with compressed oops and compressed class pointers
74 * @library /test/lib
75 * @modules java.base/jdk.internal.misc
76 * java.xml
77 * @run main/native GTestWrapper --gtest_filter=objArrayOop -XX:+UseCompressedClassPointers -XX:-UseCompressedOops -XX:ObjAlignmentInBytes=256
78 */
79 /* @test id=no-coops-no-ccp-large-align
80 * @summary Run object array size tests with compressed oops and compressed class pointers
81 * @library /test/lib
82 * @modules java.base/jdk.internal.misc
83 * java.xml
84 * @run main/native GTestWrapper --gtest_filter=objArrayOop -XX:-UseCompressedClassPointers -XX:-UseCompressedOops -XX:ObjAlignmentInBytes=256
85 */