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

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

Issue 12177017: Fixed IsSweepingComplete and EnsureSweeperProgress helper functions. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 10 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 | « src/incremental-marking.cc ('k') | 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 673 matching lines...) Expand 10 before | Expand all | Expand 10 after
684 void SweepInParallel(PagedSpace* space, 684 void SweepInParallel(PagedSpace* space,
685 FreeList* private_free_list, 685 FreeList* private_free_list,
686 FreeList* free_list); 686 FreeList* free_list);
687 687
688 void WaitUntilSweepingCompleted(); 688 void WaitUntilSweepingCompleted();
689 689
690 intptr_t StealMemoryFromSweeperThreads(PagedSpace* space); 690 intptr_t StealMemoryFromSweeperThreads(PagedSpace* space);
691 691
692 bool AreSweeperThreadsActivated(); 692 bool AreSweeperThreadsActivated();
693 693
694 bool IsConcurrentSweepingInProgress();
695
694 // Parallel marking support. 696 // Parallel marking support.
695 void MarkInParallel(); 697 void MarkInParallel();
696 698
697 void WaitUntilMarkingCompleted(); 699 void WaitUntilMarkingCompleted();
698 700
699 private: 701 private:
700 MarkCompactCollector(); 702 MarkCompactCollector();
701 ~MarkCompactCollector(); 703 ~MarkCompactCollector();
702 704
703 bool MarkInvalidatedCode(); 705 bool MarkInvalidatedCode();
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
890 892
891 friend class Heap; 893 friend class Heap;
892 }; 894 };
893 895
894 896
895 const char* AllocationSpaceName(AllocationSpace space); 897 const char* AllocationSpaceName(AllocationSpace space);
896 898
897 } } // namespace v8::internal 899 } } // namespace v8::internal
898 900
899 #endif // V8_MARK_COMPACT_H_ 901 #endif // V8_MARK_COMPACT_H_
OLDNEW
« no previous file with comments | « src/incremental-marking.cc ('k') | src/mark-compact.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698