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

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

Issue 364063007: Use the HeapObjectIterator to scan-on-scavenge map pages. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 5 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 "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/base/logging.h" 9 #include "src/base/logging.h"
10 #include "src/base/platform/platform.h" 10 #include "src/base/platform/platform.h"
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 // visit_pointer_region callback. 160 // visit_pointer_region callback.
161 // If either visit_pointer_region or callback can cause an allocation 161 // If either visit_pointer_region or callback can cause an allocation
162 // in old space and changes in allocation watermark then 162 // in old space and changes in allocation watermark then
163 // can_preallocate_during_iteration should be set to true. 163 // can_preallocate_during_iteration should be set to true.
164 void IteratePointersOnPage( 164 void IteratePointersOnPage(
165 PagedSpace* space, 165 PagedSpace* space,
166 Page* page, 166 Page* page,
167 RegionCallback region_callback, 167 RegionCallback region_callback,
168 ObjectSlotCallback slot_callback); 168 ObjectSlotCallback slot_callback);
169 169
170 void FindPointersToNewSpaceInMaps(
171 Address start,
172 Address end,
173 ObjectSlotCallback slot_callback,
174 bool clear_maps);
175
176 void FindPointersToNewSpaceInMapsRegion(
177 Address start,
178 Address end,
179 ObjectSlotCallback slot_callback,
180 bool clear_maps);
181
182 void IteratePointersInStoreBuffer(ObjectSlotCallback slot_callback, 170 void IteratePointersInStoreBuffer(ObjectSlotCallback slot_callback,
183 bool clear_maps); 171 bool clear_maps);
184 172
185 #ifdef VERIFY_HEAP 173 #ifdef VERIFY_HEAP
186 void VerifyPointers(LargeObjectSpace* space); 174 void VerifyPointers(LargeObjectSpace* space);
187 #endif 175 #endif
188 176
189 friend class StoreBufferRebuildScope; 177 friend class StoreBufferRebuildScope;
190 friend class DontMoveStoreBufferEntriesScope; 178 friend class DontMoveStoreBufferEntriesScope;
191 }; 179 };
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 } 217 }
230 218
231 private: 219 private:
232 StoreBuffer* store_buffer_; 220 StoreBuffer* store_buffer_;
233 bool stored_state_; 221 bool stored_state_;
234 }; 222 };
235 223
236 } } // namespace v8::internal 224 } } // namespace v8::internal
237 225
238 #endif // V8_STORE_BUFFER_H_ 226 #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