Stack storage statistics

Language Environment stack storage is managed at the thread level; each thread has its own stack-type resources. Table 1 describes the fields in the storage report that contain various statistics about stack storage.

Table 1. Storage report fields that display stack storage statistics
Statistics categories Field contents
  • STACK
  • THREADSTACK
  • LIBSTACK
  • IPT STACK
The following fields display statistics for the upward-growing stack.
Initial size
Actual size of the initial segment assigned to each thread. If a pthread-attributes-table is provided on the invocation of pthread-create, then the stack size specified in the pthread-attributes-table will take precedence over the STACK runtime option.
Increment size
Size of each incremental segment acquired, as determined by the increment portion of the corresponding runtime option.
Maximum used by all concurrent threads
Maximum amount allocated in total at any one time by all concurrently executing threads.
Largest used by any thread
Largest amount allocated ever by any single thread.
Start of changeNumber of segments allocatedEnd of change
Start of changeNumber of segments allocated by all threads which includes the initial segments.End of change
Start of changeNumber of segments freedEnd of change
Start of changeNumber of incremental segments freed by all threads during the life of the threads. This does not include any incremental segments that were freed during thread termination.End of change
  • XPLINK STACK
  • XPLINK THREADSTACK
The following sections of the storage report display statistics for the downward-growing stack; they are only apply if XPLINK is in effect.
Initial size
Actual size of the initial segment assigned to each thread.
Increment size
Size of each incremental segment acquired, as determined by the increment portion of the corresponding runtime option.
Maximum used by all concurrent threads
Maximum amount allocated in total at any one time by all concurrently executing threads.
Start of changeNumber of segments allocatedEnd of change
Start of changeNumber of segments allocated by all threads which includes the initial segments.End of change
Start of changeNumber of segments freedEnd of change
Start of changeNumber of incremental segments freed by all threads during the life of the threads. This does not include any incremental segments that were freed during thread termination.End of change