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

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

Issue 380263002: Fix windows compile, again. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/mark-compact.cc » ('j') | src/mark-compact.cc » ('J')
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_MARK_COMPACT_H_ 5 #ifndef V8_MARK_COMPACT_H_
6 #define V8_MARK_COMPACT_H_ 6 #define V8_MARK_COMPACT_H_
7 7
8 #include "src/compiler-intrinsics.h" 8 #include "src/compiler-intrinsics.h"
9 #include "src/spaces.h" 9 #include "src/spaces.h"
10 10
(...skipping 645 matching lines...) Expand 10 before | Expand all | Expand 10 after
656 bool abort_incremental_marking() const { return abort_incremental_marking_; } 656 bool abort_incremental_marking() const { return abort_incremental_marking_; }
657 657
658 bool is_compacting() const { return compacting_; } 658 bool is_compacting() const { return compacting_; }
659 659
660 MarkingParity marking_parity() { return marking_parity_; } 660 MarkingParity marking_parity() { return marking_parity_; }
661 661
662 // Concurrent and parallel sweeping support. If required_freed_bytes was set 662 // Concurrent and parallel sweeping support. If required_freed_bytes was set
663 // to a value larger than 0, then sweeping returns after a block of at least 663 // to a value larger than 0, then sweeping returns after a block of at least
664 // required_freed_bytes was freed. If required_freed_bytes was set to zero 664 // required_freed_bytes was freed. If required_freed_bytes was set to zero
665 // then the whole given space is swept. 665 // then the whole given space is swept.
666 int SweepInParallel(PagedSpace* space, intptr_t required_freed_bytes); 666 int SweepInParallel(PagedSpace* space, int required_freed_bytes);
667 667
668 void WaitUntilSweepingCompleted(); 668 void WaitUntilSweepingCompleted();
669 669
670 bool IsSweepingCompleted(); 670 bool IsSweepingCompleted();
671 671
672 void RefillFreeList(PagedSpace* space); 672 void RefillFreeList(PagedSpace* space);
673 673
674 bool AreSweeperThreadsActivated(); 674 bool AreSweeperThreadsActivated();
675 675
676 // If a paged space is passed in, this method checks if the given space is 676 // If a paged space is passed in, this method checks if the given space is
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
985 private: 985 private:
986 MarkCompactCollector* collector_; 986 MarkCompactCollector* collector_;
987 }; 987 };
988 988
989 989
990 const char* AllocationSpaceName(AllocationSpace space); 990 const char* AllocationSpaceName(AllocationSpace space);
991 991
992 } } // namespace v8::internal 992 } } // namespace v8::internal
993 993
994 #endif // V8_MARK_COMPACT_H_ 994 #endif // V8_MARK_COMPACT_H_
OLDNEW
« no previous file with comments | « no previous file | src/mark-compact.cc » ('j') | src/mark-compact.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698