From b363f666883860d40823d5528df3c98c897f74f4 Mon Sep 17 00:00:00 2001 From: Mathieu Chartier Date: Wed, 16 Jul 2014 13:28:58 -0700 Subject: Recycle mem-maps for collector transitions. We now create spaces when we need them for collector transitions or homogeneous compaction by recycling mem maps. Change the bump pointer space size to be as large as the heap capacity instead of 1/2 heap capacity like it used to be. For GSS, bump pointer spaces are set to 32MB currently. Changed GSS to have main space == non moving space since we don't need to copy from the main space. Fixes GC stress tests 074, 096. Fixed test 080 oom throw with -Xmx2m for GC stress test, this was broken since it was allocating a 4 MB array before starting the OOM process. Bug: 14059466 Bug: 16406852 Change-Id: I62877cfa24ec944a6f34ffac30334f454a8002fd --- test/Android.run-test.mk | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'test/Android.run-test.mk') diff --git a/test/Android.run-test.mk b/test/Android.run-test.mk index a663b8b..105eda9 100644 --- a/test/Android.run-test.mk +++ b/test/Android.run-test.mk @@ -103,10 +103,7 @@ ART_TEST_KNOWN_BROKEN += $(foreach test, $(TEST_ART_BROKEN_TRACE_RUN_TESTS), $(c # Tests that need more than 2MB of RAM or are running into other corner cases in GC stress related # to OOMEs. -TEST_ART_BROKEN_GCSTRESS_RUN_TESTS := \ - 074-gc-thrash \ - 080-oom-throw \ - 096-array-copy-concurrent-gc +TEST_ART_BROKEN_GCSTRESS_RUN_TESTS := ART_TEST_KNOWN_BROKEN += $(foreach test, $(TEST_ART_BROKEN_GCSTRESS_RUN_TESTS), $(call all-run-test-names,$(test),-gcstress,-relocate)) ART_TEST_KNOWN_BROKEN += $(foreach test, $(TEST_ART_BROKEN_GCSTRESS_RUN_TESTS), $(call all-run-test-names,$(test),-gcstress,-prebuild)) -- cgit v1.1