Skip to content

ThreadLocal usage in JsonFactory may cause memory leaks  #189

@m5k10

Description

@m5k10

JsonFactory assign BufferRecycler to thread local but does not remove it. Very often jackson-core is loaded by web application classloader so we have situation where this classloader is referenced from thread object. As a result, after undeploying web app, classes wouldn't be unloaded (or wil be unloaded after some time because of the SoftReference).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions