deallocation
Noun
Meaning
The act of deallocating.
(computing) The release of a portion of storage that had previously been allocated to a specific task.
Source: en.wiktionary.orgExamples
Advantages Garbage collection frees the programmer from manually dealing with memory deallocation.
The garbage collector is heavily optimized to prevent impacting the performance of an application, so memory flagged for deallocation may not yet be reclaimed.
In Java, safe synchronous deallocation of resources can be performed deterministically using the try/catch/finally construct.
Instead, all dynamic memory allocation and deallocation must take place through explicitly declared access types.
The C++ version requires no explicit deallocation; it will always occur automatically as soon as the object array goes out of scope, including if an exception is thrown.
The second can be the address of a Task structure, or the address of a memory block whose allocation or deallocation failed.