Skip to content

optimize command-line flag checking in compiler using ConstantCallSite #149

Open
@adriaanm

Description

@adriaanm

@retronym suggests we use https://community.oracle.com/blogs/forax/2011/12/17/jsr-292-goodness-almost-static-final-field to hide our instrumentation better from the JIT.

A lot of compiler settings are constant false in most compiler runs, yet they must be checked all the time. We could help the JIT using the above technique.

(See e.g., scala/scala#5204)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions