diff options
Diffstat (limited to 'deps/v8/src/profiler/allocation-tracker.cc')
-rw-r--r-- | deps/v8/src/profiler/allocation-tracker.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/deps/v8/src/profiler/allocation-tracker.cc b/deps/v8/src/profiler/allocation-tracker.cc index 942068ea08..791cdf03f0 100644 --- a/deps/v8/src/profiler/allocation-tracker.cc +++ b/deps/v8/src/profiler/allocation-tracker.cc @@ -149,7 +149,8 @@ void AddressToTraceMap::Clear() { void AddressToTraceMap::Print() { - PrintF("[AddressToTraceMap (%" V8PRIuPTR "): \n", ranges_.size()); + PrintF("[AddressToTraceMap (%" V8_SIZET_PREFIX V8PRIuPTR "): \n", + ranges_.size()); for (RangeMap::iterator it = ranges_.begin(); it != ranges_.end(); ++it) { PrintF("[%p - %p] => %u\n", it->second.start, it->first, it->second.trace_node_id); @@ -226,7 +227,7 @@ void AllocationTracker::AllocationEvent(Address addr, int size) { // Mark the new block as FreeSpace to make sure the heap is iterable // while we are capturing stack trace. - heap->CreateFillerObjectAt(addr, size); + heap->CreateFillerObjectAt(addr, size, ClearRecordedSlots::kNo); Isolate* isolate = heap->isolate(); int length = 0; |