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

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

Issue 957273002: Remove slots that point to unboxed doubles from the StoreBuffer/SlotsBuffer. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressed comments Created 5 years, 9 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
« no previous file with comments | « src/heap/spaces.h ('k') | src/heap/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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 bool PrepareForIteration(); 98 bool PrepareForIteration();
99 99
100 #ifdef DEBUG 100 #ifdef DEBUG
101 void Clean(); 101 void Clean();
102 // Slow, for asserts only. 102 // Slow, for asserts only.
103 bool CellIsInStoreBuffer(Address cell); 103 bool CellIsInStoreBuffer(Address cell);
104 #endif 104 #endif
105 105
106 void Filter(int flag); 106 void Filter(int flag);
107 107
108
109 // Removes all the slots in [start_address, end_address) range from the store
110 // buffer.
111 void RemoveSlots(Address start_address, Address end_address);
112
108 private: 113 private:
109 Heap* heap_; 114 Heap* heap_;
110 115
111 // The store buffer is divided up into a new buffer that is constantly being 116 // The store buffer is divided up into a new buffer that is constantly being
112 // filled by mutator activity and an old buffer that is filled with the data 117 // filled by mutator activity and an old buffer that is filled with the data
113 // from the new buffer after compression. 118 // from the new buffer after compression.
114 Address* start_; 119 Address* start_;
115 Address* limit_; 120 Address* limit_;
116 121
117 Address* old_start_; 122 Address* old_start_;
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 } 220 }
216 221
217 private: 222 private:
218 StoreBuffer* store_buffer_; 223 StoreBuffer* store_buffer_;
219 bool stored_state_; 224 bool stored_state_;
220 }; 225 };
221 } 226 }
222 } // namespace v8::internal 227 } // namespace v8::internal
223 228
224 #endif // V8_STORE_BUFFER_H_ 229 #endif // V8_STORE_BUFFER_H_
OLDNEW
« no previous file with comments | « src/heap/spaces.h ('k') | src/heap/store-buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698