Method for tracking memory allocation in network file server
US5491808A · kind A · utility
Assignee
Inventor
Key dates
| Filing date | Sep 30, 1992 |
| Grant date | Feb 13, 1996 |
| Priority date | — |
| Expiry date | Sep 30, 2012 |
Classification
- Technology area (CPC Y)Emerging Cross-Sectional Technologies
- CPC primaryY10S707/99956
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
A method for dynamically tracking memory resource allocations/deallocations of a program resident in the memory of a network file server is disclosed wherein calls to system memory allocation functions are intercepted and diverted to memory resident tracker routines, interposed between the caller and the called functions to monitor returns from the called functions. Public symbol lists of application program interfaces are scanned for functions to be tracked, and function entry points are taken over by replacing initial instructions of the system functions with jumps to the tracker routines. The tracker routines then call the remainder of the system functions and record the reply before passing control back to the original caller program. Information on allocated blocks is written to ABLK blocks taken from an ABLK free block pool allocated at tracker startup. Subsequent deallocations of the allocated blocks release the same ABLK blocks back to the ABLK free pool. Information on "NULL" pointer and similar returns indicating allocation/deallocation errors is written to MSG queue blocks taken from a MSG free block pool allocated at tracker startup. Log file generator threads are activ…
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.