Skip to content

Reduce the GC pressure due to NoTransactionInContextException instances #33601

@sdeleuze

Description

@sdeleuze

New NoTransactionInContextException instances are created frequently in TransactionContextManager#currentContext() when there is no transaction, we could reuse the same instance instead.

Metadata

Metadata

Assignees

Labels

in: dataIssues in data modules (jdbc, orm, oxm, tx)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions