Custom block are relocated by the garbage collector (when promoted to the major heap or during compaction for instance).
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| I'm not sure I'm using caml_alloc_custom_mem correctly | 6 | 227 | August 17, 2025 | |
| GC alive blocks clarification | 7 | 639 | December 7, 2020 | |
| Static lifetime | 21 | 3423 | January 7, 2020 | |
| [ANN] A dynamic checker for detecting naked pointers | 36 | 5903 | May 28, 2020 | |
| Ctypes: what's the most idiomatic way to anchor an OCaml value so that it's not garbage collected? | 2 | 1315 | August 19, 2020 |