z/OS Language Environment Programming Guide for 64-bit Virtual Addressing Mode
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


User-created heap storage

z/OS Language Environment Programming Guide for 64-bit Virtual Addressing Mode
SA38-0689-00

Language Environment can also manage, as a heap, storage which is obtained by a C/C++ application. The following functions provide this user-created heap storage capability:
  • _ucreate() – Creates a heap using storage provided by the caller
  • _umalloc() – Allocates storage elements from the user-created heap
  • _ufree() – Returns storage elements to the user-created heap
  • _uheapreport() – Generates a storage report to help tune the application's use of the user-created heap

This allows the application more flexibility in choosing the attributes of the heap storage. For instance, the storage could be shared memory that is accessed by multiple programs.

For more information about the user-created heap functions, see z/OS XL C/C++ Runtime Library Reference.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014