commit | 8668c3cbdcf9471bd97e0da68a240051f2973074 | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Thu Apr 24 16:48:11 2014 -0700 |
committer | Mathieu Chartier <mathieuc@google.com> | Thu May 01 17:46:45 2014 -0700 |
tree | 3ee580f1d0bf7af89b4c21f73526b01a92ddc28d | |
parent | 9a16f222cdf40e68b084316b6e768c14d4b9e020 [diff] |
Add finalizer references from the entrypoints. We now have an invariant where we never allocate finalizable objects with the Initialized or Resolved entrypoints. This speeds up allocation by only doing the check in the slow path. Before: MemAllocTest: 3625, 3707, 3641 EvaluateAndApplyChanges: 3448, 3421, 3413 After: MemAllocTest: 3164, 3109, 3135 EvaluateAndApplyChanges: 3272, 3299, 3353 Bug: 14078487 Change-Id: I2b0534af3e7c75ea5e5257cf3647744f7abfb74e