diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/platform/heap/heap_stats_collector.cc')
-rw-r--r-- | chromium/third_party/blink/renderer/platform/heap/heap_stats_collector.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chromium/third_party/blink/renderer/platform/heap/heap_stats_collector.cc b/chromium/third_party/blink/renderer/platform/heap/heap_stats_collector.cc index 7e6c95857c2..58c37a29736 100644 --- a/chromium/third_party/blink/renderer/platform/heap/heap_stats_collector.cc +++ b/chromium/third_party/blink/renderer/platform/heap/heap_stats_collector.cc @@ -79,11 +79,13 @@ void ThreadHeapStatsCollector::NotifySweepingCompleted() { ? static_cast<double>(current().marked_bytes) / current_.object_size_in_bytes_before_sweeping : 0.0; + current_.gc_nested_in_v8_ = gc_nested_in_v8_; previous_ = std::move(current_); // Reset the current state. static_assert(!std::is_polymorphic<Event>::value, "Event should not be polymorphic"); memset(¤t_, 0, sizeof(current_)); + gc_nested_in_v8_ = TimeDelta(); } void ThreadHeapStatsCollector::UpdateReason(BlinkGC::GCReason reason) { |