Heap IDs recognized by the Language Environment heap manager
Table 1 lists Language Environment heaps and their respective purposes.
Heap name | Heap ID | Intended purpose | Created by | Disposed by |
---|---|---|---|---|
Initial heap user heap | 0 | Application program data. Common heap used by language intrinsic functions and COBOL WORKING-STORAGE data items. CEEDSHP has no effect on the initial heap. COBOL access is by Language Environment callable services. | Enclave initialization. Size and location determined from HEAP runtime option. | Enclave termination |
Additional heaps and user heap | (Returned by CEECRHP) | Collections of application program data that can be quickly disposed with a single CEEDSHP call. | Call to CEECRHP. Arguments define heap size, location, and other characteristics. | Call to CEEDSHP Enclave termination |