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

Side by Side Diff: src/isolate.cc

Issue 13526003: No need to start Ticker for Crankshaft (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 8 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/log.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 1792 matching lines...) Expand 10 before | Expand all | Expand 10 after
1803 for (int i = 0; i < FLAG_marking_threads; i++) { 1803 for (int i = 0; i < FLAG_marking_threads; i++) {
1804 marking_thread_[i]->Stop(); 1804 marking_thread_[i]->Stop();
1805 delete marking_thread_[i]; 1805 delete marking_thread_[i];
1806 } 1806 }
1807 delete[] marking_thread_; 1807 delete[] marking_thread_;
1808 } 1808 }
1809 1809
1810 if (FLAG_hydrogen_stats) GetHStatistics()->Print(); 1810 if (FLAG_hydrogen_stats) GetHStatistics()->Print();
1811 1811
1812 // We must stop the logger before we tear down other components. 1812 // We must stop the logger before we tear down other components.
1813 logger_->EnsureTickerStopped(); 1813 Sampler* sampler = logger_->sampler();
1814 if (sampler && sampler->IsActive()) sampler->Stop();
1814 1815
1815 delete deoptimizer_data_; 1816 delete deoptimizer_data_;
1816 deoptimizer_data_ = NULL; 1817 deoptimizer_data_ = NULL;
1817 if (FLAG_preemption) { 1818 if (FLAG_preemption) {
1818 v8::Locker locker(reinterpret_cast<v8::Isolate*>(this)); 1819 v8::Locker locker(reinterpret_cast<v8::Isolate*>(this));
1819 v8::Locker::StopPreemption(); 1820 v8::Locker::StopPreemption();
1820 } 1821 }
1821 builtins_.TearDown(); 1822 builtins_.TearDown();
1822 bootstrapper_->TearDown(); 1823 bootstrapper_->TearDown();
1823 1824
(...skipping 561 matching lines...) Expand 10 before | Expand all | Expand 10 after
2385 2386
2386 #ifdef DEBUG 2387 #ifdef DEBUG
2387 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ 2388 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \
2388 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); 2389 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_);
2389 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) 2390 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET)
2390 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) 2391 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET)
2391 #undef ISOLATE_FIELD_OFFSET 2392 #undef ISOLATE_FIELD_OFFSET
2392 #endif 2393 #endif
2393 2394
2394 } } // namespace v8::internal 2395 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/log.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698