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

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

Issue 769253002: Trace how long it takes to compute the weak closure during mark-compact (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updates Created 6 years 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 | « no previous file | src/heap/gc-tracer.cc » ('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 #ifndef V8_HEAP_GC_TRACER_H_ 5 #ifndef V8_HEAP_GC_TRACER_H_
6 #define V8_HEAP_GC_TRACER_H_ 6 #define V8_HEAP_GC_TRACER_H_
7 7
8 #include "src/base/platform/platform.h" 8 #include "src/base/platform/platform.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 MC_SWEEP_CODE, 96 MC_SWEEP_CODE,
97 MC_SWEEP_CELL, 97 MC_SWEEP_CELL,
98 MC_SWEEP_MAP, 98 MC_SWEEP_MAP,
99 MC_EVACUATE_PAGES, 99 MC_EVACUATE_PAGES,
100 MC_UPDATE_NEW_TO_NEW_POINTERS, 100 MC_UPDATE_NEW_TO_NEW_POINTERS,
101 MC_UPDATE_ROOT_TO_NEW_POINTERS, 101 MC_UPDATE_ROOT_TO_NEW_POINTERS,
102 MC_UPDATE_OLD_TO_NEW_POINTERS, 102 MC_UPDATE_OLD_TO_NEW_POINTERS,
103 MC_UPDATE_POINTERS_TO_EVACUATED, 103 MC_UPDATE_POINTERS_TO_EVACUATED,
104 MC_UPDATE_POINTERS_BETWEEN_EVACUATED, 104 MC_UPDATE_POINTERS_BETWEEN_EVACUATED,
105 MC_UPDATE_MISC_POINTERS, 105 MC_UPDATE_MISC_POINTERS,
106 MC_WEAKCLOSURE,
106 MC_WEAKCOLLECTION_PROCESS, 107 MC_WEAKCOLLECTION_PROCESS,
107 MC_WEAKCOLLECTION_CLEAR, 108 MC_WEAKCOLLECTION_CLEAR,
108 MC_WEAKCOLLECTION_ABORT, 109 MC_WEAKCOLLECTION_ABORT,
109 MC_FLUSH_CODE, 110 MC_FLUSH_CODE,
110 NUMBER_OF_SCOPES 111 NUMBER_OF_SCOPES
111 }; 112 };
112 113
113 Scope(GCTracer* tracer, ScopeId scope) : tracer_(tracer), scope_(scope) { 114 Scope(GCTracer* tracer, ScopeId scope) : tracer_(tracer), scope_(scope) {
114 start_time_ = base::OS::TimeCurrentMillis(); 115 start_time_ = base::OS::TimeCurrentMillis();
115 } 116 }
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 455
455 // Counts how many tracers were started without stopping. 456 // Counts how many tracers were started without stopping.
456 int start_counter_; 457 int start_counter_;
457 458
458 DISALLOW_COPY_AND_ASSIGN(GCTracer); 459 DISALLOW_COPY_AND_ASSIGN(GCTracer);
459 }; 460 };
460 } 461 }
461 } // namespace v8::internal 462 } // namespace v8::internal
462 463
463 #endif // V8_HEAP_GC_TRACER_H_ 464 #endif // V8_HEAP_GC_TRACER_H_
OLDNEW
« no previous file with comments | « no previous file | src/heap/gc-tracer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698