OSDN Git Service

Fix stale remembered sets error.
authorMathieu Chartier <mathieuc@google.com>
Thu, 24 Jul 2014 01:45:17 +0000 (18:45 -0700)
committerMathieu Chartier <mathieuc@google.com>
Thu, 24 Jul 2014 17:19:38 +0000 (10:19 -0700)
commitc5a8347ac491a5f521945d3835a322123830456b
treecdbc493e9209607587b11d762044f8e0f4bd7e10
parentca928ba8b9e109ced2b9d72622dc34bda63ac211
Fix stale remembered sets error.

We were forgetting to remove the remembered set in transition to
background. This resulted in remembered sets being added for
spaces which no longer existed. This finally caused an error when
a new space happened to have the same address as the old space,
resulting in a CHECK failure.

Also tuned the number of ParallelGC to prevent spurrious failures
and removed the ParallelGC from broken tests in the make file.

Bug: 16532086
Bug: 16406852

Change-Id: I00bbcbd7daa03c867732d165be62b72e6c43bce1
runtime/gc/heap.cc
test/114-ParallelGC/src/Main.java
test/Android.run-test.mk