Sanne Grinovero (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *created* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiMzgzZTBkYTJj...
) / Bug (
https://hibernate.atlassian.net/browse/HHH-14149?atlOrigin=eyJpIjoiMzgzZT...
) HHH-14149 (
https://hibernate.atlassian.net/browse/HHH-14149?atlOrigin=eyJpIjoiMzgzZT...
) Improve efficiency of LazyAttributesMetadata#getLazyAttributeNames (
https://hibernate.atlassian.net/browse/HHH-14149?atlOrigin=eyJpIjoiMzgzZT...
)
Issue Type: Bug Assignee: Sanne Grinovero (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) Created: 12/Aug/2020 00:34 AM Fix Versions: 5.4.21 Priority: Minor Reporter: Sanne
Grinovero (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
This allocation of a KeySet view is small but rather hot, and we can take advantage by the
fact that the returned Set is never modified.
Ideally we should return a different type which makes the immutability contract explicit,
which could unlock further optimisations, but this will need a bit of care as this is
currently classified as an SPI.
(
https://hibernate.atlassian.net/browse/HHH-14149#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-14149#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#100144- sha1:57e1ab7 )