Branch: refs/heads/main
Home:
https://github.com/hibernate/hibernate-orm
Commit: 48df4e15aaa02060311bd1d1c4721c6844806b8c
https://github.com/hibernate/hibernate-orm/commit/48df4e15aaa02060311bd1d...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2023-01-15 (Sun, 15 Jan 2023)
Changed paths:
M
hibernate-core/src/main/java/org/hibernate/cache/spi/entry/StandardCacheEntryImpl.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/AbstractEntityInitializer.java
M
hibernate-core/src/test/java/org/hibernate/event/service/internal/EventListenerDuplicationStrategyTest.java
Log Message:
-----------
HHH-16046 EventListener iterations should avoid using EventListenerGroup#listeners when
possible
Commit: 9f88b560996caaa3e58209de730b53c499b2f17f
https://github.com/hibernate/hibernate-orm/commit/9f88b560996caaa3e58209d...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2023-01-15 (Sun, 15 Jan 2023)
Changed paths:
M
hibernate-core/src/main/java/org/hibernate/event/service/internal/EventListenerGroupImpl.java
Log Message:
-----------
HHH-16046 Improve memory safety of mutations in EventListenerGroupImpl
Also avoid for method listeners() to allocate a new List at each use;
this method was deprecated but it appears it’s still being used in
various event processors, which is being flagged as a performance issue.
Compare:
https://github.com/hibernate/hibernate-orm/compare/a1d43adad489...9f88b56...