8159606: gc/g1/TestShrinkAuxiliaryData* tests fail because GC triggered before VM initialization completed
authormchernov
Wed, 27 Jul 2016 18:43:52 +0300
changeset 40019 d9fd741c3467
parent 40018 01e7ce835887
child 40020 20738e6bef83
8159606: gc/g1/TestShrinkAuxiliaryData* tests fail because GC triggered before VM initialization completed Reviewed-by: tschatzl
hotspot/test/gc/g1/TestShrinkAuxiliaryData.java
--- a/hotspot/test/gc/g1/TestShrinkAuxiliaryData.java	Wed Jul 27 21:16:38 2016 +0400
+++ b/hotspot/test/gc/g1/TestShrinkAuxiliaryData.java	Wed Jul 27 18:43:52 2016 +0300
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2014, 2016, 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
@@ -44,6 +44,7 @@
     private static final int REGION_SIZE = 1024 * 1024;
 
     private final static String[] initialOpts = new String[]{
+        "-XX:NewSize=16m",
         "-XX:MinHeapFreeRatio=10",
         "-XX:MaxHeapFreeRatio=11",
         "-XX:+UseG1GC",