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

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

Issue 12261011: Move sweeping pending status field of concurrent sweepers to MarkCompactCollector. (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 | « 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 722 matching lines...) Expand 10 before | Expand all | Expand 10 after
733 bool abort_incremental_marking_; 733 bool abort_incremental_marking_;
734 734
735 MarkingParity marking_parity_; 735 MarkingParity marking_parity_;
736 736
737 // True if we are collecting slots to perform evacuation from evacuation 737 // True if we are collecting slots to perform evacuation from evacuation
738 // candidates. 738 // candidates.
739 bool compacting_; 739 bool compacting_;
740 740
741 bool was_marked_incrementally_; 741 bool was_marked_incrementally_;
742 742
743 // True if concurrent or parallel sweeping is currently in progress.
744 bool sweeping_pending_;
745
743 // A pointer to the current stack-allocated GC tracer object during a full 746 // A pointer to the current stack-allocated GC tracer object during a full
744 // collection (NULL before and after). 747 // collection (NULL before and after).
745 GCTracer* tracer_; 748 GCTracer* tracer_;
746 749
747 SlotsBufferAllocator slots_buffer_allocator_; 750 SlotsBufferAllocator slots_buffer_allocator_;
748 751
749 SlotsBuffer* migration_slots_buffer_; 752 SlotsBuffer* migration_slots_buffer_;
750 753
751 // Finishes GC, performs heap verification if enabled. 754 // Finishes GC, performs heap verification if enabled.
752 void Finish(); 755 void Finish();
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
893 896
894 friend class Heap; 897 friend class Heap;
895 }; 898 };
896 899
897 900
898 const char* AllocationSpaceName(AllocationSpace space); 901 const char* AllocationSpaceName(AllocationSpace space);
899 902
900 } } // namespace v8::internal 903 } } // namespace v8::internal
901 904
902 #endif // V8_MARK_COMPACT_H_ 905 #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