Branch: refs/heads/main
Home:
https://github.com/hibernate/hibernate-orm
Commit: 80626c92feceba8ff455c8ad0aa20f1339385645
https://github.com/hibernate/hibernate-orm/commit/80626c92feceba8ff455c8a...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2025-07-30 (Wed, 30 Jul 2025)
Changed paths:
M
hibernate-core/src/main/java/org/hibernate/internal/util/collections/CollectionHelper.java
M hibernate-core/src/main/java/org/hibernate/query/sql/internal/NativeQueryImpl.java
M
hibernate-core/src/main/java/org/hibernate/query/sql/internal/ParameterRecognizerImpl.java
Log Message:
-----------
HHH-19668 Reduce size of collections held in ParameterInterpretationImpl before storing
them in the cache
Instances of ParameterInterpretationImpl are being held in the interpretation cache for
native queries. We had reports of these elements having a substantial impact on memory
consumption.
A simple improvement is to ensure the collections being held on by the container object
are minimized; some more substantial improvements could also be investigated but I’ll
leave those for another time.
To unsubscribe from these emails, change your notification settings at
https://github.com/hibernate/hibernate-orm/settings/notifications