Index: runtime/vm/isolate.cc |
diff --git a/runtime/vm/isolate.cc b/runtime/vm/isolate.cc |
index fdaf5a62441142dd772095520eb4e9c0c498c297..43674d23ab11ab627f81e93751bafee7681ad6be 100644 |
--- a/runtime/vm/isolate.cc |
+++ b/runtime/vm/isolate.cc |
@@ -899,6 +899,8 @@ void Isolate::PrintToJSONStream(JSONStream* stream, bool ref) { |
jsheap.AddProperty("capacityOld", heap()->CapacityInWords(Heap::kOld)); |
} |
+ // TODO(turnidge): Don't compute a full stack trace every time we |
+ // request an isolate's info. |
DebuggerStackTrace* stack = debugger()->StackTrace(); |
if (stack->Length() > 0) { |
JSONObject jsframe(&jsobj, "topFrame"); |