< prev index next >
test/gc/shenandoah/TestLargeObjectAlignment.java
Print this page
rev 10790 : [backport] Prefix Shenandoah tests with "Test"
*** 1,7 ****
/*
! * Copyright (c) 2016, Red Hat, Inc. and/or its affiliates.
*
* 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.
*
--- 1,7 ----
/*
! * Copyright (c) 2016, 2018, Red Hat, Inc. All rights reserved.
*
* 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.
*
*** 20,42 ****
* questions.
*
*/
/*
! * @test LargeObjectAlignment
* @summary Shenandoah crashes with -XX:ObjectAlignmentInBytes=16
! * @run main/othervm -XX:+UseShenandoahGC -XX:ObjectAlignmentInBytes=16 -Xint LargeObjectAlignment
! * @run main/othervm -XX:+UseShenandoahGC -XX:ObjectAlignmentInBytes=16 -XX:-TieredCompilation LargeObjectAlignment
! * @run main/othervm -XX:+UseShenandoahGC -XX:ObjectAlignmentInBytes=16 -XX:TieredStopAtLevel=1 LargeObjectAlignment
! * @run main/othervm -XX:+UseShenandoahGC -XX:ObjectAlignmentInBytes=16 -XX:TieredStopAtLevel=4 LargeObjectAlignment
*/
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.ThreadLocalRandom;
! public class LargeObjectAlignment {
static final int SLABS_COUNT = Integer.getInteger("slabs", 10000);
static final int NODE_COUNT = Integer.getInteger("nodes", 10000);
static final long TIME_NS = 1000L * 1000L * Integer.getInteger("timeMs", 5000);
--- 20,44 ----
* questions.
*
*/
/*
! * @test TestLargeObjectAlignment
* @summary Shenandoah crashes with -XX:ObjectAlignmentInBytes=16
! * @key gc
! *
! * @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -XX:ObjectAlignmentInBytes=16 -Xint TestLargeObjectAlignment
! * @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -XX:ObjectAlignmentInBytes=16 -XX:-TieredCompilation TestLargeObjectAlignment
! * @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -XX:ObjectAlignmentInBytes=16 -XX:TieredStopAtLevel=1 TestLargeObjectAlignment
! * @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -XX:ObjectAlignmentInBytes=16 -XX:TieredStopAtLevel=4 TestLargeObjectAlignment
*/
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.ThreadLocalRandom;
! public class TestLargeObjectAlignment {
static final int SLABS_COUNT = Integer.getInteger("slabs", 10000);
static final int NODE_COUNT = Integer.getInteger("nodes", 10000);
static final long TIME_NS = 1000L * 1000L * Integer.getInteger("timeMs", 5000);
< prev index next >