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

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

Issue 1343383003: VM: Store edge counters in one per-function array. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: clean up comments, save space in IL Instruction class. Created 5 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
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 "include/dart_native_api.h" 8 #include "include/dart_native_api.h"
9 #include "platform/assert.h" 9 #include "platform/assert.h"
10 #include "platform/json.h" 10 #include "platform/json.h"
(...skipping 679 matching lines...) Expand 10 before | Expand all | Expand 10 after
690 stack_base_(0), 690 stack_base_(0),
691 stack_overflow_flags_(0), 691 stack_overflow_flags_(0),
692 stack_overflow_count_(0), 692 stack_overflow_count_(0),
693 message_handler_(NULL), 693 message_handler_(NULL),
694 spawn_state_(NULL), 694 spawn_state_(NULL),
695 is_runnable_(false), 695 is_runnable_(false),
696 gc_prologue_callback_(NULL), 696 gc_prologue_callback_(NULL),
697 gc_epilogue_callback_(NULL), 697 gc_epilogue_callback_(NULL),
698 defer_finalization_count_(0), 698 defer_finalization_count_(0),
699 deopt_context_(NULL), 699 deopt_context_(NULL),
700 edge_counter_increment_size_(-1),
701 compiler_stats_(NULL), 700 compiler_stats_(NULL),
702 is_service_isolate_(false), 701 is_service_isolate_(false),
703 stacktrace_(NULL), 702 stacktrace_(NULL),
704 stack_frame_index_(-1), 703 stack_frame_index_(-1),
705 last_allocationprofile_accumulator_reset_timestamp_(0), 704 last_allocationprofile_accumulator_reset_timestamp_(0),
706 last_allocationprofile_gc_timestamp_(0), 705 last_allocationprofile_gc_timestamp_(0),
707 object_id_ring_(NULL), 706 object_id_ring_(NULL),
708 trace_buffer_(NULL), 707 trace_buffer_(NULL),
709 profiler_data_(NULL), 708 profiler_data_(NULL),
710 tag_table_(GrowableObjectArray::null()), 709 tag_table_(GrowableObjectArray::null()),
(...skipping 1782 matching lines...) Expand 10 before | Expand all | Expand 10 after
2493 serialized_message_, serialized_message_len_); 2492 serialized_message_, serialized_message_len_);
2494 } 2493 }
2495 2494
2496 2495
2497 void IsolateSpawnState::Cleanup() { 2496 void IsolateSpawnState::Cleanup() {
2498 SwitchIsolateScope switch_scope(I); 2497 SwitchIsolateScope switch_scope(I);
2499 Dart::ShutdownIsolate(); 2498 Dart::ShutdownIsolate();
2500 } 2499 }
2501 2500
2502 } // namespace dart 2501 } // namespace dart
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698