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

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

Issue 894703002: Add a flag to over approximate the weak closure during GC (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updates Created 5 years, 10 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/flag-definitions.h ('k') | 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 MC_SWEEP_CODE, 101 MC_SWEEP_CODE,
102 MC_SWEEP_CELL, 102 MC_SWEEP_CELL,
103 MC_SWEEP_MAP, 103 MC_SWEEP_MAP,
104 MC_EVACUATE_PAGES, 104 MC_EVACUATE_PAGES,
105 MC_UPDATE_NEW_TO_NEW_POINTERS, 105 MC_UPDATE_NEW_TO_NEW_POINTERS,
106 MC_UPDATE_ROOT_TO_NEW_POINTERS, 106 MC_UPDATE_ROOT_TO_NEW_POINTERS,
107 MC_UPDATE_OLD_TO_NEW_POINTERS, 107 MC_UPDATE_OLD_TO_NEW_POINTERS,
108 MC_UPDATE_POINTERS_TO_EVACUATED, 108 MC_UPDATE_POINTERS_TO_EVACUATED,
109 MC_UPDATE_POINTERS_BETWEEN_EVACUATED, 109 MC_UPDATE_POINTERS_BETWEEN_EVACUATED,
110 MC_UPDATE_MISC_POINTERS, 110 MC_UPDATE_MISC_POINTERS,
111 MC_INCREMENTAL_WEAKCLOSURE,
111 MC_WEAKCLOSURE, 112 MC_WEAKCLOSURE,
112 MC_WEAKCOLLECTION_PROCESS, 113 MC_WEAKCOLLECTION_PROCESS,
113 MC_WEAKCOLLECTION_CLEAR, 114 MC_WEAKCOLLECTION_CLEAR,
114 MC_WEAKCOLLECTION_ABORT, 115 MC_WEAKCOLLECTION_ABORT,
115 MC_FLUSH_CODE, 116 MC_FLUSH_CODE,
116 NUMBER_OF_SCOPES 117 NUMBER_OF_SCOPES
117 }; 118 };
118 119
119 Scope(GCTracer* tracer, ScopeId scope) : tracer_(tracer), scope_(scope) { 120 Scope(GCTracer* tracer, ScopeId scope) : tracer_(tracer), scope_(scope) {
120 start_time_ = base::OS::TimeCurrentMillis(); 121 start_time_ = base::OS::TimeCurrentMillis();
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
490 491
491 // Counts how many tracers were started without stopping. 492 // Counts how many tracers were started without stopping.
492 int start_counter_; 493 int start_counter_;
493 494
494 DISALLOW_COPY_AND_ASSIGN(GCTracer); 495 DISALLOW_COPY_AND_ASSIGN(GCTracer);
495 }; 496 };
496 } 497 }
497 } // namespace v8::internal 498 } // namespace v8::internal
498 499
499 #endif // V8_HEAP_GC_TRACER_H_ 500 #endif // V8_HEAP_GC_TRACER_H_
OLDNEW
« no previous file with comments | « src/flag-definitions.h ('k') | src/heap/gc-tracer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698