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

Side by Side Diff: src/store-buffer.h

Issue 285733003: Remove a race between sweepers and the free space skipping code (while iterating new space pointers) (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 7 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/store-buffer.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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_STORE_BUFFER_H_ 5 #ifndef V8_STORE_BUFFER_H_
6 #define V8_STORE_BUFFER_H_ 6 #define V8_STORE_BUFFER_H_
7 7
8 #include "allocation.h" 8 #include "allocation.h"
9 #include "checks.h" 9 #include "checks.h"
10 #include "globals.h" 10 #include "globals.h"
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 Address end, 173 Address end,
174 ObjectSlotCallback slot_callback, 174 ObjectSlotCallback slot_callback,
175 bool clear_maps); 175 bool clear_maps);
176 176
177 void FindPointersToNewSpaceInMapsRegion( 177 void FindPointersToNewSpaceInMapsRegion(
178 Address start, 178 Address start,
179 Address end, 179 Address end,
180 ObjectSlotCallback slot_callback, 180 ObjectSlotCallback slot_callback,
181 bool clear_maps); 181 bool clear_maps);
182 182
183 void FindPointersToNewSpaceOnPage(
184 PagedSpace* space,
185 Page* page,
186 RegionCallback region_callback,
187 ObjectSlotCallback slot_callback,
188 bool clear_maps);
189
190 void IteratePointersInStoreBuffer(ObjectSlotCallback slot_callback, 183 void IteratePointersInStoreBuffer(ObjectSlotCallback slot_callback,
191 bool clear_maps); 184 bool clear_maps);
192 185
193 #ifdef VERIFY_HEAP 186 #ifdef VERIFY_HEAP
194 void VerifyPointers(PagedSpace* space, RegionCallback region_callback);
195 void VerifyPointers(LargeObjectSpace* space); 187 void VerifyPointers(LargeObjectSpace* space);
196 #endif 188 #endif
197 189
198 friend class StoreBufferRebuildScope; 190 friend class StoreBufferRebuildScope;
199 friend class DontMoveStoreBufferEntriesScope; 191 friend class DontMoveStoreBufferEntriesScope;
200 }; 192 };
201 193
202 194
203 class StoreBufferRebuildScope { 195 class StoreBufferRebuildScope {
204 public: 196 public:
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 } 230 }
239 231
240 private: 232 private:
241 StoreBuffer* store_buffer_; 233 StoreBuffer* store_buffer_;
242 bool stored_state_; 234 bool stored_state_;
243 }; 235 };
244 236
245 } } // namespace v8::internal 237 } } // namespace v8::internal
246 238
247 #endif // V8_STORE_BUFFER_H_ 239 #endif // V8_STORE_BUFFER_H_
OLDNEW
« no previous file with comments | « no previous file | src/store-buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698