What are the practical use cases for identity records in Valhalla?
With Valhalla, Java will have value classes that are shallowly immutable and do not have object identity, while ordinary identity classes remain mutable and support identity-based operations. Records…