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

Side by Side Diff: runtime/vm/isolate.cc

Issue 584023004: Service isolate rework (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "vm/isolate.h" 5 #include "vm/isolate.h"
6 6
7 #include "include/dart_api.h" 7 #include "include/dart_api.h"
8 #include "platform/assert.h" 8 #include "platform/assert.h"
9 #include "platform/json.h" 9 #include "platform/json.h"
10 #include "vm/code_observers.h" 10 #include "vm/code_observers.h"
(...skipping 1058 matching lines...) Expand 10 before | Expand all | Expand 10 after
1069 Dart_IsolateInterruptCallback Isolate::interrupt_callback_ = NULL; 1069 Dart_IsolateInterruptCallback Isolate::interrupt_callback_ = NULL;
1070 Dart_IsolateUnhandledExceptionCallback 1070 Dart_IsolateUnhandledExceptionCallback
1071 Isolate::unhandled_exception_callback_ = NULL; 1071 Isolate::unhandled_exception_callback_ = NULL;
1072 Dart_IsolateShutdownCallback Isolate::shutdown_callback_ = NULL; 1072 Dart_IsolateShutdownCallback Isolate::shutdown_callback_ = NULL;
1073 Dart_FileOpenCallback Isolate::file_open_callback_ = NULL; 1073 Dart_FileOpenCallback Isolate::file_open_callback_ = NULL;
1074 Dart_FileReadCallback Isolate::file_read_callback_ = NULL; 1074 Dart_FileReadCallback Isolate::file_read_callback_ = NULL;
1075 Dart_FileWriteCallback Isolate::file_write_callback_ = NULL; 1075 Dart_FileWriteCallback Isolate::file_write_callback_ = NULL;
1076 Dart_FileCloseCallback Isolate::file_close_callback_ = NULL; 1076 Dart_FileCloseCallback Isolate::file_close_callback_ = NULL;
1077 Dart_EntropySource Isolate::entropy_source_callback_ = NULL; 1077 Dart_EntropySource Isolate::entropy_source_callback_ = NULL;
1078 Dart_IsolateInterruptCallback Isolate::vmstats_callback_ = NULL; 1078 Dart_IsolateInterruptCallback Isolate::vmstats_callback_ = NULL;
1079 Dart_ServiceIsolateCreateCalback Isolate::service_create_callback_ = NULL;
1080 1079
1081 Monitor* Isolate::isolates_list_monitor_ = NULL; 1080 Monitor* Isolate::isolates_list_monitor_ = NULL;
1082 Isolate* Isolate::isolates_list_head_ = NULL; 1081 Isolate* Isolate::isolates_list_head_ = NULL;
1083 1082
1084 1083
1085 void Isolate::VisitObjectPointers(ObjectPointerVisitor* visitor, 1084 void Isolate::VisitObjectPointers(ObjectPointerVisitor* visitor,
1086 bool visit_prologue_weak_handles, 1085 bool visit_prologue_weak_handles,
1087 bool validate_frames) { 1086 bool validate_frames) {
1088 ASSERT(visitor != NULL); 1087 ASSERT(visitor != NULL);
1089 1088
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after
1553 serialized_message_, serialized_message_len_); 1552 serialized_message_, serialized_message_len_);
1554 } 1553 }
1555 1554
1556 1555
1557 void IsolateSpawnState::Cleanup() { 1556 void IsolateSpawnState::Cleanup() {
1558 SwitchIsolateScope switch_scope(I); 1557 SwitchIsolateScope switch_scope(I);
1559 Dart::ShutdownIsolate(); 1558 Dart::ShutdownIsolate();
1560 } 1559 }
1561 1560
1562 } // namespace dart 1561 } // namespace dart
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698