-
Enhancement
-
Resolution: Unresolved
-
P4
-
repo-valhalla
Comment from John [1] on Object::toString support for inline class
In order for this to perform well, the code for each generated toString method needs to be JIT-ted, and to be reached quickly (or even inlined) via ClassValue::get. Optimization work (to be done later) should probably consider JDK-8238260.
Same for Object::hashCode support for inline class.
[1] https://github.com/openjdk/valhalla/pull/155#issuecomment-676878558
In order for this to perform well, the code for each generated toString method needs to be JIT-ted, and to be reached quickly (or even inlined) via ClassValue::get. Optimization work (to be done later) should probably consider JDK-8238260.
Same for Object::hashCode support for inline class.
[1] https://github.com/openjdk/valhalla/pull/155#issuecomment-676878558
- relates to
-
JDK-8252061 [lword] Support Object::toString for inline type
- Resolved
-
JDK-8244975 [lworld] Default implementation of Object::hashCode supports inline class
- Resolved