< prev index next > test/hotspot/jtreg/gtest/ObjArrayTests.java
Print this page
/*
* Copyright Amazon.com Inc. or its affiliates. All rights reserved.
+ * Copyright (c) 2026, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*/
/* @test id=with-coops
* @summary Run object array size tests with compressed oops
* @library /test/lib
- * @modules java.base/jdk.internal.misc
- * java.xml
- * @run main/native GTestWrapper --gtest_filter=objArrayOop -XX:+UseCompressedOops
+ * @run main/native GTestWrapper --gtest_filter=objArrayOop.* -XX:+UseCompressedOops -XX:ObjectAlignmentInBytes=8
*/
/* @test id=no-coops
+ * @summary Run object array size tests without compressed oops
+ * @library /test/lib
+ * @run main/native GTestWrapper --gtest_filter=objArrayOop.* -XX:-UseCompressedOops -XX:ObjectAlignmentInBytes=8
+ */
+
+ /* @test id=with-coops-medium-align
* @summary Run object array size tests with compressed oops
* @library /test/lib
- * @modules java.base/jdk.internal.misc
- * java.xml
- * @run main/native GTestWrapper --gtest_filter=objArrayOop -XX:-UseCompressedOops
+ * @run main/native GTestWrapper --gtest_filter=objArrayOop.* -XX:+UseCompressedOops -XX:ObjectAlignmentInBytes=16
+ */
+
+ /* @test id=no-coops-medium-align
+ * @summary Run object array size tests without compressed oops
+ * @library /test/lib
+ * @run main/native GTestWrapper --gtest_filter=objArrayOop.* -XX:-UseCompressedOops -XX:ObjectAlignmentInBytes=16
*/
/* @test id=with-coops-large-align
* @summary Run object array size tests with compressed oops
* @library /test/lib
- * @modules java.base/jdk.internal.misc
- * java.xml
- * @run main/native GTestWrapper --gtest_filter=objArrayOop -XX:+UseCompressedOops -XX:ObjAlignmentInBytes=256
+ * @run main/native GTestWrapper --gtest_filter=objArrayOop.* -XX:+UseCompressedOops -XX:ObjectAlignmentInBytes=256
*/
/* @test id=no-coops-large-align
- * @summary Run object array size tests with compressed oops
+ * @summary Run object array size tests without compressed oops
* @library /test/lib
- * @modules java.base/jdk.internal.misc
- * java.xml
- * @run main/native GTestWrapper --gtest_filter=objArrayOop -XX:-UseCompressedOops -XX:ObjAlignmentInBytes=256
+ * @run main/native GTestWrapper --gtest_filter=objArrayOop.* -XX:-UseCompressedOops -XX:ObjectAlignmentInBytes=256
*/
< prev index next >