forked from dart-lang/sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[gardening] Make more robust test for mutator bit stealing mechanism
We also disable the test in hotreload mode, because threads that are stuck in ffi calls don't participate in hot-reload requests. This is something we may want to look into. Right now it's conservative in the sense that if an embedder did a `Dart_LookupClass()` in such a ffi call and then a reload happened, such a handle would possibly hold pointer to an old class object and weird things may happen. This fixes test failures in hot reload / rollback mode of `vm/dart/isolates/many_isolates_blocked_at_ffi_test` and also make it more robust. TEST=tests/ffi/dl_api_exit_enter_isolate_test Change-Id: I823d07a6ab04e62e051e4d22ec80cbc3649762a3 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/409100 Commit-Queue: Martin Kustermann <[email protected]> Reviewed-by: Ryan Macnak <[email protected]>
- Loading branch information
1 parent
041d86d
commit 23cac7c
Showing
5 changed files
with
52 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 0 additions & 33 deletions
33
runtime/tests/vm/dart/isolates/many_isolates_blocked_at_ffi_test.dart
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters