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

Side by Side Diff: runtime/bin/isolate_data.h

Issue 10990083: Reapply change to hide VM-only List implementation classes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix dart:io perf regression. Created 8 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/bin/file_impl.dart ('k') | runtime/bin/process_impl.dart » ('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 BIN_ISOLATE_DATA_H_ 5 #ifndef BIN_ISOLATE_DATA_H_
6 #define BIN_ISOLATE_DATA_H_ 6 #define BIN_ISOLATE_DATA_H_
7 7
8 #include "include/dart_api.h"
8 #include "platform/globals.h" 9 #include "platform/globals.h"
9 10
10 // Forward declaration. 11 // Forward declaration.
11 class EventHandler; 12 class EventHandler;
12 13
13 // Data associated with every isolate in the standalone VM 14 // Data associated with every isolate in the standalone VM
14 // embedding. This is used to free external resources for each isolate 15 // embedding. This is used to free external resources for each isolate
15 // when the isolate shuts down. 16 // when the isolate shuts down.
16 class IsolateData { 17 class IsolateData {
17 public: 18 public:
18 IsolateData() : event_handler(NULL) {} 19 IsolateData()
20 : event_handler(NULL), object_array_class(NULL),
21 growable_object_array_class(NULL), immutable_array_class(NULL) {
22 }
19 23
20 EventHandler* event_handler; 24 EventHandler* event_handler;
25 Dart_Handle object_array_class;
26 Dart_Handle growable_object_array_class;
27 Dart_Handle immutable_array_class;
21 28
22 private: 29 private:
23 DISALLOW_COPY_AND_ASSIGN(IsolateData); 30 DISALLOW_COPY_AND_ASSIGN(IsolateData);
24 }; 31 };
25 32
26 #endif // BIN_ISOLATE_DATA_H_ 33 #endif // BIN_ISOLATE_DATA_H_
OLDNEW
« no previous file with comments | « runtime/bin/file_impl.dart ('k') | runtime/bin/process_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698