< prev index next >

test/runtime/valhalla/valuetypes/ValueTypeArray.java

Print this page
rev 10541 : remove -Xint from runtime tests + force TieredCompilation off


  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 package runtime.valhalla.valuetypes;
  25 
  26 import java.util.Arrays;
  27 
  28 import static jdk.test.lib.Asserts.*;
  29 
  30 /*
  31  * @test ValueTypeArray
  32  * @summary Plain array test for Value Types
  33  * @library /testlibrary /
  34  * @run main/othervm -noverify -Xint -XX:+ValueArrayFlatten runtime.valhalla.valuetypes.ValueTypeArray
  35  * @run main/othervm -noverify -Xint -XX:-ValueArrayFlatten runtime.valhalla.valuetypes.ValueTypeArray
  36  */
  37 public class ValueTypeArray {
  38     public static void main(String[] args) {
  39         ValueTypeArray valueTypeArray = new ValueTypeArray();
  40         valueTypeArray.run();
  41     }
  42 
  43     public void run() {
  44         testClassForName();
  45         testSimplePointArray();
  46         testLong8Array();
  47         // embedded oops not yet supported
  48         //testMixedPersonArray();
  49         testMultiDimPointArray();
  50         // Some design issues, ignore for now
  51         //testAtomicArray();
  52         //testArrayCopy();
  53         testReflectArray();
  54     }
  55 




  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 package runtime.valhalla.valuetypes;
  25 
  26 import java.util.Arrays;
  27 
  28 import static jdk.test.lib.Asserts.*;
  29 
  30 /*
  31  * @test ValueTypeArray
  32  * @summary Plain array test for Value Types
  33  * @library /testlibrary /
  34  * @run main/othervm -noverify -XX:+ValueArrayFlatten runtime.valhalla.valuetypes.ValueTypeArray
  35  * @run main/othervm -noverify -XX:-ValueArrayFlatten runtime.valhalla.valuetypes.ValueTypeArray
  36  */
  37 public class ValueTypeArray {
  38     public static void main(String[] args) {
  39         ValueTypeArray valueTypeArray = new ValueTypeArray();
  40         valueTypeArray.run();
  41     }
  42 
  43     public void run() {
  44         testClassForName();
  45         testSimplePointArray();
  46         testLong8Array();
  47         // embedded oops not yet supported
  48         //testMixedPersonArray();
  49         testMultiDimPointArray();
  50         // Some design issues, ignore for now
  51         //testAtomicArray();
  52         //testArrayCopy();
  53         testReflectArray();
  54     }
  55 


< prev index next >