support for STM objects in the retainer profiler