[hibernate-dev] [HV] Memory footprint improvements
Guillaume Smet
guillaume.smet at gmail.com
Wed Aug 2 13:29:29 EDT 2017
On Wed, Aug 2, 2017 at 7:17 PM, Emmanuel Bernard <emmanuel at hibernate.org>
wrote:
> You would need to hardcode the definition of Object in HV's code. It's
> unclear to me that it would not be detrimental. I'd keep the model generic.
> And favor metadata recomputation over caching.
I went the "only cache the Object metadata" road (but it's not hardcoded):
https://github.com/hibernate/hibernate-validator/pull/826/files
It will mitigate a bit the removal of the cache.
--
Guillaume
More information about the hibernate-dev
mailing list