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

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

Issue 143193002: Move the temporary private freelist closer to where it's used (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 11 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') | 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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 698 matching lines...) Expand 10 before | Expand all | Expand 10 after
709 void ClearMarkbits(); 709 void ClearMarkbits();
710 710
711 bool abort_incremental_marking() const { return abort_incremental_marking_; } 711 bool abort_incremental_marking() const { return abort_incremental_marking_; }
712 712
713 bool is_compacting() const { return compacting_; } 713 bool is_compacting() const { return compacting_; }
714 714
715 MarkingParity marking_parity() { return marking_parity_; } 715 MarkingParity marking_parity() { return marking_parity_; }
716 716
717 // Concurrent and parallel sweeping support. 717 // Concurrent and parallel sweeping support.
718 void SweepInParallel(PagedSpace* space, 718 void SweepInParallel(PagedSpace* space,
719 FreeList* private_free_list,
720 FreeList* free_list); 719 FreeList* free_list);
721 720
722 void WaitUntilSweepingCompleted(); 721 void WaitUntilSweepingCompleted();
723 722
724 intptr_t StealMemoryFromSweeperThreads(PagedSpace* space); 723 intptr_t StealMemoryFromSweeperThreads(PagedSpace* space);
725 724
726 bool AreSweeperThreadsActivated(); 725 bool AreSweeperThreadsActivated();
727 726
728 bool IsConcurrentSweepingInProgress(); 727 bool IsConcurrentSweepingInProgress();
729 728
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
1019 private: 1018 private:
1020 MarkCompactCollector* collector_; 1019 MarkCompactCollector* collector_;
1021 }; 1020 };
1022 1021
1023 1022
1024 const char* AllocationSpaceName(AllocationSpace space); 1023 const char* AllocationSpaceName(AllocationSpace space);
1025 1024
1026 } } // namespace v8::internal 1025 } } // namespace v8::internal
1027 1026
1028 #endif // V8_MARK_COMPACT_H_ 1027 #endif // V8_MARK_COMPACT_H_
OLDNEW
« no previous file with comments | « no previous file | src/mark-compact.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698