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

Side by Side Diff: src/isolate.h

Issue 18635003: Reintroduce runtime zone to Isolate. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | 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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 878 matching lines...) Expand 10 before | Expand all | Expand 10 after
889 return descriptor_lookup_cache_; 889 return descriptor_lookup_cache_;
890 } 890 }
891 891
892 v8::ImplementationUtilities::HandleScopeData* handle_scope_data() { 892 v8::ImplementationUtilities::HandleScopeData* handle_scope_data() {
893 return &handle_scope_data_; 893 return &handle_scope_data_;
894 } 894 }
895 HandleScopeImplementer* handle_scope_implementer() { 895 HandleScopeImplementer* handle_scope_implementer() {
896 ASSERT(handle_scope_implementer_); 896 ASSERT(handle_scope_implementer_);
897 return handle_scope_implementer_; 897 return handle_scope_implementer_;
898 } 898 }
899 Zone* runtime_zone() { return &runtime_zone_; }
899 900
900 UnicodeCache* unicode_cache() { 901 UnicodeCache* unicode_cache() {
901 return unicode_cache_; 902 return unicode_cache_;
902 } 903 }
903 904
904 InnerPointerToCodeCache* inner_pointer_to_code_cache() { 905 InnerPointerToCodeCache* inner_pointer_to_code_cache() {
905 return inner_pointer_to_code_cache_; 906 return inner_pointer_to_code_cache_;
906 } 907 }
907 908
908 ConsStringIteratorOp* write_iterator() { return write_iterator_; } 909 ConsStringIteratorOp* write_iterator() { return write_iterator_; }
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after
1263 int stack_trace_for_uncaught_exceptions_frame_limit_; 1264 int stack_trace_for_uncaught_exceptions_frame_limit_;
1264 StackTrace::StackTraceOptions stack_trace_for_uncaught_exceptions_options_; 1265 StackTrace::StackTraceOptions stack_trace_for_uncaught_exceptions_options_;
1265 TranscendentalCache* transcendental_cache_; 1266 TranscendentalCache* transcendental_cache_;
1266 MemoryAllocator* memory_allocator_; 1267 MemoryAllocator* memory_allocator_;
1267 KeyedLookupCache* keyed_lookup_cache_; 1268 KeyedLookupCache* keyed_lookup_cache_;
1268 ContextSlotCache* context_slot_cache_; 1269 ContextSlotCache* context_slot_cache_;
1269 DescriptorLookupCache* descriptor_lookup_cache_; 1270 DescriptorLookupCache* descriptor_lookup_cache_;
1270 v8::ImplementationUtilities::HandleScopeData handle_scope_data_; 1271 v8::ImplementationUtilities::HandleScopeData handle_scope_data_;
1271 HandleScopeImplementer* handle_scope_implementer_; 1272 HandleScopeImplementer* handle_scope_implementer_;
1272 UnicodeCache* unicode_cache_; 1273 UnicodeCache* unicode_cache_;
1274 Zone runtime_zone_;
1273 PreallocatedStorage in_use_list_; 1275 PreallocatedStorage in_use_list_;
1274 PreallocatedStorage free_list_; 1276 PreallocatedStorage free_list_;
1275 bool preallocated_storage_preallocated_; 1277 bool preallocated_storage_preallocated_;
1276 InnerPointerToCodeCache* inner_pointer_to_code_cache_; 1278 InnerPointerToCodeCache* inner_pointer_to_code_cache_;
1277 ConsStringIteratorOp* write_iterator_; 1279 ConsStringIteratorOp* write_iterator_;
1278 GlobalHandles* global_handles_; 1280 GlobalHandles* global_handles_;
1279 ContextSwitcher* context_switcher_; 1281 ContextSwitcher* context_switcher_;
1280 ThreadManager* thread_manager_; 1282 ThreadManager* thread_manager_;
1281 RuntimeState runtime_state_; 1283 RuntimeState runtime_state_;
1282 bool fp_stubs_generated_; 1284 bool fp_stubs_generated_;
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
1502 1504
1503 // Mark the native context with out of memory. 1505 // Mark the native context with out of memory.
1504 inline void Context::mark_out_of_memory() { 1506 inline void Context::mark_out_of_memory() {
1505 native_context()->set_out_of_memory(HEAP->true_value()); 1507 native_context()->set_out_of_memory(HEAP->true_value());
1506 } 1508 }
1507 1509
1508 1510
1509 } } // namespace v8::internal 1511 } } // namespace v8::internal
1510 1512
1511 #endif // V8_ISOLATE_H_ 1513 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « no previous file | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698