| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |