Progress
Programming
Handbook
R-code Directory Management
If the r-code directory is full when loading a new standard or memory-mapped r-code file, Progress can reuse existing directory entries for any r-code files no longer in use.
To reuse an r-code directory entry, Progress performs the following steps:
- Identifies the least recently used (LRU) r-code file.
- Frees the r-code directory entry for the LRU r-code file.
- Frees all of the segment descriptor entries in the segment descriptor table for the LRU r-code file.
- When reusing a standard r-code directory entry, Progress removes all r-code segments for the LRU r-code file from both the execution buffer and the session sort file. When reusing a memory-mapped r-code directory entry, the memory-mapped r-code file remains mapped in shared memory.
When Progress needs to reload a standard r-code file, it follows the standard execution sequence. When Progress needs to reload a memory-mapped r-code file, it follows the memory-mapped execution sequence.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |