[vm] Don't acquire safepoint locks while participating in reload safepoints.
Also disable lint intended to guard against use of std::thread::detach as it has too many false positives against dart::FinalizerEntry::detach. TEST=ci Bug: https://github.com/dart-lang/sdk/issues/60638 Change-Id: I19a0fde743fc5c5658a8dd96cecb5b074481a035 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/425324 Reviewed-by: Alexander Aprelev <aam@google.com> Commit-Queue: Ryan Macnak <rmacnak@google.com>
This commit is contained in:
committed by
Commit Queue
parent
d1696f890d
commit
077d7c9e89
@@ -742,6 +742,7 @@ DART_EXPORT bool Dart_IsError(Dart_Handle handle) {
|
||||
DART_EXPORT void Dart_KillIsolate(Dart_Isolate handle) {
|
||||
Isolate* isolate = reinterpret_cast<Isolate*>(handle);
|
||||
CHECK_ISOLATE(isolate);
|
||||
TransitionNativeToVM transition(Thread::Current());
|
||||
Isolate::KillIfExists(isolate, Isolate::kKillMsg);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user