| Index: src/isolate.cc
|
| diff --git a/src/isolate.cc b/src/isolate.cc
|
| index 110f614e1b7f80afe660e910b48be74c488b59ae..c7b7486d1e6be0e650d1357e7ca9357efc445745 100644
|
| --- a/src/isolate.cc
|
| +++ b/src/isolate.cc
|
| @@ -2569,7 +2569,8 @@ void Isolate::DumpAndResetCompilationStats() {
|
| turbo_statistics_ = nullptr;
|
| delete hstatistics_;
|
| hstatistics_ = nullptr;
|
| - if (FLAG_runtime_call_stats) {
|
| + if (FLAG_runtime_call_stats &&
|
| + !TRACE_EVENT_RUNTIME_CALL_STATS_TRACING_ENABLED()) {
|
| OFStream os(stdout);
|
| counters()->runtime_call_stats()->Print(os);
|
| counters()->runtime_call_stats()->Reset();
|
|
|