Resources | Resources |




The Component Heap Tracker consists of the heapDebugger class, system init listener process, and Simulator plug-in. The heapDebugger and system init listener processes run in the kernel process, outside the Brew MP shell.

The heapDebugger is a singleton object implementing the Iheap1Debugger and IHeap1DebuggerFactory interfaces.

  • The kernel heap calls the Iheap1Debugger interface when certain heap events occur.
  • The IHeap1DebuggerFactory interface is remote-able and can be used by a Brew MP applet to control heap tracking.

The system init listener object registers for the system initialization event and creates the HeapDebugger object when the system initialization event is received.

The Simulator plugin creates the CHT and CHT log menu items on the Simulator's Tools menu.