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

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

Issue 10105026: Version 3.10.3 (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: Created 8 years, 8 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/macros.py ('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 526 matching lines...) Expand 10 before | Expand all | Expand 10 after
537 537
538 inline Object* encountered_weak_maps() { return encountered_weak_maps_; } 538 inline Object* encountered_weak_maps() { return encountered_weak_maps_; }
539 inline void set_encountered_weak_maps(Object* weak_map) { 539 inline void set_encountered_weak_maps(Object* weak_map) {
540 encountered_weak_maps_ = weak_map; 540 encountered_weak_maps_ = weak_map;
541 } 541 }
542 542
543 void InvalidateCode(Code* code); 543 void InvalidateCode(Code* code);
544 544
545 void ClearMarkbits(); 545 void ClearMarkbits();
546 546
547 bool is_compacting() const { return compacting_; }
548
547 private: 549 private:
548 MarkCompactCollector(); 550 MarkCompactCollector();
549 ~MarkCompactCollector(); 551 ~MarkCompactCollector();
550 552
551 bool MarkInvalidatedCode(); 553 bool MarkInvalidatedCode();
552 void RemoveDeadInvalidatedCode(); 554 void RemoveDeadInvalidatedCode();
553 void ProcessInvalidatedCode(ObjectVisitor* visitor); 555 void ProcessInvalidatedCode(ObjectVisitor* visitor);
554 556
555 557
556 #ifdef DEBUG 558 #ifdef DEBUG
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
760 762
761 friend class Heap; 763 friend class Heap;
762 }; 764 };
763 765
764 766
765 const char* AllocationSpaceName(AllocationSpace space); 767 const char* AllocationSpaceName(AllocationSpace space);
766 768
767 } } // namespace v8::internal 769 } } // namespace v8::internal
768 770
769 #endif // V8_MARK_COMPACT_H_ 771 #endif // V8_MARK_COMPACT_H_
OLDNEW
« no previous file with comments | « src/macros.py ('k') | src/mark-compact.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698