ICU-5801 Use -Xdisableexcessivegc option for running the ICU unit test on IBM Java 5 or later versions. If excessivegc is enabled, the JVM may throw OOM even before the heap usage does not reach to the limit.
X-SVN-Rev: 22651
This commit is contained in:
parent
0203947f88
commit
2bdecbda7a
@ -192,6 +192,14 @@
|
||||
<condition property="test.jvm.args" value="-Xms96m -Xmx128m">
|
||||
<isset property="before.java14" />
|
||||
</condition>
|
||||
<condition property="test.jvm.args" value="-ea -Xms96m -Xmx128m -Xdisableexcessivegc">
|
||||
<and>
|
||||
<not>
|
||||
<isset property="before.java15" />
|
||||
</not>
|
||||
<equals arg1="${java.vm.vendor}" arg2="IBM Corporation"/>
|
||||
</and>
|
||||
</condition>
|
||||
<condition property="test.jvm.args" value="-ea -Xms96m -Xmx128m">
|
||||
<not>
|
||||
<isset property="test.jvm.args" />
|
||||
|
Loading…
Reference in New Issue
Block a user