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

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

Issue 12221022: Initial prototype of vmstats support, based on Dart VM Stats draft design doc. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 9 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/debugger_api_impl.cc ('k') | runtime/vm/isolate.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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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_ISOLATE_H_ 5 #ifndef VM_ISOLATE_H_
6 #define VM_ISOLATE_H_ 6 #define VM_ISOLATE_H_
7 7
8 #include "include/dart_api.h" 8 #include "include/dart_api.h"
9 #include "platform/assert.h" 9 #include "platform/assert.h"
10 #include "platform/thread.h" 10 #include "platform/thread.h"
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 deferred_doubles_ = NULL; 337 deferred_doubles_ = NULL;
338 return list; 338 return list;
339 } 339 }
340 340
341 DeferredMint* DetachDeferredMints() { 341 DeferredMint* DetachDeferredMints() {
342 DeferredMint* list = deferred_mints_; 342 DeferredMint* list = deferred_mints_;
343 deferred_mints_ = NULL; 343 deferred_mints_ = NULL;
344 return list; 344 return list;
345 } 345 }
346 346
347 static char* GetStatus(const char* request);
348
347 private: 349 private:
348 Isolate(); 350 Isolate();
349 351
350 void BuildName(const char* name_prefix); 352 void BuildName(const char* name_prefix);
351 void PrintInvokedFunctions(); 353 void PrintInvokedFunctions();
352 354
353 static ThreadLocalKey isolate_key; 355 static ThreadLocalKey isolate_key;
354 StoreBufferBlock store_buffer_block_; 356 StoreBufferBlock store_buffer_block_;
355 StoreBuffer store_buffer_; 357 StoreBuffer store_buffer_;
356 ClassTable class_table_; 358 ClassTable class_table_;
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
460 Isolate* new_isolate_; 462 Isolate* new_isolate_;
461 Isolate* saved_isolate_; 463 Isolate* saved_isolate_;
462 uword saved_stack_limit_; 464 uword saved_stack_limit_;
463 465
464 DISALLOW_COPY_AND_ASSIGN(SwitchIsolateScope); 466 DISALLOW_COPY_AND_ASSIGN(SwitchIsolateScope);
465 }; 467 };
466 468
467 } // namespace dart 469 } // namespace dart
468 470
469 #endif // VM_ISOLATE_H_ 471 #endif // VM_ISOLATE_H_
OLDNEW
« no previous file with comments | « runtime/vm/debugger_api_impl.cc ('k') | runtime/vm/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698