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

Side by Side Diff: src/objects-visiting-inl.h

Issue 11362246: Implement progress bar for large objects. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed more comments. Created 8 years, 1 month 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/objects-visiting.h ('k') | src/spaces.h » ('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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 table_.Register(kVisitConsString, 103 table_.Register(kVisitConsString,
104 &FixedBodyVisitor<StaticVisitor, 104 &FixedBodyVisitor<StaticVisitor,
105 ConsString::BodyDescriptor, 105 ConsString::BodyDescriptor,
106 void>::Visit); 106 void>::Visit);
107 107
108 table_.Register(kVisitSlicedString, 108 table_.Register(kVisitSlicedString,
109 &FixedBodyVisitor<StaticVisitor, 109 &FixedBodyVisitor<StaticVisitor,
110 SlicedString::BodyDescriptor, 110 SlicedString::BodyDescriptor,
111 void>::Visit); 111 void>::Visit);
112 112
113 table_.Register(kVisitFixedArray, 113 table_.Register(kVisitFixedArray, &FixedArrayVisitor::Visit);
114 &FlexibleBodyVisitor<StaticVisitor,
115 FixedArray::BodyDescriptor,
116 void>::Visit);
117 114
118 table_.Register(kVisitFixedDoubleArray, &DataObjectVisitor::Visit); 115 table_.Register(kVisitFixedDoubleArray, &DataObjectVisitor::Visit);
119 116
120 table_.Register(kVisitNativeContext, &VisitNativeContext); 117 table_.Register(kVisitNativeContext, &VisitNativeContext);
121 118
122 table_.Register(kVisitByteArray, &DataObjectVisitor::Visit); 119 table_.Register(kVisitByteArray, &DataObjectVisitor::Visit);
123 120
124 table_.Register(kVisitFreeSpace, &DataObjectVisitor::Visit); 121 table_.Register(kVisitFreeSpace, &DataObjectVisitor::Visit);
125 122
126 table_.Register(kVisitSeqAsciiString, &DataObjectVisitor::Visit); 123 table_.Register(kVisitSeqAsciiString, &DataObjectVisitor::Visit);
(...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after
675 RelocIterator it(this, mode_mask); 672 RelocIterator it(this, mode_mask);
676 for (; !it.done(); it.next()) { 673 for (; !it.done(); it.next()) {
677 it.rinfo()->template Visit<StaticVisitor>(heap); 674 it.rinfo()->template Visit<StaticVisitor>(heap);
678 } 675 }
679 } 676 }
680 677
681 678
682 } } // namespace v8::internal 679 } } // namespace v8::internal
683 680
684 #endif // V8_OBJECTS_VISITING_INL_H_ 681 #endif // V8_OBJECTS_VISITING_INL_H_
OLDNEW
« no previous file with comments | « src/objects-visiting.h ('k') | src/spaces.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698