why2_set_memory_identifier¶
Parameters¶
Identifier | Data type |
---|---|
new_memory_identifier |
char * |
Attributes¶
Return type | void |
Header comment | This functions doesn't have any description. |
Added in commit | 70335e67ad3e7ef3bc693741a03cb91962b91863 |
Description¶
Sets string, which is used in garbage collector for identifying (separating) nodes.
Every allocation has its own ID, which is set to lastly used memory_identifier
. This separates allocations in code to blocks and you can run GC with the memory_identifier
to deallocate those blocks.