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

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

Issue 605533003: Make subtype test stubs isolate-specific. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « runtime/vm/assembler_x64.cc ('k') | runtime/vm/flow_graph_compiler_x64.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 VM_CLASS_TABLE_H_ 5 #ifndef VM_CLASS_TABLE_H_
6 #define VM_CLASS_TABLE_H_ 6 #define VM_CLASS_TABLE_H_
7 7
8 #include "platform/assert.h" 8 #include "platform/assert.h"
9 #include "vm/globals.h" 9 #include "vm/globals.h"
10 10
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 void UpdateAllocatedOld(intptr_t cid, intptr_t size); 155 void UpdateAllocatedOld(intptr_t cid, intptr_t size);
156 156
157 // Called whenever a old GC occurs. 157 // Called whenever a old GC occurs.
158 void ResetCountersOld(); 158 void ResetCountersOld();
159 // Called whenever a new GC occurs. 159 // Called whenever a new GC occurs.
160 void ResetCountersNew(); 160 void ResetCountersNew();
161 // Called immediately after a new GC. 161 // Called immediately after a new GC.
162 void UpdatePromoted(); 162 void UpdatePromoted();
163 163
164 // Used by the generated code. 164 // Used by the generated code.
165 uword TableAddress() {
166 return reinterpret_cast<uword>(&table_);
167 }
168
169 // Used by the generated code.
165 uword PredefinedClassHeapStatsTableAddress() { 170 uword PredefinedClassHeapStatsTableAddress() {
166 return reinterpret_cast<uword>(predefined_class_heap_stats_table_); 171 return reinterpret_cast<uword>(predefined_class_heap_stats_table_);
167 } 172 }
168 173
169 // Used by generated code. 174 // Used by generated code.
170 uword ClassStatsTableAddress() { 175 uword ClassStatsTableAddress() {
171 return reinterpret_cast<uword>(&class_heap_stats_table_); 176 return reinterpret_cast<uword>(&class_heap_stats_table_);
172 } 177 }
173 178
174 ClassHeapStats* StatsWithUpdatedSize(intptr_t cid); 179 ClassHeapStats* StatsWithUpdatedSize(intptr_t cid);
(...skipping 22 matching lines...) Expand all
197 ClassHeapStats* PreliminaryStatsAt(intptr_t cid); 202 ClassHeapStats* PreliminaryStatsAt(intptr_t cid);
198 void UpdateLiveOld(intptr_t cid, intptr_t size); 203 void UpdateLiveOld(intptr_t cid, intptr_t size);
199 void UpdateLiveNew(intptr_t cid, intptr_t size); 204 void UpdateLiveNew(intptr_t cid, intptr_t size);
200 205
201 DISALLOW_COPY_AND_ASSIGN(ClassTable); 206 DISALLOW_COPY_AND_ASSIGN(ClassTable);
202 }; 207 };
203 208
204 } // namespace dart 209 } // namespace dart
205 210
206 #endif // VM_CLASS_TABLE_H_ 211 #endif // VM_CLASS_TABLE_H_
OLDNEW
« no previous file with comments | « runtime/vm/assembler_x64.cc ('k') | runtime/vm/flow_graph_compiler_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698