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

Side by Side Diff: runtime/vm/isolate_reload.h

Issue 2201283002: Fix reload handling of unwind / stackoverflow errors (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: status file addition Created 4 years, 4 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
« no previous file with comments | « no previous file | runtime/vm/isolate_reload.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/isolate_reload.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698