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

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

Issue 991793002: Revert of Remove slots that point to unboxed doubles from the StoreBuffer/SlotsBuffer. (patchset #4… (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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
113 private: 108 private:
114 Heap* heap_; 109 Heap* heap_;
115 110
116 // The store buffer is divided up into a new buffer that is constantly being 111 // The store buffer is divided up into a new buffer that is constantly being
117 // filled by mutator activity and an old buffer that is filled with the data 112 // filled by mutator activity and an old buffer that is filled with the data
118 // from the new buffer after compression. 113 // from the new buffer after compression.
119 Address* start_; 114 Address* start_;
120 Address* limit_; 115 Address* limit_;
121 116
122 Address* old_start_; 117 Address* old_start_;
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 } 215 }
221 216
222 private: 217 private:
223 StoreBuffer* store_buffer_; 218 StoreBuffer* store_buffer_;
224 bool stored_state_; 219 bool stored_state_;
225 }; 220 };
226 } 221 }
227 } // namespace v8::internal 222 } // namespace v8::internal
228 223
229 #endif // V8_STORE_BUFFER_H_ 224 #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