-
Type:
Enhancement
-
Resolution: Unresolved
-
Priority:
P2
-
Affects Version/s: repo-valhalla
-
Component/s: hotspot
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-8206077 [lworld] improve hashcode implementation for value classes
-
- Open
-
-
JDK-8252061 [lworld] Support Object::toString for inline type
-
- Resolved
-
-
JDK-8244975 [lworld] Default implementation of Object::hashCode supports inline class
-
- Resolved
-