Memory-mapped execution sequence
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
Memory-mapped execution sequence
When you run a memory-mapped member for the first time, OpenEdge loads and executes the r-code as follows:
- Opens the procedure library, if not already open, and memory-maps the library in shared memory.
- Reads the member and creates an r-code directory entry for the member.
-
Registers each required r-code segment in the execution environment
as follows:
- Adds an r-code segment entry to the segment descriptor table that references the segment in shared memory
- Inserts a segment descriptor reference in the r-code directory entry for the member
- Once the required r-code segments are registered in the execution environment, the interpreter begins executing the r-code at the start of the first main action code segment and accesses the remaining segments directly from shared memory as required.