Peter Zhu
bfb395c620
Implement weak references in the GC
...
[Feature #19783 ]
This commit adds support for weak references in the GC through the
function `rb_gc_mark_weak`. Unlike strong references, weak references
does not mark the object, but rather lets the GC know that an object
refers to another one. If the child object is freed, the pointer from
the parent object is overwritten with `Qundef`.
Co-Authored-By: Jean Boussier <byroot@ruby-lang.org>
2023-08-25 09:01:21 -04:00
..
2023-07-13 14:48:14 -04:00
2023-04-18 17:16:22 -07:00
2023-03-06 21:59:23 -08:00
2023-08-24 20:47:23 -07:00
2023-06-23 03:15:55 +09:00
2023-08-11 01:56:50 +09:00
2022-12-06 12:37:23 -08:00
2023-08-16 20:28:33 -07:00
2021-09-10 20:00:06 +09:00
2021-09-10 20:00:06 +09:00
2022-12-01 23:00:33 +13:00
2021-09-10 20:00:06 +09:00
2021-09-10 20:00:06 +09:00
2022-12-02 01:31:27 +09:00
2021-09-10 20:00:06 +09:00
2021-09-10 20:00:06 +09:00
2023-05-12 18:36:02 +09:00
2021-09-10 20:00:06 +09:00
2023-02-27 09:24:45 -08:00
2022-07-03 09:42:44 -07:00
2023-08-25 09:01:21 -04:00
2023-06-23 14:54:50 +09:00
2023-02-10 17:55:25 +09:00
2021-09-10 20:00:06 +09:00
2023-08-25 17:27:53 +09:00
2021-09-10 20:00:06 +09:00
2021-09-10 20:00:06 +09:00
2021-09-10 20:00:06 +09:00
2021-09-10 20:00:06 +09:00
2023-03-06 21:59:23 -08:00
2023-03-06 21:59:23 -08:00
2023-08-25 18:23:05 +09:00
2023-03-06 21:59:23 -08:00
2023-05-21 23:00:27 +09:00
2022-03-30 16:50:46 +09:00
2021-09-10 20:00:06 +09:00
2023-06-05 15:47:16 -04:00
2023-01-18 08:49:32 -05:00
2023-06-27 23:14:10 +09:00
2023-08-25 18:23:05 +09:00
2023-03-06 22:29:35 -08:00
2021-09-10 20:00:06 +09:00
2023-07-17 21:31:59 +09:00
2021-09-10 20:00:06 +09:00
2023-03-06 21:59:23 -08:00
2023-07-13 14:48:14 -04:00
2022-07-20 10:38:44 -07:00
2023-06-01 17:37:18 +09:00
2021-09-10 20:00:06 +09:00
2021-09-10 20:00:06 +09:00
2021-09-10 20:00:06 +09:00
2023-07-13 14:48:14 -04:00
2023-07-13 18:14:43 -04:00
2021-09-10 20:00:06 +09:00