OLD | NEW |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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 #ifndef VM_ISOLATE_RELOAD_H_ | 5 #ifndef VM_ISOLATE_RELOAD_H_ |
6 #define VM_ISOLATE_RELOAD_H_ | 6 #define VM_ISOLATE_RELOAD_H_ |
7 | 7 |
8 #include "include/dart_tools_api.h" | 8 #include "include/dart_tools_api.h" |
9 | 9 |
10 #include "vm/hash_map.h" | 10 #include "vm/hash_map.h" |
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
261 void InvalidateWorld(); | 261 void InvalidateWorld(); |
262 | 262 |
263 // The zone used for all reload related allocations. | 263 // The zone used for all reload related allocations. |
264 Zone* zone_; | 264 Zone* zone_; |
265 | 265 |
266 int64_t start_time_micros_; | 266 int64_t start_time_micros_; |
267 int64_t reload_timestamp_; | 267 int64_t reload_timestamp_; |
268 Isolate* isolate_; | 268 Isolate* isolate_; |
269 bool reload_skipped_; | 269 bool reload_skipped_; |
270 bool reload_aborted_; | 270 bool reload_aborted_; |
| 271 bool reload_finalized_; |
271 JSONStream* js_; | 272 JSONStream* js_; |
272 | 273 |
273 intptr_t saved_num_cids_; | 274 intptr_t saved_num_cids_; |
274 RawClass** saved_class_table_; | 275 RawClass** saved_class_table_; |
275 intptr_t num_saved_libs_; | 276 intptr_t num_saved_libs_; |
276 | 277 |
277 // Collect the necessary instance transformation for schema changes. | 278 // Collect the necessary instance transformation for schema changes. |
278 ZoneGrowableArray<InstanceMorpher*> instance_morphers_; | 279 ZoneGrowableArray<InstanceMorpher*> instance_morphers_; |
279 | 280 |
280 // Collects the reasons for cancelling the reload. | 281 // Collects the reasons for cancelling the reload. |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
343 friend class ObjectLocator; | 344 friend class ObjectLocator; |
344 friend class MarkFunctionsForRecompilation; // IsDirty. | 345 friend class MarkFunctionsForRecompilation; // IsDirty. |
345 friend class ReasonForCancelling; | 346 friend class ReasonForCancelling; |
346 | 347 |
347 static Dart_FileModifiedCallback file_modified_callback_; | 348 static Dart_FileModifiedCallback file_modified_callback_; |
348 }; | 349 }; |
349 | 350 |
350 } // namespace dart | 351 } // namespace dart |
351 | 352 |
352 #endif // VM_ISOLATE_RELOAD_H_ | 353 #endif // VM_ISOLATE_RELOAD_H_ |
OLD | NEW |