[hibernate-issues] [Hibernate-JIRA] Created: (HHH-6923) Remove org.hibernate.service.instrumentation.spi.InstrumentationService

Steve Ebersole (JIRA) noreply at atlassian.com
Wed Dec 28 09:44:21 EST 2011


Remove org.hibernate.service.instrumentation.spi.InstrumentationService
-----------------------------------------------------------------------

                 Key: HHH-6923
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6923
             Project: Hibernate Core
          Issue Type: Improvement
            Reporter: Steve Ebersole
            Assignee: Steve Ebersole
             Fix For: 4.1.0


HHH-6735 identified some code related to runtime handling of bytecode instrumented entity classes as a hotpot.  The fix was to introduce a new service which maintained a cache of information related to that handling (basically avoiding reflection calls).

But Hibernate already has a couple of classes meant to hold entity-specific metadata which is what this boils down to.  I think a better solution would be to leverage those already existing entity-specific metadata to hold this information in a non-reflective manner.  

I put some initial thoughts on HHH-6735 itself.  I will move over here as they solidify.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list