Daco Harkes
ef30b3cc99
[vm/ffi] Test and Document NativeFinalizer Dart API limitations
Explicitly allow calling `Dart_DeletePersistentHandle` and
`Dart_DeleteWeakPersistentHandle` from `NativeFinalizers`.
And exercise this behavior in tests.
TEST=tests/ffi/vmspecific_native_finalizer_api_calls_test.dart
TEST=tests/ffi/vmspecific_native_finalizer_isolates_test.dart
Closes: https://github.com/dart-lang/sdk/issues/62076
CoreLibraryReviewExempt: VM-only. Doc-only.
Change-Id: I4915092e4b13cc55d0d48e7977149fb32059b854
Cq-Include-Trybots: luci.dart.try:vm-aot-linux-debug-x64-try,vm-dyn-linux-debug-x64-try,vm-linux-debug-x64-try,vm-ubsan-linux-release-x64-try,vm-tsan-linux-release-x64-try,vm-msan-linux-release-x64-try,vm-asan-linux-release-x64-try,vm-ffi-mac-debug-simarm64_arm64-try,vm-win-debug-x64-try,vm-reload-linux-debug-x64-try,vm-gcc-linux-x64-try,vm-appjit-linux-debug-x64-try,vm-aot-linux-release-x64-try,vm-aot-dyn-linux-debug-x64-try
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/464180
Commit-Queue: Daco Harkes <dacoharkes@google.com>
Reviewed-by: Slava Egorov <vegorov@google.com>
Reviewed-by: Liam Appelbe <liama@google.com>
2025-11-25 02:50:47 -08:00
..
2025-04-11 07:52:19 -07:00
2025-07-24 14:48:03 -07:00
2025-07-17 13:09:52 -07:00
2024-11-19 07:43:30 +00:00
2025-04-10 11:14:02 -07:00
2025-04-10 11:14:02 -07:00
2025-03-10 10:14:15 -07:00
2024-04-25 10:06:16 +00:00
2024-08-28 06:34:09 +00:00
2024-12-06 08:37:10 +00:00
2024-04-25 10:06:16 +00:00
2024-12-06 08:37:10 +00:00
2024-04-25 10:06:16 +00:00
2024-04-25 10:06:16 +00:00
2025-04-10 11:14:02 -07:00
2025-04-10 08:48:25 -07:00
2025-03-20 15:03:36 -07:00
2024-12-06 08:37:10 +00:00
2025-09-17 18:16:01 -07:00
2024-12-06 08:37:10 +00:00
2025-04-11 07:52:19 -07:00
2025-02-19 09:40:34 -08:00
2025-04-11 07:52:19 -07:00
2025-04-11 07:52:19 -07:00
2025-04-11 07:52:19 -07:00
2024-12-06 08:37:10 +00:00
2025-04-10 08:48:25 -07:00
2024-12-06 08:37:10 +00:00
2025-04-11 07:52:19 -07:00
2025-09-03 16:23:21 -07:00
2025-04-10 11:14:02 -07:00
2024-12-06 08:37:10 +00:00
2024-12-06 08:37:10 +00:00
2024-12-06 08:37:10 +00:00
2025-06-03 05:56:59 -07:00
2023-11-20 13:16:28 +00:00
2024-12-06 08:37:10 +00:00
2025-11-07 15:35:07 -08:00
2025-04-11 07:52:19 -07:00
2024-01-09 12:36:55 +00:00
2025-04-11 07:52:19 -07:00
2025-04-11 07:52:19 -07:00
2025-04-11 07:52:19 -07:00
2024-12-06 08:37:10 +00:00
2025-04-10 11:14:02 -07:00
2024-12-06 08:37:10 +00:00
2024-12-06 08:37:10 +00:00
2024-12-06 08:37:10 +00:00
2025-04-11 07:52:19 -07:00
2025-04-11 07:52:19 -07:00
2024-12-09 22:02:56 +00:00
2024-12-09 22:02:56 +00:00
2025-04-11 07:52:19 -07:00
2024-12-09 22:02:56 +00:00
2024-12-09 22:02:56 +00:00
2025-04-11 07:52:19 -07:00
2024-12-06 08:37:10 +00:00
2024-12-06 08:37:10 +00:00
2025-04-11 07:52:19 -07:00
2025-04-11 07:52:19 -07:00
2024-12-06 08:37:10 +00:00
2024-12-06 08:37:10 +00:00
2025-04-11 07:52:19 -07:00
2025-04-11 07:52:19 -07:00
2025-05-20 01:52:52 -07:00
2025-04-11 07:52:19 -07:00
2024-12-06 08:37:10 +00:00
2024-12-06 08:37:10 +00:00
2025-04-11 07:52:19 -07:00
2025-04-11 07:52:19 -07:00
2025-04-11 07:52:19 -07:00
2024-12-06 08:37:10 +00:00
2025-04-11 07:52:19 -07:00
2024-12-06 08:37:10 +00:00
2024-01-05 12:35:49 +00:00
2024-12-09 22:02:56 +00:00
2024-12-06 08:37:10 +00:00
2025-08-06 10:10:00 -07:00
2025-08-13 08:46:24 -07:00
2025-08-13 08:46:24 -07:00
2025-09-05 12:13:14 -07:00
2025-08-06 10:10:00 -07:00
2024-12-06 08:37:10 +00:00
2025-10-16 18:15:14 -07:00
2024-12-06 08:37:10 +00:00
2024-12-06 08:37:10 +00:00
2024-12-09 22:02:56 +00:00
2025-04-11 07:52:19 -07:00
2024-12-06 08:37:10 +00:00
2023-12-18 18:38:05 +00:00
2025-06-25 08:00:10 -07:00
2024-12-06 08:37:10 +00:00
2024-12-06 08:37:10 +00:00
2025-04-10 11:14:02 -07:00
2024-12-06 08:37:10 +00:00
2024-12-06 08:37:10 +00:00
2024-12-06 08:37:10 +00:00
2025-04-11 07:52:19 -07:00
2025-04-08 13:06:57 -07:00
2024-12-06 08:37:10 +00:00
2023-12-14 11:42:38 +00:00
2024-12-06 08:37:10 +00:00
2024-12-06 08:37:10 +00:00
2024-12-06 08:37:10 +00:00
2025-04-11 07:52:19 -07:00
2025-04-10 08:48:25 -07:00
2025-04-10 08:48:25 -07:00
2025-11-19 09:58:43 -08:00
2024-01-12 10:13:39 +00:00
2024-02-07 12:48:50 +00:00
2025-04-11 07:52:19 -07:00
2025-04-11 07:52:19 -07:00
2024-12-06 08:37:10 +00:00
2025-04-11 07:52:19 -07:00
2025-04-11 07:52:19 -07:00
2025-04-10 11:14:02 -07:00
2025-04-11 07:52:19 -07:00
2025-04-10 08:48:25 -07:00
2025-04-11 07:52:19 -07:00
2024-12-06 08:37:10 +00:00
2024-11-19 07:43:30 +00:00
2025-05-15 22:53:41 -07:00
2024-12-06 08:37:10 +00:00
2025-02-27 11:10:44 -08:00
2024-12-06 08:37:10 +00:00
2025-04-11 07:52:19 -07:00
2024-12-06 08:37:10 +00:00
2025-04-11 07:52:19 -07:00
2025-05-15 22:53:41 -07:00
2025-02-27 11:10:44 -08:00
2025-02-27 11:10:44 -08:00
2025-11-25 02:50:47 -08:00
2024-03-28 11:24:36 +00:00
2025-11-25 02:50:47 -08:00
2024-12-06 08:37:10 +00:00
2025-04-10 08:48:25 -07:00
2024-12-06 08:37:10 +00:00
2024-12-06 08:37:10 +00:00
2025-04-11 07:52:19 -07:00
2025-04-11 07:52:19 -07:00
2025-04-11 07:52:19 -07:00