Ivan Bessonov created IGNITE-26188:
--------------------------------------

             Summary: Fix anonymous non-static ThreadLocal in 
DelayedPageReplacementTracker
                 Key: IGNITE-26188
                 URL: https://issues.apache.org/jira/browse/IGNITE-26188
             Project: Ignite
          Issue Type: Improvement
            Reporter: Ivan Bessonov
            Assignee: Ivan Bessonov


{code:java}
org.apache.ignite.internal.pagememory.persistence.replacement.DelayedPageReplacementTracker#byteBufThreadLoc
 {code}
Such an approach leads to memory leaks on long-living threads. For example, 
there's a chance of leaking native memory in {{main}} thread in tests. That's 
also a bad pattern in general



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to