Commit Graph
8 Commits
Author SHA1 Message Date
ldm0 ca14f3193f fix(v8-platform): release isolate callbacks outside registry locks
Close retired mailboxes and cancel their generations under the registry lock, then release callback captures after unlocking. Publish environment invalidations through the registry while retaining only notifiers that need waking.

Cover callback destruction during unregister and replacement, lock-free owner wake, and delayed wake after teardown. Validated with cargo fmt --all, all-target all-feature Clippy, 52 related tests over 5 stress iterations, and the complete Nextest suite (17505 passed, 13 skipped).
2026-09-14 00:35:54 +08:00
ldm0 3a5cf7f123 refactor(emulation): clarify environment invalidation contracts
Name coalesced work by the native caches it invalidates, and document that the Worker armed bit tracks the outstanding fallback message rather than mailbox contents.

Consolidate Date/Intl options regressions into named cases and fold time-first legacy dates into the shared parsing matrix, retaining their inputs and native-semantic assertions.
2026-09-13 05:55:27 +08:00
ldm0 2d249b069c refactor(emulation): coalesce process environment notifications
Publish typed invalidation flags under the environment lock and wake isolate owners only after releasing it. Bound page and worker notification work while preserving command FIFO, teardown safety, and observation ordering.

Remove stale wrapper-era dependencies and terminology, and add mailbox race and CDP burst regressions.
2026-09-13 05:55:27 +08:00
ldm0 19e5667fe3 refactor(emulation): notify isolate owners without environment generations 2026-09-13 01:07:35 +08:00
ldm0 63143f6283 refactor(emulation): tighten process environment ownership
Make process environment owners non-cloneable RAII authorities, share session admission while preserving failed and no-op outcomes, and consolidate duplicate isolate-entry handling. Keep read-only owner queries side-effect-free and add lifecycle regressions.
2026-09-13 01:07:35 +08:00
ldm0 3bead42808 refactor(emulation): use native process-wide ICU defaults
Remove the Date/Intl wrappers, custom date parser and per-Page replay state. Keep exclusive locale/timezone ownership in a process controller and refresh existing Page and Worker isolates through generation-bound notifications and observation boundaries, including nested Inspector pauses.

Release claims on session/target/context retirement, retain native coercion and locale matching, and cover lifecycle restoration with Rust, BiDi and process-isolated CDP regressions.
2026-09-13 01:07:35 +08:00
ldm0 017c53de8c build(v8): migrate Moli to V8 15.2 2026-09-03 15:17:48 +08:00
ldm0 27b5135cb6 Public preview 2026-08-11 00:10:12 +08:00