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

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

Issue 10959011: Allow partial scanning of large arrays in order to avoid (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 8 years, 3 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 | « no previous file | src/incremental-marking.cc » ('j') | src/mark-compact.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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 void Start(); 78 void Start();
79 79
80 void Stop(); 80 void Stop();
81 81
82 void PrepareForScavenge(); 82 void PrepareForScavenge();
83 83
84 void UpdateMarkingDequeAfterScavenge(); 84 void UpdateMarkingDequeAfterScavenge();
85 85
86 void Hurry(); 86 void Hurry();
87 87
88 void FillMarkingDequeFromLargePostponedArrays();
89
88 void Finalize(); 90 void Finalize();
89 91
90 void Abort(); 92 void Abort();
91 93
92 void MarkingComplete(CompletionAction action); 94 void MarkingComplete(CompletionAction action);
93 95
94 // It's hard to know how much work the incremental marker should do to make 96 // It's hard to know how much work the incremental marker should do to make
95 // progress in the face of the mutator creating new work for it. We start 97 // progress in the face of the mutator creating new work for it. We start
96 // of at a moderate rate of work and gradually increase the speed of the 98 // of at a moderate rate of work and gradually increase the speed of the
97 // incremental marker until it completes. 99 // incremental marker until it completes.
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 intptr_t allocated_; 282 intptr_t allocated_;
281 283
282 int no_marking_scope_depth_; 284 int no_marking_scope_depth_;
283 285
284 DISALLOW_IMPLICIT_CONSTRUCTORS(IncrementalMarking); 286 DISALLOW_IMPLICIT_CONSTRUCTORS(IncrementalMarking);
285 }; 287 };
286 288
287 } } // namespace v8::internal 289 } } // namespace v8::internal
288 290
289 #endif // V8_INCREMENTAL_MARKING_H_ 291 #endif // V8_INCREMENTAL_MARKING_H_
OLDNEW
« no previous file with comments | « no previous file | src/incremental-marking.cc » ('j') | src/mark-compact.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698