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

Side by Side Diff: src/isolate.h

Issue 2562623003: Revert of Store OSR'd optimized code on the native context. (patchset #8 id:140001 of https://coder… (Closed)
Patch Set: 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
1173 bool IsInAnyContext(Object* object, uint32_t index); 1167 bool IsInAnyContext(Object* object, uint32_t index);
1174 1168
1175 void SetRAILMode(RAILMode rail_mode); 1169 void SetRAILMode(RAILMode rail_mode);
1176 1170
1177 void IsolateInForegroundNotification(); 1171 void IsolateInForegroundNotification();
1178 1172
1179 void IsolateInBackgroundNotification(); 1173 void IsolateInBackgroundNotification();
1180 1174
1181 bool IsIsolateInBackground() { return is_isolate_in_background_; } 1175 bool IsIsolateInBackground() { return is_isolate_in_background_; }
1182 1176
(...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after
1688 1682
1689 EmbeddedVector<char, 128> filename_; 1683 EmbeddedVector<char, 128> filename_;
1690 FILE* file_; 1684 FILE* file_;
1691 int scope_depth_; 1685 int scope_depth_;
1692 }; 1686 };
1693 1687
1694 } // namespace internal 1688 } // namespace internal
1695 } // namespace v8 1689 } // namespace v8
1696 1690
1697 #endif // V8_ISOLATE_H_ 1691 #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