Files
sdk/runtime/bin/isolate_data.h
T
ager@google.com abee5139e5 Reapply change to hide VM-only List implementation classes.
The performance issue was that I had not updated the method
recognizer.

BUG=

Review URL: https://codereview.chromium.org//10990083

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13003 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-28 11:08:38 +00:00

34 lines
952 B
C++

// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
#ifndef BIN_ISOLATE_DATA_H_
#define BIN_ISOLATE_DATA_H_
#include "include/dart_api.h"
#include "platform/globals.h"
// Forward declaration.
class EventHandler;
// Data associated with every isolate in the standalone VM
// embedding. This is used to free external resources for each isolate
// when the isolate shuts down.
class IsolateData {
public:
IsolateData()
: event_handler(NULL), object_array_class(NULL),
growable_object_array_class(NULL), immutable_array_class(NULL) {
}
EventHandler* event_handler;
Dart_Handle object_array_class;
Dart_Handle growable_object_array_class;
Dart_Handle immutable_array_class;
private:
DISALLOW_COPY_AND_ASSIGN(IsolateData);
};
#endif // BIN_ISOLATE_DATA_H_