You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 17d9408
Browse filesBrowse the repository at this point in the historyBrowse files
fix(runtime): delete owned ETS tables before exit signals
Native process exits delete owned ETS tables before delivering linked EXIT or monitored DOWN signals.
The same ordering covers linked-exit cascades, allowing immediate named-table recreation.
|`ets_keypos.erl`| ETS keypos and named tables |~8 |
465
+
|`ets_freed_before_signal.erl`| A dead owner's named table can be recreated at the first EXIT or DOWN: normal exit, own reason, trapped link, kill and link cascade, 500 rounds each; a supervised gen_server creates it on each of 100 restarts; also run on BEAM | 5 exit paths + supervisor |
465
466
|`ets_stored_fun.erl`| A fun stored in ETS (at the top of a row, nested in a list, tuple and map, after `update_element/3`) or `persistent_term` by a process that then exits or collects garbage keeps its captured list, binaries, tuple, map, float, bignum and inner fun when looked up and called; a fun read by `tab2list/1` or `persistent_term:get/1` still works after the table or term is deleted; completion marker; also run on BEAM |~16 |
466
467
|`ets_stored_bitstring.erl`| Non-byte-aligned heap/refc bitstrings, sub-byte values and extracted tails stored in ETS or `persistent_term` survive writer exit/GC; boxed `update_element/3` replacements and copying reads remain intact after table deletion or term erasure; completion marker; same fixture on BEAM | 4 lifetime scenarios |
467
468
|`ets_bitstring_keys.erl`| Partial-bitstring bag duplicate suppression; copied direct/list/tuple keys in hash-backed tables for lookup, membership, insert_new, boxed updates, counters, deletion and forward/backward traversal; copied values as persistent_term keys; significant bits and exact lengths remain distinct; completion marker; same fixture on BEAM | Table-driven |
0 commit comments