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

Unified Diff: src/v8.cc

Issue 2866008: [Isolates] Move contents of Top into Isolate.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/isolates/
Patch Set: ensure we're synced Created 10 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/top.cc ('k') | src/v8threads.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/v8.cc
===================================================================
--- src/v8.cc (revision 4906)
+++ src/v8.cc (working copy)
@@ -67,26 +67,8 @@
void V8::TearDown() {
if (!has_been_setup_ || has_been_disposed_) return;
- OProfileAgent::TearDown();
+ Isolate::TearDownAndRecreateGlobalIsolate();
- if (FLAG_preemption) {
- v8::Locker locker;
- v8::Locker::StopPreemption();
- }
-
- Builtins::TearDown();
- Isolate::Current()->bootstrapper()->TearDown();
-
- Top::TearDown();
-
- HeapProfiler::TearDown();
-
- CpuProfiler::TearDown();
-
- HEAP->TearDown();
-
- Logger::TearDown();
-
is_running_ = false;
has_been_disposed_ = true;
}
« no previous file with comments | « src/top.cc ('k') | src/v8threads.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698