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

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

Issue 11413183: Fix incremental marking to be off during heap snapshots. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments by Toon Verwaest. Created 8 years 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/heap.cc ('k') | no next file » | 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 640 matching lines...) Expand 10 before | Expand all | Expand 10 after
651 651
652 inline Object* encountered_weak_maps() { return encountered_weak_maps_; } 652 inline Object* encountered_weak_maps() { return encountered_weak_maps_; }
653 inline void set_encountered_weak_maps(Object* weak_map) { 653 inline void set_encountered_weak_maps(Object* weak_map) {
654 encountered_weak_maps_ = weak_map; 654 encountered_weak_maps_ = weak_map;
655 } 655 }
656 656
657 void InvalidateCode(Code* code); 657 void InvalidateCode(Code* code);
658 658
659 void ClearMarkbits(); 659 void ClearMarkbits();
660 660
661 bool abort_incremental_marking() const { return abort_incremental_marking_; }
662
661 bool is_compacting() const { return compacting_; } 663 bool is_compacting() const { return compacting_; }
662 664
663 MarkingParity marking_parity() { return marking_parity_; } 665 MarkingParity marking_parity() { return marking_parity_; }
664 666
665 private: 667 private:
666 MarkCompactCollector(); 668 MarkCompactCollector();
667 ~MarkCompactCollector(); 669 ~MarkCompactCollector();
668 670
669 bool MarkInvalidatedCode(); 671 bool MarkInvalidatedCode();
670 void RemoveDeadInvalidatedCode(); 672 void RemoveDeadInvalidatedCode();
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
855 857
856 friend class Heap; 858 friend class Heap;
857 }; 859 };
858 860
859 861
860 const char* AllocationSpaceName(AllocationSpace space); 862 const char* AllocationSpaceName(AllocationSpace space);
861 863
862 } } // namespace v8::internal 864 } } // namespace v8::internal
863 865
864 #endif // V8_MARK_COMPACT_H_ 866 #endif // V8_MARK_COMPACT_H_
OLDNEW
« no previous file with comments | « src/heap.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698