M
Megha Vishwanath
Hi,
I'd like to know how heap aggregates created with a "new" operator at
non-contiguous memory locations get deallocated using the "delete []"
operator in VC++.
A garbage collectors in Java deallocate on the basis of a record
maintained during the "new" allocation.
Do we use something like a garbage collector to maintain arecord of
the heap memory start indexes.
Please enlighten me.
Thanks,
Megha.
I'd like to know how heap aggregates created with a "new" operator at
non-contiguous memory locations get deallocated using the "delete []"
operator in VC++.
A garbage collectors in Java deallocate on the basis of a record
maintained during the "new" allocation.
Do we use something like a garbage collector to maintain arecord of
the heap memory start indexes.
Please enlighten me.
Thanks,
Megha.