OpenJDK / jdk / hs
changeset 40019:d9fd741c3467
8159606: gc/g1/TestShrinkAuxiliaryData* tests fail because GC triggered before VM initialization completed
Reviewed-by: tschatzl
author | mchernov |
---|---|
date | Wed, 27 Jul 2016 18:43:52 +0300 |
parents | 01e7ce835887 |
children | 20738e6bef83 |
files | hotspot/test/gc/g1/TestShrinkAuxiliaryData.java |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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",