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

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

Issue 11368137: Refactoring incremental marking (Closed) Base URL: git://github.com/v8/v8.git@master
Patch Set: Created 8 years, 1 month 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/incremental-marking.cc » ('j') | src/incremental-marking.cc » ('J')
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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 static void DeactivateIncrementalWriteBarrierForSpace(NewSpace* space); 251 static void DeactivateIncrementalWriteBarrierForSpace(NewSpace* space);
252 void DeactivateIncrementalWriteBarrier(); 252 void DeactivateIncrementalWriteBarrier();
253 253
254 static void SetOldSpacePageFlags(MemoryChunk* chunk, 254 static void SetOldSpacePageFlags(MemoryChunk* chunk,
255 bool is_marking, 255 bool is_marking,
256 bool is_compacting); 256 bool is_compacting);
257 257
258 static void SetNewSpacePageFlags(NewSpacePage* chunk, bool is_marking); 258 static void SetNewSpacePageFlags(NewSpacePage* chunk, bool is_marking);
259 259
260 void EnsureMarkingDequeIsCommitted(); 260 void EnsureMarkingDequeIsCommitted();
261 void ProcessMarking();
Michael Starzinger 2012/11/08 11:10:39 Add an empty newline in front of these three metho
payer 2012/11/08 12:12:10 Done.
262 void ProcessMarking(intptr_t bytes_to_process);
263 void MarkObject(Map* map, HeapObject* obj);
261 264
262 Heap* heap_; 265 Heap* heap_;
263 266
264 State state_; 267 State state_;
265 bool is_compacting_; 268 bool is_compacting_;
266 269
267 VirtualMemory* marking_deque_memory_; 270 VirtualMemory* marking_deque_memory_;
268 bool marking_deque_memory_committed_; 271 bool marking_deque_memory_committed_;
269 MarkingDeque marking_deque_; 272 MarkingDeque marking_deque_;
270 273
(...skipping 12 matching lines...) Expand all
283 intptr_t write_barriers_invoked_since_last_step_; 286 intptr_t write_barriers_invoked_since_last_step_;
284 287
285 int no_marking_scope_depth_; 288 int no_marking_scope_depth_;
286 289
287 DISALLOW_IMPLICIT_CONSTRUCTORS(IncrementalMarking); 290 DISALLOW_IMPLICIT_CONSTRUCTORS(IncrementalMarking);
288 }; 291 };
289 292
290 } } // namespace v8::internal 293 } } // namespace v8::internal
291 294
292 #endif // V8_INCREMENTAL_MARKING_H_ 295 #endif // V8_INCREMENTAL_MARKING_H_
OLDNEW
« no previous file with comments | « no previous file | src/incremental-marking.cc » ('j') | src/incremental-marking.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698