JetBrains/xodus-dnq

Cache entity wrappers inside XdModel.toXd()

jk1 opened this issue · 1 comments

jk1 commented

To reduce allocations and gc pressure on wrap operations

In current cache implementation, TransientEntityStore is referenced by the cache via strong references in TransientEntityImpl (the key) and XdEntity (the value) which references TransientEntityImpl. So we can have a leak in multi-application environment like YT InCloud.