-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move the kernel isolate from the VM proper to the standalone embedder #33433
Comments
@liamappelbe do you want to take a stab at this? |
This is the first step in moving the kernel isolate out of the VM and into the standalone embedder. Bug: #33433 Change-Id: Ie8d9ac1c27efe2661f0441b75275119966d197af Reviewed-on: https://dart-review.googlesource.com/c/84829 Commit-Queue: Liam Appelbe <liama@google.com> Reviewed-by: Ryan Macnak <rmacnak@google.com>
This reverts commit 9906819. Reason for revert: Follow up CLs are more complicated than I thought, so I don't want to leave it in an inconsistent state. Original change's description: > Remove kernel isolate API from the public dart_api.h > > This is the first step in moving the kernel isolate out > of the VM and into the standalone embedder. > > Bug: #33433 > Change-Id: Ie8d9ac1c27efe2661f0441b75275119966d197af > Reviewed-on: https://dart-review.googlesource.com/c/84829 > Commit-Queue: Liam Appelbe <liama@google.com> > Reviewed-by: Ryan Macnak <rmacnak@google.com> TBR=rmacnak@google.com,liama@google.com # Not skipping CQ checks because original CL landed > 1 day ago. Bug: #33433 Change-Id: Iaf753c210e918df167364b50ee823b2557896628 Reviewed-on: https://dart-review.googlesource.com/c/87623 Reviewed-by: Liam Appelbe <liama@google.com> Reviewed-by: Zach Anderson <zra@google.com> Commit-Queue: Liam Appelbe <liama@google.com>
This reverts commit 9906819. Reason for revert: Follow up CLs are more complicated than I thought, so I don't want to leave it in an inconsistent state. Original change's description: > Remove kernel isolate API from the public dart_api.h > > This is the first step in moving the kernel isolate out > of the VM and into the standalone embedder. > > Bug: #33433 > Change-Id: Ie8d9ac1c27efe2661f0441b75275119966d197af > Reviewed-on: https://dart-review.googlesource.com/c/84829 > Commit-Queue: Liam Appelbe <liama@google.com> > Reviewed-by: Ryan Macnak <rmacnak@google.com> TBR=rmacnak@google.com,liama@google.com # Not skipping CQ checks because original CL landed > 1 day ago. Bug: #33433 Change-Id: Iaf753c210e918df167364b50ee823b2557896628 Reviewed-on: https://dart-review.googlesource.com/c/87623 Reviewed-by: Liam Appelbe <liama@google.com> Reviewed-by: Zach Anderson <zra@google.com> Commit-Queue: Liam Appelbe <liama@google.com>
It looks like the vmservice relies on KernelIsolate for implementing There are also some other hooks into the kernel service (e.g., when runtime/vm/dart.cc is starting up or tearing down the VM, runtime/vm/isolate.cc tweaks the KernelIsolate's Heap parameters, and a couple unit tests rely on being able to compile Dart expressions to kernel format), but they look manageable. |
The kernel service is not a VM feature:
It should not be polluting the embedding api (dart_api.h).
The text was updated successfully, but these errors were encountered: