Hibernate ORM's JTAPlatform implementation is leaking a reference to its registry #12976
Labels
area/hibernate-orm
Hibernate ORM
area/persistence
OBSOLETE, DO NOT USE
kind/bug
Something isn't working
Milestone
Describe the bug
The
QuarkusJtaPlatform
implementation is extending a base class from upstream ORM which maks it a bad choice for also being used as a static singleton.In particular this leads the classloader to hold on to a reference of the ORM
ServiceRegistry
, in turn leaking a significant amount of memory.We can easily fix it to be a real stateless JtaPlatform, as we don't need the registry.
The text was updated successfully, but these errors were encountered: