Bug 974933: Handle threaddump for scaled up gears.

[test]