The CEO of one of the largest private-credit firms defended the industry and how it will act in times of stress.