View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000717 | LDMud 3.6 | General | public | 2010-01-24 15:39 | 2022-10-06 20:05 |
Reporter | zesstra | Assigned To | zesstra | ||
Priority | low | Severity | minor | Reproducibility | N/A |
Status | closed | Resolution | won't fix | ||
Summary | 0000717: Change free'ing of unreferenced strings during GC | ||||
Description | If the reference counter of strings is 0, the strings is regarded as 'not freeable' and the reference counting is disabled altogether. The reason is, that the ref counter may overflow from MAX to 0 (it is unsigned). The GC breaks that scheme by marking unreferenced strings with 0 ref counts and it later deletes strings with a ref count of 0. Although ref counter overflows are unlikely, the GC should be changed. If there are no other places in the GC which find unref'ed strings, mark_unreferenced_string() and mstring_gc_table() may be combined into one step (directly free unreferenced strings instead of marking them unreferenced and free'ing them later). | ||||
Tags | garbage collector, memory corruption, reference counter | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2010-01-24 15:39 | zesstra | New Issue | |
2010-11-23 00:09 | zesstra | Relationship added | related to 0000752 |
2011-02-13 21:59 | zesstra | Tag Attached: memory corruption | |
2011-02-13 21:59 | zesstra | Tag Attached: reference counter | |
2011-02-13 21:59 | zesstra | Tag Attached: garbage collector | |
2021-04-16 21:09 | zesstra | Assigned To | => zesstra |
2021-04-16 21:09 | zesstra | Status | new => assigned |
2021-04-16 21:09 | zesstra | Note Added: 0002606 | |
2021-04-17 08:33 | zesstra | Project | LDMud 3.5 => LDMud 3.6 |
2021-04-17 08:33 | zesstra | Category | Runtime => General |
2022-10-06 20:05 | zesstra | Status | assigned => closed |
2022-10-06 20:05 | zesstra | Resolution | open => won't fix |
2022-10-06 20:05 | zesstra | Note Added: 0002695 |