Sanne Grinovero (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *commented* on HHH-16440 (
https://hibernate.atlassian.net/browse/HHH-16440?atlOrigin=eyJpIjoiMjU2YT...
)
Re: Classleak in the BytecodeProviderImpl (
https://hibernate.atlassian.net/browse/HHH-16440?atlOrigin=eyJpIjoiMjU2YT...
)
Hi Thorsten Goetzke, great analysis thank you for that.
As far as I remember, I’m responsible for clearing those caches on shutdown; you’re right
that I was primarily thinking of containers and “regular production” users, in which
bootstrap would happen only once. I didn’t think about integration tests.
I’m wondering now if we should introduce a special mode for testing, but I suspect people
wouldn’t use it; perhaps we shouldn’t reset those caches unless we’re configured to do so?
I could recommend to people who maintain the integration framework/Hibernate to set it,
but this would be a breaking change which won’t be applied overnight.
Do you have any suggestions?
Regarding the “fastClass not being cached” - I’m not sure I understand why it should be
cached; could you elaborate please?
(
https://hibernate.atlassian.net/browse/HHH-16440#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-16440#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#100228- sha1:e911e2c )