Skip to content

why2_get_default_memory_identifier

Parameters

This functions doesn't take any parameters.

Attributes

Return type char *
Header comment This functions doesn't have any description.
Added in commit aa6b484363ad609f1bf1ff5ee539723d9417f48a

Description

Returns string, which is by default 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.