Bug 974933: Better handle threaddump for scaled up gears.

[test]