Bug 1058631 part 1 - Some minor GC performance improvements. r=terrence