[hibernate-issues] [JIRA] (HHH-13930) Improve ByteBuddyProxyHelper to allow defining proxy classes without actually loading the class

Sanne Grinovero (JIRA) jira at hibernate.atlassian.net
Sun Apr 5 18:06:42 EDT 2020


Sanne Grinovero ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A99e61e65-956b-4a21-b29c-06057642e9ea ) *created* an issue

Hibernate ORM ( https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiMjk4YWU2MzMwNDdkNDc4Njg2YmMwMzVhMjcwZmY0NTIiLCJwIjoiaiJ9 ) / Improvement ( https://hibernate.atlassian.net/browse/HHH-13930?atlOrigin=eyJpIjoiMjk4YWU2MzMwNDdkNDc4Njg2YmMwMzVhMjcwZmY0NTIiLCJwIjoiaiJ9 ) HHH-13930 ( https://hibernate.atlassian.net/browse/HHH-13930?atlOrigin=eyJpIjoiMjk4YWU2MzMwNDdkNDc4Njg2YmMwMzVhMjcwZmY0NTIiLCJwIjoiaiJ9 ) Improve ByteBuddyProxyHelper to allow defining proxy classes without actually loading the class ( https://hibernate.atlassian.net/browse/HHH-13930?atlOrigin=eyJpIjoiMjk4YWU2MzMwNDdkNDc4Njg2YmMwMzVhMjcwZmY0NTIiLCJwIjoiaiJ9 )

Issue Type: Improvement Assignee: Stuart Douglas ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A946df12b-a1a2-4c4d-842e-cf5ae94c2144 ) Components: bytecode-enhancement Created: 05/Apr/2020 15:06 PM Fix Versions: 5.4.14 Priority: Major Reporter: Sanne Grinovero ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A99e61e65-956b-4a21-b29c-06057642e9ea )

In Quarkus there is a clean separation between defining classes (or enhancing them) vs actually loading them.

The ByteBuddyProxyHelper we have in Hibernate ORM implicitly forces to load the proxies it generates; this has been shown to come at a performance cost during the build, and since it happens to be unnecessary we should allow to generate such proxies while skipping the class load.

( https://hibernate.atlassian.net/browse/HHH-13930#add-comment?atlOrigin=eyJpIjoiMjk4YWU2MzMwNDdkNDc4Njg2YmMwMzVhMjcwZmY0NTIiLCJwIjoiaiJ9 ) Add Comment ( https://hibernate.atlassian.net/browse/HHH-13930#add-comment?atlOrigin=eyJpIjoiMjk4YWU2MzMwNDdkNDc4Njg2YmMwMzVhMjcwZmY0NTIiLCJwIjoiaiJ9 )

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.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100124- sha1:7217f9f )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200405/7ca73d09/attachment.html 


More information about the hibernate-issues mailing list