Skip to content

Commit e0c99c8

Browse files
authored
Merge pull request eclipse-openj9#21345 from dmitripivkine/master
Add -Xmx512m to -Xcheck:memory GC Regression tests
2 parents d9569dd + 7ec2c2d commit e0c99c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/functional/cmdLineTests/gcRegressionTests/gcRegressionTests.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@
348348
<output regex="no" type="success">version</output>
349349
</test>
350350
<test id="-verbose:gc -Xcheck:memory - check for memory corruption">
351-
<command>$EXE$ $XINT$ $ARGS_FOR_ALL_TESTS$ -verbose:gc -Dibm.java9.forceCommonCleanerShutdown=true -Xcheck:memory:quick,ignoreUnfreedCallsite=zip/:dbgwrapper:unknown:wrapper -version</command>
351+
<command>$EXE$ $XINT$ $ARGS_FOR_ALL_TESTS$ -verbose:gc -Dibm.java9.forceCommonCleanerShutdown=true -Xcheck:memory:quick,ignoreUnfreedCallsite=zip/:dbgwrapper:unknown:wrapper -Xmx512m -version</command>
352352
<output regex="no" type="required">&lt;/verbosegc&gt;</output>
353353
<output regex="no" type="success">All allocated blocks were freed.</output>
354354
<!-- allow memory leaks since the JIT leaks, unfortunately -->
@@ -357,7 +357,7 @@
357357
</test>
358358
<test id="-verbose:gc -Xcheck:memory -Xverbosegclog:foo.log - check for memory corruption">
359359
<exec command="rm foo.*.log" />
360-
<command>$EXE$ $XINT$ $ARGS_FOR_ALL_TESTS$ -verbose:gc -Xverbosegclog -Dibm.java9.forceCommonCleanerShutdown=true -Xcheck:memory:quick,ignoreUnfreedCallsite=zip/:dbgwrapper:unknown:wrapper -version</command>
360+
<command>$EXE$ $XINT$ $ARGS_FOR_ALL_TESTS$ -verbose:gc -Xverbosegclog -Dibm.java9.forceCommonCleanerShutdown=true -Xcheck:memory:quick,ignoreUnfreedCallsite=zip/:dbgwrapper:unknown:wrapper -Xmx512m -version</command>
361361
<output regex="no" type="success">All allocated blocks were freed.</output>
362362
<!-- allow memory leaks since the JIT leaks, unfortunately -->
363363
<output regex="no" type="success">bytes were not freed before shutdown!</output>

0 commit comments

Comments
 (0)