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

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

Issue 1004623003: Revert of Reland of Remove slots that point to unboxed doubles from the StoreBuffer/SlotsBuffer. (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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 100
101 void Filter(int flag); 101 void Filter(int flag);
102 102
103 // Eliminates all stale store buffer entries from the store buffer, i.e., 103 // Eliminates all stale store buffer entries from the store buffer, i.e.,
104 // slots that are not part of live objects anymore. This method must be 104 // slots that are not part of live objects anymore. This method must be
105 // called after marking, when the whole transitive closure is known and 105 // called after marking, when the whole transitive closure is known and
106 // must be called before sweeping when mark bits are still intact. 106 // must be called before sweeping when mark bits are still intact.
107 void ClearInvalidStoreBufferEntries(); 107 void ClearInvalidStoreBufferEntries();
108 void VerifyValidStoreBufferEntries(); 108 void VerifyValidStoreBufferEntries();
109 109
110 // Removes all the slots in [start_address, end_address) range from the store
111 // buffer.
112 void RemoveSlots(Address start_address, Address end_address);
113
114 private: 110 private:
115 Heap* heap_; 111 Heap* heap_;
116 112
117 // The store buffer is divided up into a new buffer that is constantly being 113 // The store buffer is divided up into a new buffer that is constantly being
118 // filled by mutator activity and an old buffer that is filled with the data 114 // filled by mutator activity and an old buffer that is filled with the data
119 // from the new buffer after compression. 115 // from the new buffer after compression.
120 Address* start_; 116 Address* start_;
121 Address* limit_; 117 Address* limit_;
122 118
123 Address* old_start_; 119 Address* old_start_;
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 } 210 }
215 211
216 private: 212 private:
217 StoreBuffer* store_buffer_; 213 StoreBuffer* store_buffer_;
218 bool stored_state_; 214 bool stored_state_;
219 }; 215 };
220 } 216 }
221 } // namespace v8::internal 217 } // namespace v8::internal
222 218
223 #endif // V8_STORE_BUFFER_H_ 219 #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