| OLD | NEW |
| 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 RUNTIME_VM_ISOLATE_H_ | 5 #ifndef RUNTIME_VM_ISOLATE_H_ |
| 6 #define RUNTIME_VM_ISOLATE_H_ | 6 #define RUNTIME_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 "vm/atomic.h" | 10 #include "vm/atomic.h" |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 class RawGrowableObjectArray; | 54 class RawGrowableObjectArray; |
| 55 class RawMint; | 55 class RawMint; |
| 56 class RawObject; | 56 class RawObject; |
| 57 class RawInteger; | 57 class RawInteger; |
| 58 class RawFloat32x4; | 58 class RawFloat32x4; |
| 59 class RawInt32x4; | 59 class RawInt32x4; |
| 60 class RawUserTag; | 60 class RawUserTag; |
| 61 class SafepointHandler; | 61 class SafepointHandler; |
| 62 class SampleBuffer; | 62 class SampleBuffer; |
| 63 class SendPort; | 63 class SendPort; |
| 64 class SerializedObjectBuffer; | |
| 65 class ServiceIdZone; | 64 class ServiceIdZone; |
| 66 class Simulator; | 65 class Simulator; |
| 67 class StackResource; | 66 class StackResource; |
| 68 class StackZone; | 67 class StackZone; |
| 69 class StoreBuffer; | 68 class StoreBuffer; |
| 70 class StubCode; | 69 class StubCode; |
| 71 class ThreadRegistry; | 70 class ThreadRegistry; |
| 72 class UserTag; | 71 class UserTag; |
| 73 | 72 |
| 74 | 73 |
| (...skipping 840 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 915 }; | 914 }; |
| 916 | 915 |
| 917 | 916 |
| 918 class IsolateSpawnState { | 917 class IsolateSpawnState { |
| 919 public: | 918 public: |
| 920 IsolateSpawnState(Dart_Port parent_port, | 919 IsolateSpawnState(Dart_Port parent_port, |
| 921 Dart_Port origin_id, | 920 Dart_Port origin_id, |
| 922 void* init_data, | 921 void* init_data, |
| 923 const char* script_url, | 922 const char* script_url, |
| 924 const Function& func, | 923 const Function& func, |
| 925 SerializedObjectBuffer* message_buffer, | 924 const Instance& message, |
| 926 Monitor* spawn_count_monitor, | 925 Monitor* spawn_count_monitor, |
| 927 intptr_t* spawn_count, | 926 intptr_t* spawn_count, |
| 928 const char* package_root, | 927 const char* package_root, |
| 929 const char* package_config, | 928 const char* package_config, |
| 930 bool paused, | 929 bool paused, |
| 931 bool errorsAreFatal, | 930 bool errorsAreFatal, |
| 932 Dart_Port onExit, | 931 Dart_Port onExit, |
| 933 Dart_Port onError); | 932 Dart_Port onError); |
| 934 IsolateSpawnState(Dart_Port parent_port, | 933 IsolateSpawnState(Dart_Port parent_port, |
| 935 void* init_data, | 934 void* init_data, |
| 936 const char* script_url, | 935 const char* script_url, |
| 937 const char* package_root, | 936 const char* package_root, |
| 938 const char* package_config, | 937 const char* package_config, |
| 939 SerializedObjectBuffer* args_buffer, | 938 const Instance& args, |
| 940 SerializedObjectBuffer* message_buffer, | 939 const Instance& message, |
| 941 Monitor* spawn_count_monitor, | 940 Monitor* spawn_count_monitor, |
| 942 intptr_t* spawn_count, | 941 intptr_t* spawn_count, |
| 943 bool paused, | 942 bool paused, |
| 944 bool errorsAreFatal, | 943 bool errorsAreFatal, |
| 945 Dart_Port onExit, | 944 Dart_Port onExit, |
| 946 Dart_Port onError); | 945 Dart_Port onError); |
| 947 ~IsolateSpawnState(); | 946 ~IsolateSpawnState(); |
| 948 | 947 |
| 949 Isolate* isolate() const { return isolate_; } | 948 Isolate* isolate() const { return isolate_; } |
| 950 void set_isolate(Isolate* value) { isolate_ = value; } | 949 void set_isolate(Isolate* value) { isolate_ = value; } |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 995 intptr_t* spawn_count_; | 994 intptr_t* spawn_count_; |
| 996 | 995 |
| 997 Dart_IsolateFlags isolate_flags_; | 996 Dart_IsolateFlags isolate_flags_; |
| 998 bool paused_; | 997 bool paused_; |
| 999 bool errors_are_fatal_; | 998 bool errors_are_fatal_; |
| 1000 }; | 999 }; |
| 1001 | 1000 |
| 1002 } // namespace dart | 1001 } // namespace dart |
| 1003 | 1002 |
| 1004 #endif // RUNTIME_VM_ISOLATE_H_ | 1003 #endif // RUNTIME_VM_ISOLATE_H_ |
| OLD | NEW |