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

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

Issue 2497673004: Rehash canonical constants table for each class that can be affected by the 'become' operation (Closed)
Patch Set: Created 4 years, 1 month 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') | runtime/vm/isolate_reload.cc » ('J')
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 RUNTIME_VM_ISOLATE_RELOAD_H_ 5 #ifndef RUNTIME_VM_ISOLATE_RELOAD_H_
6 #define RUNTIME_VM_ISOLATE_RELOAD_H_ 6 #define RUNTIME_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 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 void RollbackLibraries(); 240 void RollbackLibraries();
241 241
242 #ifdef DEBUG 242 #ifdef DEBUG
243 void VerifyMaps(); 243 void VerifyMaps();
244 #endif 244 #endif
245 245
246 void Commit(); 246 void Commit();
247 247
248 void PostCommit(); 248 void PostCommit();
249 249
250 void RehashConstants();
251
250 void ClearReplacedObjectBits(); 252 void ClearReplacedObjectBits();
251 253
252 // atomic_install: 254 // atomic_install:
253 void MarkAllFunctionsForRecompilation(); 255 void MarkAllFunctionsForRecompilation();
254 void ResetUnoptimizedICsOnStack(); 256 void ResetUnoptimizedICsOnStack();
255 void ResetMegamorphicCaches(); 257 void ResetMegamorphicCaches();
256 void InvalidateWorld(); 258 void InvalidateWorld();
257 259
258 // The zone used for all reload related allocations. 260 // The zone used for all reload related allocations.
259 Zone* zone_; 261 Zone* zone_;
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 friend class ObjectLocator; 340 friend class ObjectLocator;
339 friend class MarkFunctionsForRecompilation; // IsDirty. 341 friend class MarkFunctionsForRecompilation; // IsDirty.
340 friend class ReasonForCancelling; 342 friend class ReasonForCancelling;
341 343
342 static Dart_FileModifiedCallback file_modified_callback_; 344 static Dart_FileModifiedCallback file_modified_callback_;
343 }; 345 };
344 346
345 } // namespace dart 347 } // namespace dart
346 348
347 #endif // RUNTIME_VM_ISOLATE_RELOAD_H_ 349 #endif // RUNTIME_VM_ISOLATE_RELOAD_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/isolate_reload.cc » ('j') | runtime/vm/isolate_reload.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698