A method for deleting data, a data deleting apparatus and a recording medium
involve
a process for deleting unnecessary data generated during the processing of a main
program which is created using programming languages which create data dynamically,
wherein revisions of the main program are unnecessary and the overhead cost for
that process is controlled without losing the real time property of the main program.
While the main program is interrupted, the function recording region is scanned
and advance marking to identify data for protection is carried out in the data
recording region which is directly or indirectly indicated by the pointer which
has been recorded in the functional recording region which has been scanned.