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

Side by Side Diff: src/incremental-marking.h

Issue 428263006: Report precise number of incrementally marked bytes to gc tracer. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « src/gc-tracer.cc ('k') | src/incremental-marking.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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_INCREMENTAL_MARKING_H_ 5 #ifndef V8_INCREMENTAL_MARKING_H_
6 #define V8_INCREMENTAL_MARKING_H_ 6 #define V8_INCREMENTAL_MARKING_H_
7 7
8 8
9 #include "src/execution.h" 9 #include "src/execution.h"
10 #include "src/mark-compact.h" 10 #include "src/mark-compact.h"
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 static void SetOldSpacePageFlags(MemoryChunk* chunk, 195 static void SetOldSpacePageFlags(MemoryChunk* chunk,
196 bool is_marking, 196 bool is_marking,
197 bool is_compacting); 197 bool is_compacting);
198 198
199 static void SetNewSpacePageFlags(NewSpacePage* chunk, bool is_marking); 199 static void SetNewSpacePageFlags(NewSpacePage* chunk, bool is_marking);
200 200
201 void EnsureMarkingDequeIsCommitted(); 201 void EnsureMarkingDequeIsCommitted();
202 202
203 INLINE(void ProcessMarkingDeque()); 203 INLINE(void ProcessMarkingDeque());
204 204
205 INLINE(void ProcessMarkingDeque(intptr_t bytes_to_process)); 205 INLINE(intptr_t ProcessMarkingDeque(intptr_t bytes_to_process));
206 206
207 INLINE(void VisitObject(Map* map, HeapObject* obj, int size)); 207 INLINE(void VisitObject(Map* map, HeapObject* obj, int size));
208 208
209 Heap* heap_; 209 Heap* heap_;
210 210
211 State state_; 211 State state_;
212 bool is_compacting_; 212 bool is_compacting_;
213 213
214 base::VirtualMemory* marking_deque_memory_; 214 base::VirtualMemory* marking_deque_memory_;
215 bool marking_deque_memory_committed_; 215 bool marking_deque_memory_committed_;
(...skipping 12 matching lines...) Expand all
228 int no_marking_scope_depth_; 228 int no_marking_scope_depth_;
229 229
230 int unscanned_bytes_of_large_object_; 230 int unscanned_bytes_of_large_object_;
231 231
232 DISALLOW_IMPLICIT_CONSTRUCTORS(IncrementalMarking); 232 DISALLOW_IMPLICIT_CONSTRUCTORS(IncrementalMarking);
233 }; 233 };
234 234
235 } } // namespace v8::internal 235 } } // namespace v8::internal
236 236
237 #endif // V8_INCREMENTAL_MARKING_H_ 237 #endif // V8_INCREMENTAL_MARKING_H_
OLDNEW
« no previous file with comments | « src/gc-tracer.cc ('k') | src/incremental-marking.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698