That doesn't help for long-lived objects that should have been inlined inside another object. This is a problem for simple wrapper classes like Optional, and it's the reason why it's not recommended to use Optional as anything other than a return value.