Sanne Grinovero (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *created* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiNWExZTA5NGUw...
) / Task (
https://hibernate.atlassian.net/browse/HHH-15569?atlOrigin=eyJpIjoiNWExZT...
) HHH-15569 (
https://hibernate.atlassian.net/browse/HHH-15569?atlOrigin=eyJpIjoiNWExZT...
) Method EntityMappingType#extractConcreteTypeStateValues needs to be inspected for
performance optimisation potential (
https://hibernate.atlassian.net/browse/HHH-15569?atlOrigin=eyJpIjoiNWExZT...
)
Issue Type: Task Assignee: Unassigned Created: 01/Oct/2022 14:13 PM Labels: performance
Priority: Major Reporter: Sanne Grinovero (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
The code in this method is very hot, as the lambda being defined is invoked to process
each field of each object being read.
Unfortunatley the way this is designed implies that both an array (of size of attribute
mappings) and a stateful lambda is being allocated; it would be great to explore some
alternatives, although I have no concrete ideas ATM and could not be viable.
(
https://hibernate.atlassian.net/browse/HHH-15569#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-15569#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#100207- sha1:ee9e30a )