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

Unified Diff: runtime/vm/isolate.cc

Issue 11040062: Renamed Zone->StackZone, BaseZone->Zone, in preparation for changing isolate->get_zone() to return … (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: code review changes Created 8 years, 2 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 | « runtime/vm/isolate.h ('k') | runtime/vm/native_entry.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/isolate.cc
diff --git a/runtime/vm/isolate.cc b/runtime/vm/isolate.cc
index a5c0657787385e344be68a7fe09679b59110ad10..e7bf8b48749e62c22a04eb8cebe7b76d53d0a562 100644
--- a/runtime/vm/isolate.cc
+++ b/runtime/vm/isolate.cc
@@ -83,7 +83,7 @@ void IsolateMessageHandler::MessageNotify(Message::Priority priority) {
bool IsolateMessageHandler::HandleMessage(Message* message) {
StartIsolateScope start_scope(isolate_);
- Zone zone(isolate_);
+ StackZone zone(isolate_);
HandleScope handle_scope(isolate_);
// Parse the message.
@@ -354,7 +354,7 @@ static void AddFunctionsFromClass(const Class& cls,
void Isolate::PrintInvokedFunctions() {
ASSERT(this == Isolate::Current());
- Zone zone(this);
+ StackZone zone(this);
HandleScope handle_scope(this);
const GrowableObjectArray& libraries =
GrowableObjectArray::Handle(object_store()->libraries());
@@ -408,7 +408,7 @@ void Isolate::Shutdown() {
// requires a handle zone. We must set up a temporary zone because
// Isolate::Shutdown is called without a zone.
{
- Zone zone(this);
+ StackZone zone(this);
HandleScope handle_scope(this);
debugger_->Shutdown();
}
@@ -434,7 +434,7 @@ void Isolate::Shutdown() {
DebugInfo::UnregisterAllSections();
}
if (FLAG_trace_isolates) {
- Zone zone(this);
+ StackZone zone(this);
HandleScope handle_scope(this);
OS::Print("Number of symbols added = %"Pd"\n", Symbols::Size(this));
OS::Print("[-] Stopping isolate:\n"
« no previous file with comments | « runtime/vm/isolate.h ('k') | runtime/vm/native_entry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698