We're updating the issue view to help you get more done. 

Avoid static singletons to hold on Strategy Registration Implementations

Description

These singleton instances might seem a good idea, yet since they are only used whenever ORM is booting, the benefit of avoided allocations is limited to this exceptional context.

On the other hand, after having initialized these constants they will take memory in the JVM for as long as it's running; most of these objects are both very fast to build and actually not that small, so I prefer removing the constants, which incidentally happens to be shorter and that's always a nice thing.

Environment

None

Status

Assignee

Sanne Grinovero

Reporter

Sanne Grinovero

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Priority

Minor