[PR #11376] Improve lazy ghost performance by avoiding self-referencing closure #12981

Closed
opened 2026-01-22 16:15:48 +01:00 by admin · 0 comments
Owner

Original Pull Request: https://github.com/doctrine/orm/pull/11376

State: closed
Merged: Yes


This is based on @nicolas-grekas work in https://github.com/doctrine/orm/issues/11087#issuecomment-1994002826

It refactors the lazy initializer to avoid the self-referencing closure, which caused memory problems and pressure on garbage collection.

**Original Pull Request:** https://github.com/doctrine/orm/pull/11376 **State:** closed **Merged:** Yes --- This is based on @nicolas-grekas work in https://github.com/doctrine/orm/issues/11087#issuecomment-1994002826 It refactors the lazy initializer to avoid the self-referencing closure, which caused memory problems and pressure on garbage collection.
admin added the pull-request label 2026-01-22 16:15:48 +01:00
admin closed this issue 2026-01-22 16:15:48 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#12981