Sanne Grinovero (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *created* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiOGViNTIzMGQx...
) / Task (
https://hibernate.atlassian.net/browse/HHH-16091?atlOrigin=eyJpIjoiOGViNT...
) HHH-16091 (
https://hibernate.atlassian.net/browse/HHH-16091?atlOrigin=eyJpIjoiOGViNT...
) AbstractStandardBasicType to avoid megamorphic dispatch when dealing with
AbstractClassJavaType (
https://hibernate.atlassian.net/browse/HHH-16091?atlOrigin=eyJpIjoiOGViNT...
)
Issue Type: Task Assignee: Sanne Grinovero (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) Created: 24/Jan/2023 09:26 AM Fix Versions: 6.2.0 Labels: performance Priority: Minor
Reporter: Sanne Grinovero (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
Benchmarking has shown that the very frequent invocations on AbstractClassJavaType’s
methods isEqual and getHashCode are megamorphic invocations; from domain knowledge we know
that there’s a very high chance that the JavaType on which we’re dispatching is going to
be an AbstractClassJavaType - we can help the dispatching process by making an explicit
check for this.
(
https://hibernate.atlassian.net/browse/HHH-16091#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-16091#add-comment?atlOrigin=ey...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100214- sha1:01e0849 )