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

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

Issue 2720723005: VM: Fix an app-jit related shutdown race. (Closed)
Patch Set: Created 3 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
« no previous file with comments | « runtime/include/dart_api.h ('k') | runtime/vm/dart.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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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_DART_H_ 5 #ifndef RUNTIME_VM_DART_H_
6 #define RUNTIME_VM_DART_H_ 6 #define RUNTIME_VM_DART_H_
7 7
8 #include "include/dart_api.h" 8 #include "include/dart_api.h"
9 #include "vm/allocation.h" 9 #include "vm/allocation.h"
10 #include "vm/snapshot.h" 10 #include "vm/snapshot.h"
(...skipping 10 matching lines...) Expand all
21 namespace kernel { 21 namespace kernel {
22 class Program; 22 class Program;
23 } 23 }
24 24
25 class Dart : public AllStatic { 25 class Dart : public AllStatic {
26 public: 26 public:
27 static char* InitOnce(const uint8_t* vm_snapshot_data, 27 static char* InitOnce(const uint8_t* vm_snapshot_data,
28 const uint8_t* vm_snapshot_instructions, 28 const uint8_t* vm_snapshot_instructions,
29 Dart_IsolateCreateCallback create, 29 Dart_IsolateCreateCallback create,
30 Dart_IsolateShutdownCallback shutdown, 30 Dart_IsolateShutdownCallback shutdown,
31 Dart_IsolateCleanupCallback cleanup,
31 Dart_ThreadExitCallback thread_exit, 32 Dart_ThreadExitCallback thread_exit,
32 Dart_FileOpenCallback file_open, 33 Dart_FileOpenCallback file_open,
33 Dart_FileReadCallback file_read, 34 Dart_FileReadCallback file_read,
34 Dart_FileWriteCallback file_write, 35 Dart_FileWriteCallback file_write,
35 Dart_FileCloseCallback file_close, 36 Dart_FileCloseCallback file_close,
36 Dart_EntropySource entropy_source, 37 Dart_EntropySource entropy_source,
37 Dart_GetVMServiceAssetsArchive get_service_assets); 38 Dart_GetVMServiceAssetsArchive get_service_assets);
38 static const char* Cleanup(); 39 static const char* Cleanup();
39 40
40 static Isolate* CreateIsolate(const char* name_prefix, 41 static Isolate* CreateIsolate(const char* name_prefix,
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 static Dart_FileOpenCallback file_open_callback_; 126 static Dart_FileOpenCallback file_open_callback_;
126 static Dart_FileReadCallback file_read_callback_; 127 static Dart_FileReadCallback file_read_callback_;
127 static Dart_FileWriteCallback file_write_callback_; 128 static Dart_FileWriteCallback file_write_callback_;
128 static Dart_FileCloseCallback file_close_callback_; 129 static Dart_FileCloseCallback file_close_callback_;
129 static Dart_EntropySource entropy_source_callback_; 130 static Dart_EntropySource entropy_source_callback_;
130 }; 131 };
131 132
132 } // namespace dart 133 } // namespace dart
133 134
134 #endif // RUNTIME_VM_DART_H_ 135 #endif // RUNTIME_VM_DART_H_
OLDNEW
« no previous file with comments | « runtime/include/dart_api.h ('k') | runtime/vm/dart.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698