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

Side by Side Diff: src/isolate.h

Issue 2324623004: [heap] Fix a formatting bug in --trace-incremental-marking. (Closed)
Patch Set: add PRINTF_FORMAT Created 4 years, 3 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
« no previous file with comments | « src/heap/heap.cc ('k') | no next file » | 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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_ISOLATE_H_ 5 #ifndef V8_ISOLATE_H_
6 #define V8_ISOLATE_H_ 6 #define V8_ISOLATE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <queue> 9 #include <queue>
10 10
(...skipping 1144 matching lines...) Expand 10 before | Expand all | Expand 10 after
1155 bool IsInAnyContext(Object* object, uint32_t index); 1155 bool IsInAnyContext(Object* object, uint32_t index);
1156 1156
1157 void SetRAILMode(RAILMode rail_mode); 1157 void SetRAILMode(RAILMode rail_mode);
1158 1158
1159 void IsolateInForegroundNotification(); 1159 void IsolateInForegroundNotification();
1160 1160
1161 void IsolateInBackgroundNotification(); 1161 void IsolateInBackgroundNotification();
1162 1162
1163 bool IsIsolateInBackground() { return is_isolate_in_background_; } 1163 bool IsIsolateInBackground() { return is_isolate_in_background_; }
1164 1164
1165 void PrintWithTimestamp(const char* format, ...); 1165 PRINTF_FORMAT(2, 3) void PrintWithTimestamp(const char* format, ...);
1166 1166
1167 protected: 1167 protected:
1168 explicit Isolate(bool enable_serializer); 1168 explicit Isolate(bool enable_serializer);
1169 bool IsArrayOrObjectPrototype(Object* object); 1169 bool IsArrayOrObjectPrototype(Object* object);
1170 1170
1171 private: 1171 private:
1172 friend struct GlobalState; 1172 friend struct GlobalState;
1173 friend struct InitializeGlobalState; 1173 friend struct InitializeGlobalState;
1174 Handle<JSObject> SetUpSubregistry(Handle<JSObject> registry, Handle<Map> map, 1174 Handle<JSObject> SetUpSubregistry(Handle<JSObject> registry, Handle<Map> map,
1175 const char* name); 1175 const char* name);
(...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after
1671 1671
1672 EmbeddedVector<char, 128> filename_; 1672 EmbeddedVector<char, 128> filename_;
1673 FILE* file_; 1673 FILE* file_;
1674 int scope_depth_; 1674 int scope_depth_;
1675 }; 1675 };
1676 1676
1677 } // namespace internal 1677 } // namespace internal
1678 } // namespace v8 1678 } // namespace v8
1679 1679
1680 #endif // V8_ISOLATE_H_ 1680 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/heap/heap.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698