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

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

Issue 6794050: Revert "[Arguments] Merge (7442,7496] from bleeding_edge." (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/arguments
Patch Set: Created 9 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/isolate.cc ('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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 HeapObject** top_; 91 HeapObject** top_;
92 HeapObject** high_; 92 HeapObject** high_;
93 bool overflowed_; 93 bool overflowed_;
94 94
95 DISALLOW_COPY_AND_ASSIGN(MarkingStack); 95 DISALLOW_COPY_AND_ASSIGN(MarkingStack);
96 }; 96 };
97 97
98 98
99 // ------------------------------------------------------------------------- 99 // -------------------------------------------------------------------------
100 // Mark-Compact collector 100 // Mark-Compact collector
101 //
102 // All methods are static.
101 103
102 class OverflowedObjectsScanner; 104 class OverflowedObjectsScanner;
103 105
104 class MarkCompactCollector { 106 class MarkCompactCollector {
105 public: 107 public:
106 // Type of functions to compute forwarding addresses of objects in 108 // Type of functions to compute forwarding addresses of objects in
107 // compacted spaces. Given an object and its size, return a (non-failure) 109 // compacted spaces. Given an object and its size, return a (non-failure)
108 // Object* that will be the object after forwarding. There is a separate 110 // Object* that will be the object after forwarding. There is a separate
109 // allocation function for each (compactable) space based on the location 111 // allocation function for each (compactable) space based on the location
110 // of the object before compaction. 112 // of the object before compaction.
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
497 CodeFlusher* code_flusher_; 499 CodeFlusher* code_flusher_;
498 500
499 friend class Heap; 501 friend class Heap;
500 friend class OverflowedObjectsScanner; 502 friend class OverflowedObjectsScanner;
501 }; 503 };
502 504
503 505
504 } } // namespace v8::internal 506 } } // namespace v8::internal
505 507
506 #endif // V8_MARK_COMPACT_H_ 508 #endif // V8_MARK_COMPACT_H_
OLDNEW
« no previous file with comments | « src/isolate.cc ('k') | src/mark-compact.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698