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

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

Issue 197963002: Remove the ability to allow multiple gc prologue and gc epilogue callbacks (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 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
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 "lib/mirrors.h" 10 #include "lib/mirrors.h"
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 simulator_(NULL), 315 simulator_(NULL),
316 long_jump_base_(NULL), 316 long_jump_base_(NULL),
317 timer_list_(), 317 timer_list_(),
318 deopt_id_(0), 318 deopt_id_(0),
319 mutex_(new Mutex()), 319 mutex_(new Mutex()),
320 stack_limit_(0), 320 stack_limit_(0),
321 saved_stack_limit_(0), 321 saved_stack_limit_(0),
322 message_handler_(NULL), 322 message_handler_(NULL),
323 spawn_state_(NULL), 323 spawn_state_(NULL),
324 is_runnable_(false), 324 is_runnable_(false),
325 gc_prologue_callbacks_(), 325 gc_prologue_callback_(NULL),
326 gc_epilogue_callbacks_(), 326 gc_epilogue_callback_(NULL),
327 defer_finalization_count_(0), 327 defer_finalization_count_(0),
328 deopt_context_(NULL), 328 deopt_context_(NULL),
329 stacktrace_(NULL), 329 stacktrace_(NULL),
330 stack_frame_index_(-1), 330 stack_frame_index_(-1),
331 cha_used_(false), 331 cha_used_(false),
332 object_id_ring_(NULL), 332 object_id_ring_(NULL),
333 profiler_data_(NULL), 333 profiler_data_(NULL),
334 thread_state_(NULL), 334 thread_state_(NULL),
335 next_(NULL), 335 next_(NULL),
336 REUSABLE_HANDLE_LIST(REUSABLE_HANDLE_INITIALIZERS) 336 REUSABLE_HANDLE_LIST(REUSABLE_HANDLE_INITIALIZERS)
(...skipping 748 matching lines...) Expand 10 before | Expand all | Expand 10 after
1085 return func.raw(); 1085 return func.raw();
1086 } 1086 }
1087 1087
1088 1088
1089 void IsolateSpawnState::Cleanup() { 1089 void IsolateSpawnState::Cleanup() {
1090 SwitchIsolateScope switch_scope(isolate()); 1090 SwitchIsolateScope switch_scope(isolate());
1091 Dart::ShutdownIsolate(); 1091 Dart::ShutdownIsolate();
1092 } 1092 }
1093 1093
1094 } // namespace dart 1094 } // namespace dart
OLDNEW
« runtime/vm/dart_api_impl.cc ('K') | « runtime/vm/isolate.h ('k') | runtime/vm/scavenger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698