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

Side by Side Diff: src/isolate.cc

Issue 23479015: thread isolate in PreallocatedStorageAllocationPolicy (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: forgot explicit dtor Created 7 years, 3 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/allocation-inl.h ('k') | src/list.h » ('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 2041 matching lines...) Expand 10 before | Expand all | Expand 10 after
2052 2052
2053 delete memory_allocator_; 2053 delete memory_allocator_;
2054 memory_allocator_ = NULL; 2054 memory_allocator_ = NULL;
2055 delete code_range_; 2055 delete code_range_;
2056 code_range_ = NULL; 2056 code_range_ = NULL;
2057 delete global_handles_; 2057 delete global_handles_;
2058 global_handles_ = NULL; 2058 global_handles_ = NULL;
2059 delete eternal_handles_; 2059 delete eternal_handles_;
2060 eternal_handles_ = NULL; 2060 eternal_handles_ = NULL;
2061 2061
2062 delete string_stream_debug_object_cache_; 2062 DebugObjectCache::Delete(string_stream_debug_object_cache_);
2063 string_stream_debug_object_cache_ = NULL; 2063 string_stream_debug_object_cache_ = NULL;
2064 2064
2065 delete external_reference_table_; 2065 delete external_reference_table_;
2066 external_reference_table_ = NULL; 2066 external_reference_table_ = NULL;
2067 2067
2068 #ifdef ENABLE_DEBUGGER_SUPPORT 2068 #ifdef ENABLE_DEBUGGER_SUPPORT
2069 delete debugger_; 2069 delete debugger_;
2070 debugger_ = NULL; 2070 debugger_ = NULL;
2071 delete debug_; 2071 delete debug_;
2072 debug_ = NULL; 2072 debug_ = NULL;
(...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after
2527 2527
2528 #ifdef DEBUG 2528 #ifdef DEBUG
2529 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ 2529 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \
2530 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); 2530 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_);
2531 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) 2531 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET)
2532 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) 2532 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET)
2533 #undef ISOLATE_FIELD_OFFSET 2533 #undef ISOLATE_FIELD_OFFSET
2534 #endif 2534 #endif
2535 2535
2536 } } // namespace v8::internal 2536 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/allocation-inl.h ('k') | src/list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698