Merge "Add GC mode for stressing testing heap transitions."