Merge "Add new debug feature to automatically create heap dumps."