A Garbage Collector for the GNUNYU Ada Translator GNAT

1 / 1
About This Presentation
Title:

A Garbage Collector for the GNUNYU Ada Translator GNAT

Description:

QR CSEE Innovation Expo 2000 posters proudly sponsored by Able Systems. A Garbage Collector for the GNU/NYU Ada Translator (GNAT) What is garbage collection? ... –

Number of Views:27
Avg rating:3.0/5.0
Slides: 2
Provided by: innovexpo
Category:

less

Transcript and Presenter's Notes

Title: A Garbage Collector for the GNUNYU Ada Translator GNAT


1
A Garbage Collector for the GNU/NYU Ada
Translator (GNAT)
What is garbage collection? ? the automated
reclamation of inaccessible, dynamically allocate
d ("heap") memory Whenever a statement such
as my_data malloc(sizeof(data_t)) is executed
in C, or my_data new data_t is executed in
Ada, memory is allocated on the heap. When a
statement such as my_data NULL is executed,
this memory is not freed. However, if no other
pointer to this memory exists, the allocated
memory becomes inaccessible. ? A garbage
collector periodically searches for such
inaccessible memory and automatically frees it.
David OShea Student number 341595964 Supervisor
Dan Johnston
Write a Comment
User Comments (0)
About PowerShow.com