OSDN Git Service

Resolve a few errors with the new collector and the dalvik tests.
authorCarl Shapiro <cshapiro@google.com>
Thu, 13 May 2010 06:11:37 +0000 (23:11 -0700)
committerCarl Shapiro <cshapiro@google.com>
Thu, 13 May 2010 06:33:55 +0000 (23:33 -0700)
commit703a2f3f1acc3ecc23d37970af2638463587a40f
treef622e9d0aecd230bf9bfd4384be1372b2dcc348e
parentf571825e42a0daa957b99f8cf7598f517b504fa3
Resolve a few errors with the new collector and the dalvik tests.

* First, Scavenge class object instance fields.  This fixes a crash in
  the 067-preemptive-unpark test.

* Assert that allocations to back the transport of gray objects
  succeeds.  Fragmentation caused by pinning can cause a blow-up in
  the size of to-space.  Until we can perform emergency promotions
  this leads to more diagnosable test failures.

* Zero dvmHeapSweepUnmarkObjects's out parameters.  This silences some
  valgrind errors.

Change-Id: Iafbd915f2020418d584477b58c512b9ff4637213
vm/alloc/Copying.c