Skip to content

Use a more contention-friendly intern table #390

@toddjonker

Description

@toddjonker

The current intern tables are generally WeakHashMaps with extremely coarse-grained locks. This should instead use a ConcurrentHashMap with weak-pointer support.

(Longer-term, we should investigate using our own persistent HAMT. I bet there's ways to make that more performant than Java's built-in hashes.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions