You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ivan Bessonov (Jira)" <ji...@apache.org> on 2025/08/12 07:58:00 UTC

[jira] [Updated] (IGNITE-26188) Fix anonymous non-static ThreadLocal in DelayedPageReplacementTracker

     [ https://issues.apache.org/jira/browse/IGNITE-26188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ivan Bessonov updated IGNITE-26188:
-----------------------------------
    Reviewer: Ivan Zlenko

> 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
>            Priority: Major
>              Labels: ignite-3
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> {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)