commit | 20d4d0423325f593302f1bdc50cfc66721a18cb6 | [log] [tgz] |
---|---|---|
author | Carl Shapiro <cshapiro@google.com> | Tue Mar 08 13:46:10 2011 -0800 |
committer | Carl Shapiro <cshapiro@google.com> | Tue Mar 08 13:46:17 2011 -0800 |
tree | 107a2f27612f6c5ce52410a13a2fd2e5dd954cf3 | |
parent | f78efc044b6e296c7c6378157851091a0083124a [diff] |
Compute a length based on heap size instead of card table size. The card from address computation checks that the argument is a valid card. However, the limit points just past the end of the last card so it is often invalid. This fixes a crash in asserts-enabled builds. Change-Id: I5d7f0a4753703f82b2e1be520e6108d1b61b22d3