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

Side by Side Diff: src/isolate.cc

Issue 11818021: Allocation Info Tracking, continued. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: A partial delta against Toon's previous review Created 7 years, 9 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/ia32/macro-assembler-ia32.cc ('k') | src/objects.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 2062 matching lines...) Expand 10 before | Expand all | Expand 10 after
2073 } 2073 }
2074 2074
2075 if (create_heap_objects) { 2075 if (create_heap_objects) {
2076 // Terminate the cache array with the sentinel so we can iterate. 2076 // Terminate the cache array with the sentinel so we can iterate.
2077 PushToPartialSnapshotCache(heap_.undefined_value()); 2077 PushToPartialSnapshotCache(heap_.undefined_value());
2078 } 2078 }
2079 2079
2080 InitializeThreadLocal(); 2080 InitializeThreadLocal();
2081 2081
2082 bootstrapper_->Initialize(create_heap_objects); 2082 bootstrapper_->Initialize(create_heap_objects);
2083
2084 deoptimizer_data_ = new DeoptimizerData;
2085
2086 builtins_.SetUp(create_heap_objects); 2083 builtins_.SetUp(create_heap_objects);
2087 2084
2088 // Only preallocate on the first initialization. 2085 // Only preallocate on the first initialization.
2089 if (FLAG_preallocate_message_memory && preallocated_message_space_ == NULL) { 2086 if (FLAG_preallocate_message_memory && preallocated_message_space_ == NULL) {
2090 // Start the thread which will set aside some memory. 2087 // Start the thread which will set aside some memory.
2091 PreallocatedMemoryThreadStart(); 2088 PreallocatedMemoryThreadStart();
2092 preallocated_message_space_ = 2089 preallocated_message_space_ =
2093 new NoAllocationStringAllocator( 2090 new NoAllocationStringAllocator(
2094 preallocated_memory_thread_->data(), 2091 preallocated_memory_thread_->data(),
2095 preallocated_memory_thread_->length()); 2092 preallocated_memory_thread_->length());
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
2316 2313
2317 #ifdef DEBUG 2314 #ifdef DEBUG
2318 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ 2315 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \
2319 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); 2316 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_);
2320 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) 2317 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET)
2321 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) 2318 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET)
2322 #undef ISOLATE_FIELD_OFFSET 2319 #undef ISOLATE_FIELD_OFFSET
2323 #endif 2320 #endif
2324 2321
2325 } } // namespace v8::internal 2322 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/ia32/macro-assembler-ia32.cc ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698