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

Side by Side Diff: src/isolate.h

Issue 2549753002: Store OSR'd optimized code on the native context. (Closed)
Patch Set: Comment response. Created 4 years 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/debug/debug.cc ('k') | src/isolate.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 // 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 1146 matching lines...) Expand 10 before | Expand all | Expand 10 after
1157 } 1157 }
1158 1158
1159 interpreter::Interpreter* interpreter() const { return interpreter_; } 1159 interpreter::Interpreter* interpreter() const { return interpreter_; }
1160 1160
1161 AccountingAllocator* allocator() { return allocator_; } 1161 AccountingAllocator* allocator() { return allocator_; }
1162 1162
1163 CompilerDispatcherTracer* compiler_dispatcher_tracer() const { 1163 CompilerDispatcherTracer* compiler_dispatcher_tracer() const {
1164 return compiler_dispatcher_tracer_; 1164 return compiler_dispatcher_tracer_;
1165 } 1165 }
1166 1166
1167 // Clear all optimized code stored in native contexts.
1168 void ClearOSROptimizedCode();
1169
1170 // Ensure that a particular optimized code is evicted.
1171 void EvictOSROptimizedCode(Code* code, const char* reason);
1172
1167 bool IsInAnyContext(Object* object, uint32_t index); 1173 bool IsInAnyContext(Object* object, uint32_t index);
1168 1174
1169 void SetRAILMode(RAILMode rail_mode); 1175 void SetRAILMode(RAILMode rail_mode);
1170 1176
1171 void IsolateInForegroundNotification(); 1177 void IsolateInForegroundNotification();
1172 1178
1173 void IsolateInBackgroundNotification(); 1179 void IsolateInBackgroundNotification();
1174 1180
1175 bool IsIsolateInBackground() { return is_isolate_in_background_; } 1181 bool IsIsolateInBackground() { return is_isolate_in_background_; }
1176 1182
(...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after
1682 1688
1683 EmbeddedVector<char, 128> filename_; 1689 EmbeddedVector<char, 128> filename_;
1684 FILE* file_; 1690 FILE* file_;
1685 int scope_depth_; 1691 int scope_depth_;
1686 }; 1692 };
1687 1693
1688 } // namespace internal 1694 } // namespace internal
1689 } // namespace v8 1695 } // namespace v8
1690 1696
1691 #endif // V8_ISOLATE_H_ 1697 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/debug/debug.cc ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698