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

Side by Side Diff: src/heap/mark-compact.h

Issue 1317553002: [heap] Prevent direct access to StoreBuffer. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebased. Created 5 years, 4 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/heap.h ('k') | src/heap/mark-compact.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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_MARK_COMPACT_H_ 5 #ifndef V8_HEAP_MARK_COMPACT_H_
6 #define V8_HEAP_MARK_COMPACT_H_ 6 #define V8_HEAP_MARK_COMPACT_H_
7 7
8 #include "src/base/bits.h" 8 #include "src/base/bits.h"
9 #include "src/heap/spaces.h" 9 #include "src/heap/spaces.h"
10 10
(...skipping 541 matching lines...) Expand 10 before | Expand all | Expand 10 after
552 void EnableCodeFlushing(bool enable); 552 void EnableCodeFlushing(bool enable);
553 553
554 enum SweeperType { 554 enum SweeperType {
555 CONCURRENT_SWEEPING, 555 CONCURRENT_SWEEPING,
556 SEQUENTIAL_SWEEPING 556 SEQUENTIAL_SWEEPING
557 }; 557 };
558 558
559 enum SweepingParallelism { SWEEP_ON_MAIN_THREAD, SWEEP_IN_PARALLEL }; 559 enum SweepingParallelism { SWEEP_ON_MAIN_THREAD, SWEEP_IN_PARALLEL };
560 560
561 #ifdef VERIFY_HEAP 561 #ifdef VERIFY_HEAP
562 void VerifyValidStoreAndSlotsBufferEntries();
562 void VerifyMarkbitsAreClean(); 563 void VerifyMarkbitsAreClean();
563 static void VerifyMarkbitsAreClean(PagedSpace* space); 564 static void VerifyMarkbitsAreClean(PagedSpace* space);
564 static void VerifyMarkbitsAreClean(NewSpace* space); 565 static void VerifyMarkbitsAreClean(NewSpace* space);
565 void VerifyWeakEmbeddedObjectsInCode(); 566 void VerifyWeakEmbeddedObjectsInCode();
566 void VerifyOmittedMapChecks(); 567 void VerifyOmittedMapChecks();
567 #endif 568 #endif
568 569
569 INLINE(static bool ShouldSkipEvacuationSlotRecording(Object* host)) { 570 INLINE(static bool ShouldSkipEvacuationSlotRecording(Object* host)) {
570 return Page::FromAddress(reinterpret_cast<Address>(host)) 571 return Page::FromAddress(reinterpret_cast<Address>(host))
571 ->ShouldSkipEvacuationSlotRecording(); 572 ->ShouldSkipEvacuationSlotRecording();
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
962 private: 963 private:
963 MarkCompactCollector* collector_; 964 MarkCompactCollector* collector_;
964 }; 965 };
965 966
966 967
967 const char* AllocationSpaceName(AllocationSpace space); 968 const char* AllocationSpaceName(AllocationSpace space);
968 } 969 }
969 } // namespace v8::internal 970 } // namespace v8::internal
970 971
971 #endif // V8_HEAP_MARK_COMPACT_H_ 972 #endif // V8_HEAP_MARK_COMPACT_H_
OLDNEW
« no previous file with comments | « src/heap/heap.h ('k') | src/heap/mark-compact.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698