Display memory arena records (VMARs). Optionally format related object records (VMOBs), alias records (VMALs) and context records (VMCOs).
Syntax:
────.MA ──┬─┬───────────────┬─┬───────┬─┬───────────┬───────── │ ├── M ─┬───────┤ └── C ──┘ └── maddr ──┘ │ │ └── A ──┤ │ └────── A ──────┘ │ └─┬───────┬─┬─────────────────────┬────────────────── └── B ──┘ ├────────── F ────────┤ └─┬───────┬─┬───────┬─┘ ├── L ──┤ └── C ──┘ ├── R ──┤ └── H ──┘ ───────────────────────┬───────────────────────────┬─────────── ├── har ────┬──┬─────────┬──┘ └── laddr ──┘ └── L n ──┘
Parameters:
A
Note:
Under Kernel Debugger the default is to match addresses in the current context only.
Under Dump Formatter address matches are made across all contexts, that is the A option is in permanent effect.
Chaining causes related memory structures to be displayed in groups, the head of which is indicated by an * suffix. The related structures are:
The linear address is bitwise ANDed with the hash table mask obtained from at_lHashNumbMask (VMAT+0x14). The result is shifted right by the allocation granularity for the arena. This is obtained from at_lHashNumbShift (VMAT+0x18). The result provides an index into the hash table, which is a table of arena handles that head each hash chain. The hash table address is obtained from ah_paharHash (VMAH+0x14) and the VMAT address is obtained from ah_pat (VMAH+0x18).
For OS/2 Warp V3.0, the hashing algorithm amounts to the following:
System Arena:
An address expression may be specified. A option is specified. The Dump Formatter always searches for matches in all contexts.
Results & Notes:
Arena records are in contiguous storage, which is anchored from the address given by global variable:
_parvmOne
Output from the .MA command is formatted using a common template with minor variations.
Note: Because a common display template is used for all forms of arena record certain fields will be irrelevant to the records being viewed and may contain garbage information. Specific cases are noted in the examples where this applies.
The following are example of the nine formats of area record:
For a description of the fields formatted by .MA select .MA Output Field Descriptions
For more examples using of the .M family of commands see: Exploring Memory Management.