Mercurial > hg > openjdk > jdk8u > hotspot
changeset 9349:516928837b4a
8043899: compiler/5091921/Test7005594.java fails if specified -Xmx is less than 1600m
Reviewed-by: kvn, twisti, vlivanov
author | iignatyev |
---|---|
date | Wed, 28 May 2014 14:42:00 +0400 |
parents | 3a93682b0b44 |
children | 22f755afb22b |
files | test/compiler/5091921/Test7005594.sh |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/test/compiler/5091921/Test7005594.sh Tue Nov 24 12:26:44 2020 +0000 +++ b/test/compiler/5091921/Test7005594.sh Wed May 28 14:42:00 2014 +0400 @@ -78,7 +78,7 @@ ${COMPILEJAVA}/bin/javac ${TESTJAVACOPTS} -d . Test7005594.java -${TESTJAVA}/bin/java ${TESTVMOPTS} -Xms1600m -XX:+IgnoreUnrecognizedVMOptions -XX:-ZapUnusedHeapArea -Xcomp -XX:CompileOnly=Test7005594.test Test7005594 > test.out 2>&1 +${TESTJAVA}/bin/java ${TESTVMOPTS} -Xmx1600m -Xms1600m -XX:+IgnoreUnrecognizedVMOptions -XX:-ZapUnusedHeapArea -Xcomp -XX:CompileOnly=Test7005594.test Test7005594 > test.out 2>&1 result=$? @@ -97,7 +97,7 @@ fi # The test should pass when no enough space for object heap -grep "Could not reserve enough space for object heap" test.out +grep "Could not reserve enough space for .*object heap" test.out if [ $? = 0 ] then echo "Passed"