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

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

Issue 2957593002: Spelling fixes e to i. (Closed)
Patch Set: Created 3 years, 6 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/runtime_entry.cc ('k') | runtime/vm/scavenger.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) 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_SCAVENGER_H_ 5 #ifndef RUNTIME_VM_SCAVENGER_H_
6 #define RUNTIME_VM_SCAVENGER_H_ 6 #define RUNTIME_VM_SCAVENGER_H_
7 7
8 #include "platform/assert.h" 8 #include "platform/assert.h"
9 #include "platform/utils.h" 9 #include "platform/utils.h"
10 #include "vm/dart.h" 10 #include "vm/dart.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 49
50 // Set write protection mode for this space. The space must not be protected 50 // Set write protection mode for this space. The space must not be protected
51 // when Delete is called. 51 // when Delete is called.
52 // TODO(koda): Remember protection mode in VirtualMemory and assert this. 52 // TODO(koda): Remember protection mode in VirtualMemory and assert this.
53 void WriteProtect(bool read_only); 53 void WriteProtect(bool read_only);
54 54
55 private: 55 private:
56 explicit SemiSpace(VirtualMemory* reserved); 56 explicit SemiSpace(VirtualMemory* reserved);
57 ~SemiSpace(); 57 ~SemiSpace();
58 58
59 VirtualMemory* reserved_; // NULL for an emtpy space. 59 VirtualMemory* reserved_; // NULL for an empty space.
60 MemoryRegion region_; 60 MemoryRegion region_;
61 61
62 static SemiSpace* cache_; 62 static SemiSpace* cache_;
63 static Mutex* mutex_; 63 static Mutex* mutex_;
64 }; 64 };
65 65
66 66
67 // Statistics for a particular scavenge. 67 // Statistics for a particular scavenge.
68 class ScavengeStats { 68 class ScavengeStats {
69 public: 69 public:
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 299
300 friend class ScavengerVisitor; 300 friend class ScavengerVisitor;
301 friend class ScavengerWeakVisitor; 301 friend class ScavengerWeakVisitor;
302 302
303 DISALLOW_COPY_AND_ASSIGN(Scavenger); 303 DISALLOW_COPY_AND_ASSIGN(Scavenger);
304 }; 304 };
305 305
306 } // namespace dart 306 } // namespace dart
307 307
308 #endif // RUNTIME_VM_SCAVENGER_H_ 308 #endif // RUNTIME_VM_SCAVENGER_H_
OLDNEW
« no previous file with comments | « runtime/vm/runtime_entry.cc ('k') | runtime/vm/scavenger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698