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

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

Issue 2281263002: AOT: Reassign class ids so class hierarchies have contiguous ranges. (Closed)
Patch Set: . Created 4 years, 3 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) 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 VM_HEAP_H_ 5 #ifndef VM_HEAP_H_
6 #define VM_HEAP_H_ 6 #define 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 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 358
359 // This heap is in read-only mode: No allocation is allowed. 359 // This heap is in read-only mode: No allocation is allowed.
360 bool read_only_; 360 bool read_only_;
361 361
362 // GC on the heap is in progress. 362 // GC on the heap is in progress.
363 Monitor gc_in_progress_monitor_; 363 Monitor gc_in_progress_monitor_;
364 bool gc_new_space_in_progress_; 364 bool gc_new_space_in_progress_;
365 bool gc_old_space_in_progress_; 365 bool gc_old_space_in_progress_;
366 366
367 friend class Become; // VisitObjectPointers 367 friend class Become; // VisitObjectPointers
368 friend class Precompiler; // VisitObjectPointers
368 friend class ServiceEvent; 369 friend class ServiceEvent;
369 friend class PageSpace; // VerifyGC 370 friend class PageSpace; // VerifyGC
370 friend class IsolateReloadContext; // VisitObjects 371 friend class IsolateReloadContext; // VisitObjects
371 372
372 DISALLOW_COPY_AND_ASSIGN(Heap); 373 DISALLOW_COPY_AND_ASSIGN(Heap);
373 }; 374 };
374 375
375 376
376 class HeapIterationScope : public StackResource { 377 class HeapIterationScope : public StackResource {
377 public: 378 public:
(...skipping 20 matching lines...) Expand all
398 // Note: During this scope, the code pages are non-executable. 399 // Note: During this scope, the code pages are non-executable.
399 class WritableVMIsolateScope : StackResource { 400 class WritableVMIsolateScope : StackResource {
400 public: 401 public:
401 explicit WritableVMIsolateScope(Thread* thread); 402 explicit WritableVMIsolateScope(Thread* thread);
402 ~WritableVMIsolateScope(); 403 ~WritableVMIsolateScope();
403 }; 404 };
404 405
405 } // namespace dart 406 } // namespace dart
406 407
407 #endif // VM_HEAP_H_ 408 #endif // VM_HEAP_H_
OLDNEW
« no previous file with comments | « runtime/vm/class_table.cc ('k') | runtime/vm/isolate.cc » ('j') | runtime/vm/precompiler.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698