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

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

Issue 2699853002: Sort class IDs before training AppJIT snapshots (Closed)
Patch Set: Add DeleteAllCode Created 3 years, 10 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 | « runtime/vm/dart_api_impl.cc ('k') | runtime/vm/isolate.h » ('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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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_HEAP_H_ 5 #ifndef RUNTIME_VM_HEAP_H_
6 #define RUNTIME_VM_HEAP_H_ 6 #define RUNTIME_VM_HEAP_H_
7 7
8 #include "platform/assert.h" 8 #include "platform/assert.h"
9 #include "vm/allocation.h" 9 #include "vm/allocation.h"
10 #include "vm/flags.h" 10 #include "vm/flags.h"
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
349 bool gc_new_space_in_progress_; 349 bool gc_new_space_in_progress_;
350 bool gc_old_space_in_progress_; 350 bool gc_old_space_in_progress_;
351 351
352 friend class Become; // VisitObjectPointers 352 friend class Become; // VisitObjectPointers
353 friend class Precompiler; // VisitObjects 353 friend class Precompiler; // VisitObjects
354 friend class ObjectGraph; // VisitObjects 354 friend class ObjectGraph; // VisitObjects
355 friend class Unmarker; // VisitObjects 355 friend class Unmarker; // VisitObjects
356 friend class ServiceEvent; 356 friend class ServiceEvent;
357 friend class PageSpace; // VerifyGC 357 friend class PageSpace; // VerifyGC
358 friend class IsolateReloadContext; // VisitObjects 358 friend class IsolateReloadContext; // VisitObjects
359 friend class ClassFinalizer; // VisitObjects
359 360
360 DISALLOW_COPY_AND_ASSIGN(Heap); 361 DISALLOW_COPY_AND_ASSIGN(Heap);
361 }; 362 };
362 363
363 364
364 class HeapIterationScope : public StackResource { 365 class HeapIterationScope : public StackResource {
365 public: 366 public:
366 explicit HeapIterationScope(bool writable = false); 367 explicit HeapIterationScope(bool writable = false);
367 ~HeapIterationScope(); 368 ~HeapIterationScope();
368 369
(...skipping 20 matching lines...) Expand all
389 // Note: During this scope, the code pages are non-executable. 390 // Note: During this scope, the code pages are non-executable.
390 class WritableVMIsolateScope : StackResource { 391 class WritableVMIsolateScope : StackResource {
391 public: 392 public:
392 explicit WritableVMIsolateScope(Thread* thread); 393 explicit WritableVMIsolateScope(Thread* thread);
393 ~WritableVMIsolateScope(); 394 ~WritableVMIsolateScope();
394 }; 395 };
395 396
396 } // namespace dart 397 } // namespace dart
397 398
398 #endif // RUNTIME_VM_HEAP_H_ 399 #endif // RUNTIME_VM_HEAP_H_
OLDNEW
« no previous file with comments | « runtime/vm/dart_api_impl.cc ('k') | runtime/vm/isolate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698