OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |