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

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

Issue 10802039: Don't record elements transition slots since it will contain a map. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed nit. Created 8 years, 5 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 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 public: 389 public:
390 Marker(BaseMarker* base_marker, MarkCompactCollector* mark_compact_collector) 390 Marker(BaseMarker* base_marker, MarkCompactCollector* mark_compact_collector)
391 : base_marker_(base_marker), 391 : base_marker_(base_marker),
392 mark_compact_collector_(mark_compact_collector) {} 392 mark_compact_collector_(mark_compact_collector) {}
393 393
394 // Mark pointers in a Map and its DescriptorArray together, possibly 394 // Mark pointers in a Map and its DescriptorArray together, possibly
395 // treating transitions or back pointers weak. 395 // treating transitions or back pointers weak.
396 void MarkMapContents(Map* map); 396 void MarkMapContents(Map* map);
397 void MarkDescriptorArray(DescriptorArray* descriptors); 397 void MarkDescriptorArray(DescriptorArray* descriptors);
398 void MarkTransitionArray(TransitionArray* transitions); 398 void MarkTransitionArray(TransitionArray* transitions);
399 void MarkAccessorPairSlot(AccessorPair* accessors, int offset);
400 399
401 private: 400 private:
402 BaseMarker* base_marker() { 401 BaseMarker* base_marker() {
403 return base_marker_; 402 return base_marker_;
404 } 403 }
405 404
406 MarkCompactCollector* mark_compact_collector() { 405 MarkCompactCollector* mark_compact_collector() {
407 return mark_compact_collector_; 406 return mark_compact_collector_;
408 } 407 }
409 408
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
787 786
788 friend class Heap; 787 friend class Heap;
789 }; 788 };
790 789
791 790
792 const char* AllocationSpaceName(AllocationSpace space); 791 const char* AllocationSpaceName(AllocationSpace space);
793 792
794 } } // namespace v8::internal 793 } } // namespace v8::internal
795 794
796 #endif // V8_MARK_COMPACT_H_ 795 #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