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

Side by Side Diff: src/isolate.h

Issue 21133006: introduce eternal handles (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: returns handles, added tests Created 7 years, 4 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 | « src/heap.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 // 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 904 matching lines...) Expand 10 before | Expand all | Expand 10 after
915 } 915 }
916 916
917 InnerPointerToCodeCache* inner_pointer_to_code_cache() { 917 InnerPointerToCodeCache* inner_pointer_to_code_cache() {
918 return inner_pointer_to_code_cache_; 918 return inner_pointer_to_code_cache_;
919 } 919 }
920 920
921 ConsStringIteratorOp* write_iterator() { return write_iterator_; } 921 ConsStringIteratorOp* write_iterator() { return write_iterator_; }
922 922
923 GlobalHandles* global_handles() { return global_handles_; } 923 GlobalHandles* global_handles() { return global_handles_; }
924 924
925 EternalHandles* eternal_handles() { return eternal_handles_; }
926
925 ThreadManager* thread_manager() { return thread_manager_; } 927 ThreadManager* thread_manager() { return thread_manager_; }
926 928
927 ContextSwitcher* context_switcher() { return context_switcher_; } 929 ContextSwitcher* context_switcher() { return context_switcher_; }
928 930
929 void set_context_switcher(ContextSwitcher* switcher) { 931 void set_context_switcher(ContextSwitcher* switcher) {
930 context_switcher_ = switcher; 932 context_switcher_ = switcher;
931 } 933 }
932 934
933 StringTracker* string_tracker() { return string_tracker_; } 935 StringTracker* string_tracker() { return string_tracker_; }
934 936
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
1288 v8::ImplementationUtilities::HandleScopeData handle_scope_data_; 1290 v8::ImplementationUtilities::HandleScopeData handle_scope_data_;
1289 HandleScopeImplementer* handle_scope_implementer_; 1291 HandleScopeImplementer* handle_scope_implementer_;
1290 UnicodeCache* unicode_cache_; 1292 UnicodeCache* unicode_cache_;
1291 Zone runtime_zone_; 1293 Zone runtime_zone_;
1292 PreallocatedStorage in_use_list_; 1294 PreallocatedStorage in_use_list_;
1293 PreallocatedStorage free_list_; 1295 PreallocatedStorage free_list_;
1294 bool preallocated_storage_preallocated_; 1296 bool preallocated_storage_preallocated_;
1295 InnerPointerToCodeCache* inner_pointer_to_code_cache_; 1297 InnerPointerToCodeCache* inner_pointer_to_code_cache_;
1296 ConsStringIteratorOp* write_iterator_; 1298 ConsStringIteratorOp* write_iterator_;
1297 GlobalHandles* global_handles_; 1299 GlobalHandles* global_handles_;
1300 EternalHandles* eternal_handles_;
1298 ContextSwitcher* context_switcher_; 1301 ContextSwitcher* context_switcher_;
1299 ThreadManager* thread_manager_; 1302 ThreadManager* thread_manager_;
1300 RuntimeState runtime_state_; 1303 RuntimeState runtime_state_;
1301 bool fp_stubs_generated_; 1304 bool fp_stubs_generated_;
1302 Builtins builtins_; 1305 Builtins builtins_;
1303 bool has_installed_extensions_; 1306 bool has_installed_extensions_;
1304 StringTracker* string_tracker_; 1307 StringTracker* string_tracker_;
1305 unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_; 1308 unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_;
1306 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_; 1309 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_;
1307 ConsStringIteratorOp objects_string_compare_iterator_a_; 1310 ConsStringIteratorOp objects_string_compare_iterator_a_;
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
1524 1527
1525 // Mark the native context with out of memory. 1528 // Mark the native context with out of memory.
1526 inline void Context::mark_out_of_memory() { 1529 inline void Context::mark_out_of_memory() {
1527 native_context()->set_out_of_memory(HEAP->true_value()); 1530 native_context()->set_out_of_memory(HEAP->true_value());
1528 } 1531 }
1529 1532
1530 1533
1531 } } // namespace v8::internal 1534 } } // namespace v8::internal
1532 1535
1533 #endif // V8_ISOLATE_H_ 1536 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/heap.cc ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698