Chromium Code Reviews| Index: src/spaces.cc |
| diff --git a/src/spaces.cc b/src/spaces.cc |
| index 7966a04728c6291e83142eeeda1acf2039c68c77..6ac40a9899be8561c6413c6221c04fea31260ec3 100644 |
| --- a/src/spaces.cc |
| +++ b/src/spaces.cc |
| @@ -2897,6 +2897,9 @@ AllocationResult LargeObjectSpace::AllocateRaw(int object_size, |
| } |
| heap()->incremental_marking()->OldSpaceStep(object_size); |
| + if (FLAG_allocations_digest) { |
| + heap()->OnAllocationEvent(object, object_size); |
|
Hannes Payer (out of office)
2014/06/09 15:23:51
The event call should be in Heap::AllocateRaw. The
Igor Sheludko
2014/06/10 08:22:54
I trigger "allocation event" each time any allocat
Hannes Payer (out of office)
2014/06/10 16:58:59
1) Please move your monitoring code into Heap:Allo
|
| + } |
| return object; |
| } |