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

Side by Side Diff: src/heap/spaces.h

Issue 1492823002: Revert of "[heap] Clean up stale store buffer entries for aborted pages." (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years 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/mark-compact.cc ('k') | no next file » | 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_HEAP_SPACES_H_ 5 #ifndef V8_HEAP_SPACES_H_
6 #define V8_HEAP_SPACES_H_ 6 #define V8_HEAP_SPACES_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/atomic-utils.h" 9 #include "src/atomic-utils.h"
10 #include "src/base/atomicops.h" 10 #include "src/base/atomicops.h"
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 // FLAG_stress_compaction and FLAG_manual_evacuation_candidates_selection 321 // FLAG_stress_compaction and FLAG_manual_evacuation_candidates_selection
322 // are set. It forces the page to become an evacuation candidate at next 322 // are set. It forces the page to become an evacuation candidate at next
323 // candidates selection cycle. 323 // candidates selection cycle.
324 FORCE_EVACUATION_CANDIDATE_FOR_TESTING, 324 FORCE_EVACUATION_CANDIDATE_FOR_TESTING,
325 325
326 // The memory chunk is already logically freed, however the actual freeing 326 // The memory chunk is already logically freed, however the actual freeing
327 // still has to be performed. 327 // still has to be performed.
328 PRE_FREED, 328 PRE_FREED,
329 329
330 // |COMPACTION_WAS_ABORTED|: Indicates that the compaction in this page 330 // |COMPACTION_WAS_ABORTED|: Indicates that the compaction in this page
331 // has been aborted and needs special handling, i.e., sweeper and store 331 // has been aborted and needs special handling by the sweeper.
332 // buffer.
333 COMPACTION_WAS_ABORTED, 332 COMPACTION_WAS_ABORTED,
334 333
335 // Last flag, keep at bottom. 334 // Last flag, keep at bottom.
336 NUM_MEMORY_CHUNK_FLAGS 335 NUM_MEMORY_CHUNK_FLAGS
337 }; 336 };
338 337
339 // |kCompactionDone|: Initial compaction state of a |MemoryChunk|. 338 // |kCompactionDone|: Initial compaction state of a |MemoryChunk|.
340 // |kCompactingInProgress|: Parallel compaction is currently in progress. 339 // |kCompactingInProgress|: Parallel compaction is currently in progress.
341 // |kCompactingFinalize|: Parallel compaction is done but the chunk needs to 340 // |kCompactingFinalize|: Parallel compaction is done but the chunk needs to
342 // be finalized. 341 // be finalized.
(...skipping 2798 matching lines...) Expand 10 before | Expand all | Expand 10 after
3141 count = 0; 3140 count = 0;
3142 } 3141 }
3143 // Must be small, since an iteration is used for lookup. 3142 // Must be small, since an iteration is used for lookup.
3144 static const int kMaxComments = 64; 3143 static const int kMaxComments = 64;
3145 }; 3144 };
3146 #endif 3145 #endif
3147 } // namespace internal 3146 } // namespace internal
3148 } // namespace v8 3147 } // namespace v8
3149 3148
3150 #endif // V8_HEAP_SPACES_H_ 3149 #endif // V8_HEAP_SPACES_H_
OLDNEW
« no previous file with comments | « src/heap/mark-compact.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698