< prev index next >

test/gc/g1/plab/lib/PLABUtils.java

Print this page




   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 package gc.g1.plab.lib;
  24 
  25 import java.util.ArrayList;
  26 import java.util.Arrays;
  27 import java.util.Collections;
  28 import java.util.List;
  29 import jdk.test.lib.OutputAnalyzer;
  30 import jdk.test.lib.Utils;
  31 
  32 /**
  33  * Utilities for PLAB testing.
  34  */
  35 public class PLABUtils {
  36 
  37     /**
  38      * PLAB tests default options list
  39      */
  40     private final static String[] GC_TUNE_OPTIONS = {
  41         "-XX:+UseG1GC",
  42         "-XX:G1HeapRegionSize=1m",
  43         "-XX:OldSize=64m",
  44         "-XX:-UseAdaptiveSizePolicy",
  45         "-XX:MaxTenuringThreshold=1",
  46         "-XX:-UseTLAB",
  47         "-XX:SurvivorRatio=1"
  48     };
  49 




   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 package gc.g1.plab.lib;
  24 
  25 import java.util.ArrayList;
  26 import java.util.Arrays;
  27 import java.util.Collections;
  28 import java.util.List;
  29 import jdk.test.lib.process.OutputAnalyzer;
  30 import jdk.test.lib.Utils;
  31 
  32 /**
  33  * Utilities for PLAB testing.
  34  */
  35 public class PLABUtils {
  36 
  37     /**
  38      * PLAB tests default options list
  39      */
  40     private final static String[] GC_TUNE_OPTIONS = {
  41         "-XX:+UseG1GC",
  42         "-XX:G1HeapRegionSize=1m",
  43         "-XX:OldSize=64m",
  44         "-XX:-UseAdaptiveSizePolicy",
  45         "-XX:MaxTenuringThreshold=1",
  46         "-XX:-UseTLAB",
  47         "-XX:SurvivorRatio=1"
  48     };
  49 


< prev index next >