Emmanuel Bernard commented on Improvement HV-589

The bean class reference is shared by the classloader so it doe snot add up to the memory consumed by Hibernate Validator, correct?

I am actually thinking that we could have a specialized implementation of BeanMetaData that has no state. We would save up on:

  • all those unnecessary references
  • we could reuse the same instance to represent all non validated classes and save up on the BeanMetaDataManager cache
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira