jacks.exp (gcj_jacks_write): Explicitly limit the maximum heap size to avoid unnecessary thrashing.

* testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
	limit the maximum heap size to avoid unnecessary thrashing.

From-SVN: r81156
This commit is contained in:
Ranjit Mathew 2004-04-25 04:19:13 +00:00 committed by Ranjit Mathew
parent ececf1b919
commit c1fcbbc33b
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-04-25 Ranjit Mathew <rmathew@hotmail.com>
* testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
limit the maximum heap size to avoid unnecessary thrashing.
2004-04-24 Jerry Quinn <jlquinn@optonline.net>
* java/text/CollationElementIterator.java (reset): Reset

View File

@ -28,7 +28,12 @@ proc gcj_jacks_write {filename} {
puts $fd "set JAVA_CLASSPATH \"$libgcj_jar\""
puts $fd "set JAVAC_FLAGS [list $rest]"
puts $fd "set JAVA [list [libjava_find_gij]]"
puts $fd "set JAVA_FLAGS \"\""
# Without an explicit limit on the heap size, tests depending on
# an OutOfMemoryError (e.g. "15.9.4-runtime-creation-2") can result
# in a lot of unnecessary thrashing.
puts $fd "set JAVA_FLAGS \"-mx=64m\""
puts $fd "set JAVAC_ENCODING_FLAG --encoding="
puts $fd "set tcltest::testConstraints(encoding) 1"
puts $fd "set tcltest::testConstraints(gcj) 1"