Try OpenEdge Now
skip to main content
Managing ABL Applications
R-code Features and Functions : R-code execution : Memory-mapped r-code execution environment : Memory-mapped execution sequence
Memory-mapped execution sequence
When you run a memory-mapped member for the first time, OpenEdge loads and executes the r-code as follows:
1. Opens the procedure library, if not already open, and memory-maps the library in shared memory.
2. Reads the member and creates an r-code directory entry for the member.
3. Registers each required r-code segment in the execution environment as follows:
a. Adds an r-code segment entry to the segment descriptor table that references the segment in shared memory
b. Inserts a segment descriptor reference in the r-code directory entry for the member
4. 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.