Chromium Code Reviews| Index: src/heap-inl.h |
| diff --git a/src/heap-inl.h b/src/heap-inl.h |
| index 13ac4a786a21bb48a6e09be6031a834e5013c807..50ba7f45938946958d238d77ff57f65f064e23aa 100644 |
| --- a/src/heap-inl.h |
| +++ b/src/heap-inl.h |
| @@ -528,8 +528,9 @@ void Heap::ScavengeObject(HeapObject** p, HeapObject* object) { |
| if (FLAG_trace_track_allocation_sites && |
| AllocationSite::CanTrack(object->map()->instance_type()) && |
|
mvstanton
2013/10/02 10:56:45
See my other comment about CanTrack().
Hannes Payer (out of office)
2013/10/02 11:02:19
Done.
|
| object->IsJSObject()) { |
| - if (AllocationMemento::FindForJSObject(JSObject::cast(object)) != NULL) { |
| - object->GetIsolate()->heap()->allocation_mementos_found_on_scavenge_++; |
| + if (AllocationMemento::FindForJSObject(JSObject::cast(object), true) != |
| + NULL) { |
| + object->GetIsolate()->heap()->allocation_mementos_found_++; |
| } |
| } |