Skip to content

Registering all Caffeine cache implementations comes with a 14 MB penalty #12961

@gsmet

Description

@gsmet

As soon as we have the Caffeine extension around, we pay a 14 MB native executable penalty since we registered all cache implementations for reflection in #12621 .

I think we need a way to get the cache implementations that will be used given a particular cache configuration.

I don't know how this could work exactly but we definitely cannot pay a 14 MB penalty just for Caffeine (and we usually use only a few of the cache implementations).

/cc @ben-manes @Sanne

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions