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

Side by Side Diff: src/isolate.h

Issue 2335343007: Pool implementation for zone segments (Closed)
Patch Set: Fixed Regexp benchmark regression 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
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 868 matching lines...) Expand 10 before | Expand all | Expand 10 after
879 DescriptorLookupCache* descriptor_lookup_cache() { 879 DescriptorLookupCache* descriptor_lookup_cache() {
880 return descriptor_lookup_cache_; 880 return descriptor_lookup_cache_;
881 } 881 }
882 882
883 HandleScopeData* handle_scope_data() { return &handle_scope_data_; } 883 HandleScopeData* handle_scope_data() { return &handle_scope_data_; }
884 884
885 HandleScopeImplementer* handle_scope_implementer() { 885 HandleScopeImplementer* handle_scope_implementer() {
886 DCHECK(handle_scope_implementer_); 886 DCHECK(handle_scope_implementer_);
887 return handle_scope_implementer_; 887 return handle_scope_implementer_;
888 } 888 }
889 Zone* runtime_zone() { return runtime_zone_; }
890 889
891 UnicodeCache* unicode_cache() { 890 UnicodeCache* unicode_cache() {
892 return unicode_cache_; 891 return unicode_cache_;
893 } 892 }
894 893
895 InnerPointerToCodeCache* inner_pointer_to_code_cache() { 894 InnerPointerToCodeCache* inner_pointer_to_code_cache() {
896 return inner_pointer_to_code_cache_; 895 return inner_pointer_to_code_cache_;
897 } 896 }
898 897
899 GlobalHandles* global_handles() { return global_handles_; } 898 GlobalHandles* global_handles() { return global_handles_; }
(...skipping 20 matching lines...) Expand all
920 919
921 bool has_installed_extensions() { return has_installed_extensions_; } 920 bool has_installed_extensions() { return has_installed_extensions_; }
922 921
923 unibrow::Mapping<unibrow::Ecma262Canonicalize>* 922 unibrow::Mapping<unibrow::Ecma262Canonicalize>*
924 regexp_macro_assembler_canonicalize() { 923 regexp_macro_assembler_canonicalize() {
925 return &regexp_macro_assembler_canonicalize_; 924 return &regexp_macro_assembler_canonicalize_;
926 } 925 }
927 926
928 RegExpStack* regexp_stack() { return regexp_stack_; } 927 RegExpStack* regexp_stack() { return regexp_stack_; }
929 928
929 List<int>* regexp_indices() { return &regexp_indices_; }
930
930 unibrow::Mapping<unibrow::Ecma262Canonicalize>* 931 unibrow::Mapping<unibrow::Ecma262Canonicalize>*
931 interp_canonicalize_mapping() { 932 interp_canonicalize_mapping() {
932 return &regexp_macro_assembler_canonicalize_; 933 return &regexp_macro_assembler_canonicalize_;
933 } 934 }
934 935
935 Debug* debug() { return debug_; } 936 Debug* debug() { return debug_; }
936 937
937 bool* is_profiling_address() { return &is_profiling_; } 938 bool* is_profiling_address() { return &is_profiling_; }
938 CodeEventDispatcher* code_event_dispatcher() const { 939 CodeEventDispatcher* code_event_dispatcher() const {
939 return code_event_dispatcher_.get(); 940 return code_event_dispatcher_.get();
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after
1319 bool capture_stack_trace_for_uncaught_exceptions_; 1320 bool capture_stack_trace_for_uncaught_exceptions_;
1320 int stack_trace_for_uncaught_exceptions_frame_limit_; 1321 int stack_trace_for_uncaught_exceptions_frame_limit_;
1321 StackTrace::StackTraceOptions stack_trace_for_uncaught_exceptions_options_; 1322 StackTrace::StackTraceOptions stack_trace_for_uncaught_exceptions_options_;
1322 KeyedLookupCache* keyed_lookup_cache_; 1323 KeyedLookupCache* keyed_lookup_cache_;
1323 ContextSlotCache* context_slot_cache_; 1324 ContextSlotCache* context_slot_cache_;
1324 DescriptorLookupCache* descriptor_lookup_cache_; 1325 DescriptorLookupCache* descriptor_lookup_cache_;
1325 HandleScopeData handle_scope_data_; 1326 HandleScopeData handle_scope_data_;
1326 HandleScopeImplementer* handle_scope_implementer_; 1327 HandleScopeImplementer* handle_scope_implementer_;
1327 UnicodeCache* unicode_cache_; 1328 UnicodeCache* unicode_cache_;
1328 AccountingAllocator* allocator_; 1329 AccountingAllocator* allocator_;
1329 Zone* runtime_zone_;
1330 InnerPointerToCodeCache* inner_pointer_to_code_cache_; 1330 InnerPointerToCodeCache* inner_pointer_to_code_cache_;
1331 GlobalHandles* global_handles_; 1331 GlobalHandles* global_handles_;
1332 EternalHandles* eternal_handles_; 1332 EternalHandles* eternal_handles_;
1333 ThreadManager* thread_manager_; 1333 ThreadManager* thread_manager_;
1334 RuntimeState runtime_state_; 1334 RuntimeState runtime_state_;
1335 Builtins builtins_; 1335 Builtins builtins_;
1336 bool has_installed_extensions_; 1336 bool has_installed_extensions_;
1337 unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_; 1337 unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_;
1338 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_; 1338 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_;
1339 unibrow::Mapping<unibrow::Ecma262Canonicalize> 1339 unibrow::Mapping<unibrow::Ecma262Canonicalize>
1340 regexp_macro_assembler_canonicalize_; 1340 regexp_macro_assembler_canonicalize_;
1341 RegExpStack* regexp_stack_; 1341 RegExpStack* regexp_stack_;
1342 List<int> regexp_indices_;
1342 DateCache* date_cache_; 1343 DateCache* date_cache_;
1343 CallInterfaceDescriptorData* call_descriptor_data_; 1344 CallInterfaceDescriptorData* call_descriptor_data_;
1344 base::RandomNumberGenerator* random_number_generator_; 1345 base::RandomNumberGenerator* random_number_generator_;
1345 base::AtomicValue<RAILMode> rail_mode_; 1346 base::AtomicValue<RAILMode> rail_mode_;
1346 1347
1347 // Whether the isolate has been created for snapshotting. 1348 // Whether the isolate has been created for snapshotting.
1348 bool serializer_enabled_; 1349 bool serializer_enabled_;
1349 1350
1350 // True if fatal error has been signaled for this isolate. 1351 // True if fatal error has been signaled for this isolate.
1351 bool has_fatal_error_; 1352 bool has_fatal_error_;
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
1673 1674
1674 EmbeddedVector<char, 128> filename_; 1675 EmbeddedVector<char, 128> filename_;
1675 FILE* file_; 1676 FILE* file_;
1676 int scope_depth_; 1677 int scope_depth_;
1677 }; 1678 };
1678 1679
1679 } // namespace internal 1680 } // namespace internal
1680 } // namespace v8 1681 } // namespace v8
1681 1682
1682 #endif // V8_ISOLATE_H_ 1683 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/api.cc ('k') | src/isolate.cc » ('j') | src/runtime/runtime-regexp.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698