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

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

Issue 11117020: Merged r12504, r12531, r12562, r12563, r12655 into 3.13 branch. (Closed) Base URL: https://v8.googlecode.com/svn/branches/3.13
Patch Set: Created 8 years, 2 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/ic-inl.h ('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 534 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 // pointers to evacuated objects. 545 // pointers to evacuated objects.
546 if (page->owner()->identity() == OLD_DATA_SPACE) { 546 if (page->owner()->identity() == OLD_DATA_SPACE) {
547 evacuation_candidates_.RemoveElement(page); 547 evacuation_candidates_.RemoveElement(page);
548 } else { 548 } else {
549 page->SetFlag(Page::RESCAN_ON_EVACUATION); 549 page->SetFlag(Page::RESCAN_ON_EVACUATION);
550 } 550 }
551 } 551 }
552 552
553 void RecordRelocSlot(RelocInfo* rinfo, Object* target); 553 void RecordRelocSlot(RelocInfo* rinfo, Object* target);
554 void RecordCodeEntrySlot(Address slot, Code* target); 554 void RecordCodeEntrySlot(Address slot, Code* target);
555 void RecordCodeTargetPatch(Address pc, Code* target);
555 556
556 INLINE(void RecordSlot(Object** anchor_slot, Object** slot, Object* object)); 557 INLINE(void RecordSlot(Object** anchor_slot, Object** slot, Object* object));
557 558
558 void MigrateObject(Address dst, 559 void MigrateObject(Address dst,
559 Address src, 560 Address src,
560 int size, 561 int size,
561 AllocationSpace to_old_space); 562 AllocationSpace to_old_space);
562 563
563 bool TryPromoteObject(HeapObject* object, int object_size); 564 bool TryPromoteObject(HeapObject* object, int object_size);
564 565
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
783 784
784 friend class Heap; 785 friend class Heap;
785 }; 786 };
786 787
787 788
788 const char* AllocationSpaceName(AllocationSpace space); 789 const char* AllocationSpaceName(AllocationSpace space);
789 790
790 } } // namespace v8::internal 791 } } // namespace v8::internal
791 792
792 #endif // V8_MARK_COMPACT_H_ 793 #endif // V8_MARK_COMPACT_H_
OLDNEW
« no previous file with comments | « src/ic-inl.h ('k') | src/mark-compact.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698