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

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

Issue 2032153003: Use clustered serialization for full snapshots. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: round1 Created 4 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 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/dart.h" 5 #include "vm/dart.h"
6 6
7 #include "vm/become.h" 7 #include "vm/become.h"
8 #include "vm/code_observers.h" 8 #include "vm/code_observers.h"
9 #include "vm/cpu.h" 9 #include "vm/cpu.h"
10 #include "vm/dart_api_state.h" 10 #include "vm/dart_api_state.h"
(...skipping 15 matching lines...) Expand all
26 #include "vm/simulator.h" 26 #include "vm/simulator.h"
27 #include "vm/snapshot.h" 27 #include "vm/snapshot.h"
28 #include "vm/store_buffer.h" 28 #include "vm/store_buffer.h"
29 #include "vm/stub_code.h" 29 #include "vm/stub_code.h"
30 #include "vm/symbols.h" 30 #include "vm/symbols.h"
31 #include "vm/thread_interrupter.h" 31 #include "vm/thread_interrupter.h"
32 #include "vm/thread_pool.h" 32 #include "vm/thread_pool.h"
33 #include "vm/timeline.h" 33 #include "vm/timeline.h"
34 #include "vm/virtual_memory.h" 34 #include "vm/virtual_memory.h"
35 #include "vm/zone.h" 35 #include "vm/zone.h"
36 #include "vm/clustered_snapshot.h"
siva 2016/06/30 00:06:08 Should clustered_snapshot.h be included inside sna
rmacnak 2016/06/30 01:39:22 There's no use it from the script/message snapshot
36 37
37 namespace dart { 38 namespace dart {
38 39
39 DECLARE_FLAG(bool, print_class_table); 40 DECLARE_FLAG(bool, print_class_table);
40 DECLARE_FLAG(bool, trace_time_all); 41 DECLARE_FLAG(bool, trace_time_all);
41 DEFINE_FLAG(bool, keep_code, false, 42 DEFINE_FLAG(bool, keep_code, false,
42 "Keep deoptimized code for profiling."); 43 "Keep deoptimized code for profiling.");
43 DEFINE_FLAG(bool, shutdown, true, "Do a clean shutdown of the VM"); 44 DEFINE_FLAG(bool, shutdown, true, "Do a clean shutdown of the VM");
44 DEFINE_FLAG(bool, trace_shutdown, false, "Trace VM shutdown on stderr"); 45 DEFINE_FLAG(bool, trace_shutdown, false, "Trace VM shutdown on stderr");
45 46
(...skipping 687 matching lines...) Expand 10 before | Expand all | Expand 10 after
733 return predefined_handles_->handles_.IsValidScopedHandle(address); 734 return predefined_handles_->handles_.IsValidScopedHandle(address);
734 } 735 }
735 736
736 737
737 bool Dart::IsReadOnlyApiHandle(Dart_Handle handle) { 738 bool Dart::IsReadOnlyApiHandle(Dart_Handle handle) {
738 ASSERT(predefined_handles_ != NULL); 739 ASSERT(predefined_handles_ != NULL);
739 return predefined_handles_->api_handles_.IsValidHandle(handle); 740 return predefined_handles_->api_handles_.IsValidHandle(handle);
740 } 741 }
741 742
742 } // namespace dart 743 } // namespace dart
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698