commit | 6c355e53332502314c3d82a7afcf898d66118f27 | [log] [tgz] |
---|---|---|
author | Carl Shapiro <cshapiro@google.com> | Wed Mar 02 15:43:39 2011 -0800 |
committer | Carl Shapiro <cshapiro@google.com> | Wed Mar 02 15:43:39 2011 -0800 |
tree | 51a9b0ba7aa76de62f827526eaf2ae062a8a18af | |
parent | b0ef521d38b5c86074354b40763a158df11fc308 [diff] |
Use the card table to scan the immune region of the heap. Using the card table results in a dramatic cost reduction in scanning time. During a reboot, scanning each object in the zygote for pointers to the application heap costs an average of 20ms of thread time on a stingray with 8 megabyte zygote. In comparison, scanning dirty cards in the zygote costs 300us on average. Change-Id: I1dba35646d509e6b1b4535e291a1eb6f66d7b218