Merge "Add interface for updating the heap's process state"