Index: src/allocation-tracker.cc |
diff --git a/src/allocation-tracker.cc b/src/allocation-tracker.cc |
index 586ce3c45a8442420fd293e862b676e220f50bff..aba8274ee7c9093259e6d05732fc3211edad2ca3 100644 |
--- a/src/allocation-tracker.cc |
+++ b/src/allocation-tracker.cc |
@@ -181,7 +181,9 @@ void AllocationTracker::NewObjectEvent(Address addr, int size) { |
Isolate* isolate = heap->isolate(); |
int length = 0; |
- StackTraceFrameIterator it(isolate); |
+ // The allocation may well happen inside a builtin so it is OK for the |
+ // iterator to see builtins on the call stack. |
+ StackTraceFrameIterator it(isolate, true); |
while (!it.done() && length < kMaxAllocationTraceLength) { |
JavaScriptFrame* frame = it.frame(); |
SharedFunctionInfo* shared = frame->function()->shared(); |