Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(133)

Side by Side Diff: src/heap/gc-tracer.cc

Issue 2780913002: Add some missing stdarg includes (Closed)
Patch Set: ... Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/base/logging.cc ('k') | src/wasm/decoder.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/heap/gc-tracer.h" 5 #include "src/heap/gc-tracer.h"
6 6
7 #include <cstdarg>
8
7 #include "src/counters.h" 9 #include "src/counters.h"
8 #include "src/heap/heap-inl.h" 10 #include "src/heap/heap-inl.h"
9 #include "src/isolate.h" 11 #include "src/isolate.h"
10 12
11 namespace v8 { 13 namespace v8 {
12 namespace internal { 14 namespace internal {
13 15
14 static size_t CountTotalHolesSize(Heap* heap) { 16 static size_t CountTotalHolesSize(Heap* heap) {
15 size_t holes_size = 0; 17 size_t holes_size = 0;
16 OldSpaces spaces(heap); 18 OldSpaces spaces(heap);
(...skipping 834 matching lines...) Expand 10 before | Expand all | Expand 10 after
851 } 853 }
852 854
853 void GCTracer::ResetSurvivalEvents() { recorded_survival_ratios_.Reset(); } 855 void GCTracer::ResetSurvivalEvents() { recorded_survival_ratios_.Reset(); }
854 856
855 void GCTracer::NotifyIncrementalMarkingStart() { 857 void GCTracer::NotifyIncrementalMarkingStart() {
856 incremental_marking_start_time_ = heap_->MonotonicallyIncreasingTimeInMs(); 858 incremental_marking_start_time_ = heap_->MonotonicallyIncreasingTimeInMs();
857 } 859 }
858 860
859 } // namespace internal 861 } // namespace internal
860 } // namespace v8 862 } // namespace v8
OLDNEW
« no previous file with comments | « src/base/logging.cc ('k') | src/wasm/decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698