Merge "Fix how the ProfileSaver thread attaches to the runtime." into nyc-dev