Skip to content

Investigate JEP 441: Pattern Matching for switch #22450

@tgodzik

Description

@tgodzik

JEP 441 introduced spattern matching for switch statements, which we could possibly use to optimize the generated bytecode. @sjrd mentioned SwitchBootstraps that could be especially useful

Introduced in JDK 21

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:jdkIssues tied to artifacts published under a particular jdkcompat:java:jepIssues corresponding to a JEP (JDK Enhancement Proposal)compat:java:jep:stableIssues corresponding to a JEP which got already delivered as a stable feature in a JDK releaseitype:enhancementitype:spikeWe need to spend time and investigate something, before we decide what to do next.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions