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

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

Issue 1032833002: Reland "Filter invalid slots out from the SlotsBuffer after marking." (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/mark-compact.cc ('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_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/base/atomicops.h" 9 #include "src/base/atomicops.h"
10 #include "src/base/bits.h" 10 #include "src/base/bits.h"
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 // WAS_SWEPT indicates that marking bits have been cleared by the sweeper, 378 // WAS_SWEPT indicates that marking bits have been cleared by the sweeper,
379 // otherwise marking bits are still intact. 379 // otherwise marking bits are still intact.
380 WAS_SWEPT, 380 WAS_SWEPT,
381 381
382 // Large objects can have a progress bar in their page header. These object 382 // Large objects can have a progress bar in their page header. These object
383 // are scanned in increments and will be kept black while being scanned. 383 // are scanned in increments and will be kept black while being scanned.
384 // Even if the mutator writes to them they will be kept black and a white 384 // Even if the mutator writes to them they will be kept black and a white
385 // to grey transition is performed in the value. 385 // to grey transition is performed in the value.
386 HAS_PROGRESS_BAR, 386 HAS_PROGRESS_BAR,
387 387
388 // This flag is intended to be used for testing. Works only when both
389 // FLAG_stress_compaction and FLAG_manual_evacuation_candidates_selection
390 // are set. It forces the page to become an evacuation candidate at next
391 // candidates selection cycle.
392 FORCE_EVACUATION_CANDIDATE_FOR_TESTING,
393
388 // Last flag, keep at bottom. 394 // Last flag, keep at bottom.
389 NUM_MEMORY_CHUNK_FLAGS 395 NUM_MEMORY_CHUNK_FLAGS
390 }; 396 };
391 397
392 398
393 static const int kPointersToHereAreInterestingMask = 399 static const int kPointersToHereAreInterestingMask =
394 1 << POINTERS_TO_HERE_ARE_INTERESTING; 400 1 << POINTERS_TO_HERE_ARE_INTERESTING;
395 401
396 static const int kPointersFromHereAreInterestingMask = 402 static const int kPointersFromHereAreInterestingMask =
397 1 << POINTERS_FROM_HERE_ARE_INTERESTING; 403 1 << POINTERS_FROM_HERE_ARE_INTERESTING;
(...skipping 2466 matching lines...) Expand 10 before | Expand all | Expand 10 after
2864 count = 0; 2870 count = 0;
2865 } 2871 }
2866 // Must be small, since an iteration is used for lookup. 2872 // Must be small, since an iteration is used for lookup.
2867 static const int kMaxComments = 64; 2873 static const int kMaxComments = 64;
2868 }; 2874 };
2869 #endif 2875 #endif
2870 } 2876 }
2871 } // namespace v8::internal 2877 } // namespace v8::internal
2872 2878
2873 #endif // V8_HEAP_SPACES_H_ 2879 #endif // V8_HEAP_SPACES_H_
OLDNEW
« no previous file with comments | « src/heap/mark-compact.cc ('k') | src/heap/store-buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698