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

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

Issue 11299247: Increment CompilerStats::code_allocated when allocating in executable pages. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years 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 | « no previous file | runtime/vm/pages.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 #include "vm/heap.h" 5 #include "vm/heap.h"
6 6
7 #include "platform/assert.h" 7 #include "platform/assert.h"
8 #include "platform/utils.h" 8 #include "platform/utils.h"
9 #include "vm/compiler_stats.h"
10 #include "vm/flags.h" 9 #include "vm/flags.h"
11 #include "vm/heap_profiler.h" 10 #include "vm/heap_profiler.h"
12 #include "vm/isolate.h" 11 #include "vm/isolate.h"
13 #include "vm/object.h" 12 #include "vm/object.h"
14 #include "vm/object_set.h" 13 #include "vm/object_set.h"
15 #include "vm/os.h" 14 #include "vm/os.h"
16 #include "vm/pages.h" 15 #include "vm/pages.h"
17 #include "vm/scavenger.h" 16 #include "vm/scavenger.h"
18 #include "vm/stack_frame.h" 17 #include "vm/stack_frame.h"
19 #include "vm/verifier.h" 18 #include "vm/verifier.h"
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 isolate()->IncrementNoGCScopeDepth(); 338 isolate()->IncrementNoGCScopeDepth();
340 } 339 }
341 340
342 341
343 NoGCScope::~NoGCScope() { 342 NoGCScope::~NoGCScope() {
344 isolate()->DecrementNoGCScopeDepth(); 343 isolate()->DecrementNoGCScopeDepth();
345 } 344 }
346 #endif // defined(DEBUG) 345 #endif // defined(DEBUG)
347 346
348 } // namespace dart 347 } // namespace dart
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/pages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698