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-11-25 02:50:47 -08:00
2023-10-11 18:41:57 +00:00
2023-04-12 01:11:05 +00:00
2025-11-19 07:54:19 -08:00
2025-11-19 07:54:19 -08:00
2025-10-01 11:28:05 -07:00
2025-04-15 09:07:59 -07:00
2023-04-12 01:11:05 +00:00
2025-10-01 11:28:05 -07:00
2025-10-14 13:15:21 -07:00
2025-11-13 09:50:34 -08:00
2025-09-15 01:41:38 -07:00
2024-04-17 19:14:41 +00:00
2023-04-12 20:32:29 +00:00
2025-10-08 08:16:42 -07:00
2025-10-08 08:16:42 -07:00
2023-04-12 01:11:05 +00:00
2025-11-21 06:42:16 -08:00
2025-10-14 13:15:21 -07:00
2025-10-14 13:15:21 -07:00
2024-11-08 04:36:23 +00:00
2025-09-08 04:03:49 -07:00
2025-07-24 14:48:03 -07:00
2025-10-14 13:15:21 -07:00
2025-10-14 13:15:21 -07:00
2025-11-13 09:50:34 -08:00
2025-07-24 14:48:03 -07:00
2025-06-24 05:59:21 -07:00
2025-02-03 12:55:53 -08:00
2025-09-02 14:27:50 -07:00
2024-02-09 14:10:49 +00:00
2023-04-12 01:11:05 +00:00
2023-04-12 01:11:05 +00:00
2024-08-15 17:51:10 +00:00
2024-01-11 23:54:59 +00:00
2024-03-12 08:29:36 +00:00
2025-06-11 04:43:24 -07:00
2025-04-01 09:50:12 -07:00
2025-01-24 03:21:22 -08:00
2023-07-14 01:31:38 +00:00
2023-04-12 20:32:29 +00:00
2025-10-29 05:25:24 -07:00
2025-10-29 05:25:24 -07:00
2025-05-05 13:07:38 -07:00
2024-08-06 12:26:19 +00:00
2024-09-24 22:41:40 +00:00
2024-08-06 12:26:19 +00:00
2023-01-25 14:08:27 +00:00
2025-10-29 05:25:24 -07:00
2025-10-29 05:25:24 -07:00
2025-10-01 11:28:05 -07:00
2024-08-06 12:26:19 +00:00
2024-06-06 19:10:19 +00:00
2024-06-06 19:10:19 +00:00
2025-05-05 13:07:38 -07:00
2023-01-06 07:48:22 +00:00
2025-04-01 09:50:12 -07:00
2025-07-10 18:28:01 -07:00
2025-07-10 18:28:01 -07:00
2025-10-01 11:28:05 -07:00
2025-10-01 11:28:05 -07:00
2025-10-08 02:25:17 -07:00
2025-10-01 11:28:05 -07:00
2025-10-01 11:28:05 -07:00
2025-10-01 11:28:05 -07:00
2024-04-17 19:14:41 +00:00
2025-10-29 05:25:24 -07:00
2024-08-15 17:51:10 +00:00
2024-07-30 18:08:46 +00:00
2025-04-01 09:50:12 -07:00
2024-08-20 18:13:33 +00:00
2024-08-20 18:13:33 +00:00
2025-11-19 07:45:52 -08:00
2023-04-12 01:11:05 +00:00
2024-09-30 10:23:45 +00:00
2024-07-17 16:47:50 +00:00
2024-07-17 16:47:50 +00:00
2024-02-09 14:10:49 +00:00
2024-02-09 14:10:49 +00:00
2023-04-18 20:56:00 +00:00
2024-02-09 14:10:49 +00:00
2025-10-01 11:28:05 -07:00
2025-10-01 11:28:05 -07:00
2025-07-07 09:34:35 -07:00
2025-07-07 09:34:35 -07:00
2025-06-30 14:23:13 -07:00
2025-06-30 14:23:13 -07:00
2025-11-21 06:42:16 -08:00
2025-11-21 06:42:16 -08:00
2025-04-15 09:07:59 -07:00
2025-11-21 06:42:16 -08:00
2025-01-23 04:19:48 -08:00
2025-06-11 04:43:24 -07:00
2025-06-03 05:56:59 -07:00
2025-11-21 06:42:16 -08:00
2023-01-16 15:12:38 +00:00
2025-08-01 11:11:18 -07:00
2025-11-21 06:42:16 -08:00
2023-01-16 15:12:38 +00:00
2025-06-03 05:56:59 -07:00
2025-06-03 05:56:59 -07:00
2024-04-17 19:14:41 +00:00
2024-02-09 14:10:49 +00:00
2023-04-12 01:11:05 +00:00
2024-03-12 08:29:36 +00:00
2023-04-12 20:32:29 +00:00
2023-04-12 20:32:29 +00:00
2025-11-24 12:38:30 -08:00
2024-06-12 16:45:19 +00:00
2023-04-12 01:11:05 +00:00
2023-04-12 01:11:05 +00:00
2023-09-05 22:15:58 +00:00
2024-02-09 14:10:49 +00:00
2025-08-01 11:11:18 -07:00
2025-06-11 12:32:39 -07:00
2023-04-12 01:11:05 +00:00
2025-07-24 14:48:03 -07:00
2025-09-02 14:27:50 -07:00
2025-07-24 14:48:03 -07:00
2025-07-24 14:48:03 -07:00
2023-04-12 01:11:05 +00:00
2025-10-14 13:15:21 -07:00
2025-02-10 09:38:42 -08:00
2025-01-16 09:15:01 -08:00
2025-10-01 09:41:26 -07:00
2023-04-12 01:11:05 +00:00
2023-10-31 17:11:51 +00:00
2025-10-14 13:15:21 -07:00
2025-10-14 13:15:21 -07:00
2025-06-24 12:17:24 -07:00
2024-07-01 21:00:00 +00:00
2023-04-12 01:11:05 +00:00
2023-04-12 01:11:05 +00:00
2024-01-31 19:24:29 +00:00
2025-06-24 12:17:24 -07:00
2025-06-24 12:17:24 -07:00
2025-06-24 12:17:24 -07:00
2025-06-24 12:17:24 -07:00
2025-10-14 13:15:21 -07:00
2025-06-24 12:17:24 -07:00
2025-05-27 06:30:20 -07:00
2025-11-24 12:38:30 -08:00
2025-06-24 05:59:21 -07:00
2025-10-29 05:25:24 -07:00
2025-10-29 05:25:24 -07:00
2025-10-29 05:25:24 -07:00
2025-10-29 05:25:24 -07:00
2025-10-29 05:25:24 -07:00
2025-10-29 07:25:33 -07:00
2025-10-29 05:25:24 -07:00
2025-10-29 05:25:24 -07:00
2025-10-29 05:25:24 -07:00
2025-10-29 05:25:24 -07:00
2025-10-29 05:25:24 -07:00
2025-10-29 05:25:24 -07:00
2025-10-29 05:25:24 -07:00
2025-03-31 14:31:47 -07:00
2025-03-31 14:31:47 -07:00
2025-10-14 13:15:21 -07:00
2023-04-12 01:11:05 +00:00
2025-10-29 05:25:24 -07:00
2025-10-29 05:25:24 -07:00
2025-10-29 05:25:24 -07:00
2025-10-29 05:25:24 -07:00
2025-10-29 05:25:24 -07:00
2023-04-12 20:32:29 +00:00
2023-04-12 20:32:29 +00:00
2024-09-24 22:41:40 +00:00
2024-09-24 22:41:40 +00:00
2024-09-24 22:41:40 +00:00
2024-09-24 22:41:40 +00:00
2024-09-24 22:41:40 +00:00
2024-09-24 22:41:40 +00:00
2024-09-24 22:41:40 +00:00
2024-01-26 22:08:37 +00:00
2024-06-26 11:10:06 +00:00
2025-06-26 07:47:32 -07:00
2025-06-26 07:47:32 -07:00
2023-04-12 01:11:05 +00:00
2024-02-09 14:10:49 +00:00
2024-04-17 19:14:41 +00:00
2025-07-24 14:48:03 -07:00
2025-07-24 14:48:03 -07:00
2023-04-12 01:11:05 +00:00
2025-02-28 02:24:38 -08:00
2023-04-12 01:11:05 +00:00
2025-10-14 13:15:21 -07:00
2024-12-20 09:00:17 -08:00