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

Side by Side Diff: src/isolate.h

Issue 2366283003: Remove runtime zone. (Closed)
Patch Set: Created 4 years, 2 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 | « no previous file | src/isolate.cc » ('j') | src/runtime/runtime-regexp.cc » ('J')
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 867 matching lines...) Expand 10 before | Expand all | Expand 10 after
878 DescriptorLookupCache* descriptor_lookup_cache() { 878 DescriptorLookupCache* descriptor_lookup_cache() {
879 return descriptor_lookup_cache_; 879 return descriptor_lookup_cache_;
880 } 880 }
881 881
882 HandleScopeData* handle_scope_data() { return &handle_scope_data_; } 882 HandleScopeData* handle_scope_data() { return &handle_scope_data_; }
883 883
884 HandleScopeImplementer* handle_scope_implementer() { 884 HandleScopeImplementer* handle_scope_implementer() {
885 DCHECK(handle_scope_implementer_); 885 DCHECK(handle_scope_implementer_);
886 return handle_scope_implementer_; 886 return handle_scope_implementer_;
887 } 887 }
888 Zone* runtime_zone() { return runtime_zone_; }
889 888
890 UnicodeCache* unicode_cache() { 889 UnicodeCache* unicode_cache() {
891 return unicode_cache_; 890 return unicode_cache_;
892 } 891 }
893 892
894 InnerPointerToCodeCache* inner_pointer_to_code_cache() { 893 InnerPointerToCodeCache* inner_pointer_to_code_cache() {
895 return inner_pointer_to_code_cache_; 894 return inner_pointer_to_code_cache_;
896 } 895 }
897 896
898 GlobalHandles* global_handles() { return global_handles_; } 897 GlobalHandles* global_handles() { return global_handles_; }
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
1143 FutexWaitListNode* futex_wait_list_node() { return &futex_wait_list_node_; } 1142 FutexWaitListNode* futex_wait_list_node() { return &futex_wait_list_node_; }
1144 1143
1145 CancelableTaskManager* cancelable_task_manager() { 1144 CancelableTaskManager* cancelable_task_manager() {
1146 return cancelable_task_manager_; 1145 return cancelable_task_manager_;
1147 } 1146 }
1148 1147
1149 interpreter::Interpreter* interpreter() const { return interpreter_; } 1148 interpreter::Interpreter* interpreter() const { return interpreter_; }
1150 1149
1151 AccountingAllocator* allocator() { return allocator_; } 1150 AccountingAllocator* allocator() { return allocator_; }
1152 1151
1152 List<int>* regex_list() { return &regex_indices_; }
1153
1153 bool IsInAnyContext(Object* object, uint32_t index); 1154 bool IsInAnyContext(Object* object, uint32_t index);
1154 1155
1155 void SetRAILMode(RAILMode rail_mode); 1156 void SetRAILMode(RAILMode rail_mode);
1156 1157
1157 void IsolateInForegroundNotification(); 1158 void IsolateInForegroundNotification();
1158 1159
1159 void IsolateInBackgroundNotification(); 1160 void IsolateInBackgroundNotification();
1160 1161
1161 bool IsIsolateInBackground() { return is_isolate_in_background_; } 1162 bool IsIsolateInBackground() { return is_isolate_in_background_; }
1162 1163
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
1318 bool capture_stack_trace_for_uncaught_exceptions_; 1319 bool capture_stack_trace_for_uncaught_exceptions_;
1319 int stack_trace_for_uncaught_exceptions_frame_limit_; 1320 int stack_trace_for_uncaught_exceptions_frame_limit_;
1320 StackTrace::StackTraceOptions stack_trace_for_uncaught_exceptions_options_; 1321 StackTrace::StackTraceOptions stack_trace_for_uncaught_exceptions_options_;
1321 KeyedLookupCache* keyed_lookup_cache_; 1322 KeyedLookupCache* keyed_lookup_cache_;
1322 ContextSlotCache* context_slot_cache_; 1323 ContextSlotCache* context_slot_cache_;
1323 DescriptorLookupCache* descriptor_lookup_cache_; 1324 DescriptorLookupCache* descriptor_lookup_cache_;
1324 HandleScopeData handle_scope_data_; 1325 HandleScopeData handle_scope_data_;
1325 HandleScopeImplementer* handle_scope_implementer_; 1326 HandleScopeImplementer* handle_scope_implementer_;
1326 UnicodeCache* unicode_cache_; 1327 UnicodeCache* unicode_cache_;
1327 AccountingAllocator* allocator_; 1328 AccountingAllocator* allocator_;
1328 Zone* runtime_zone_;
1329 InnerPointerToCodeCache* inner_pointer_to_code_cache_; 1329 InnerPointerToCodeCache* inner_pointer_to_code_cache_;
1330 GlobalHandles* global_handles_; 1330 GlobalHandles* global_handles_;
1331 EternalHandles* eternal_handles_; 1331 EternalHandles* eternal_handles_;
1332 ThreadManager* thread_manager_; 1332 ThreadManager* thread_manager_;
1333 RuntimeState runtime_state_; 1333 RuntimeState runtime_state_;
1334 Builtins builtins_; 1334 Builtins builtins_;
1335 bool has_installed_extensions_; 1335 bool has_installed_extensions_;
1336 unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_; 1336 unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_;
1337 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_; 1337 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_;
1338 unibrow::Mapping<unibrow::Ecma262Canonicalize> 1338 unibrow::Mapping<unibrow::Ecma262Canonicalize>
1339 regexp_macro_assembler_canonicalize_; 1339 regexp_macro_assembler_canonicalize_;
1340 RegExpStack* regexp_stack_; 1340 RegExpStack* regexp_stack_;
1341 DateCache* date_cache_; 1341 DateCache* date_cache_;
1342 CallInterfaceDescriptorData* call_descriptor_data_; 1342 CallInterfaceDescriptorData* call_descriptor_data_;
1343 base::RandomNumberGenerator* random_number_generator_; 1343 base::RandomNumberGenerator* random_number_generator_;
1344 base::AtomicValue<RAILMode> rail_mode_; 1344 base::AtomicValue<RAILMode> rail_mode_;
1345 List<int> regex_indices_;
jgruber 2016/09/30 09:46:23 Nit: 'regexp' here and above, and please move this
1345 1346
1346 // Whether the isolate has been created for snapshotting. 1347 // Whether the isolate has been created for snapshotting.
1347 bool serializer_enabled_; 1348 bool serializer_enabled_;
1348 1349
1349 // True if fatal error has been signaled for this isolate. 1350 // True if fatal error has been signaled for this isolate.
1350 bool has_fatal_error_; 1351 bool has_fatal_error_;
1351 1352
1352 // True if this isolate was initialized from a snapshot. 1353 // True if this isolate was initialized from a snapshot.
1353 bool initialized_from_snapshot_; 1354 bool initialized_from_snapshot_;
1354 1355
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
1672 1673
1673 EmbeddedVector<char, 128> filename_; 1674 EmbeddedVector<char, 128> filename_;
1674 FILE* file_; 1675 FILE* file_;
1675 int scope_depth_; 1676 int scope_depth_;
1676 }; 1677 };
1677 1678
1678 } // namespace internal 1679 } // namespace internal
1679 } // namespace v8 1680 } // namespace v8
1680 1681
1681 #endif // V8_ISOLATE_H_ 1682 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « no previous file | src/isolate.cc » ('j') | src/runtime/runtime-regexp.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698