On Mon, 25 May 2026 12:43:49 GMT, Per Minborg <[email protected]> wrote:

> This PR proposes to swap the pattern-matching switch in `LazyConstant` with 
> an if rake to reduce startup time.
> 
> The PR also adds a missing `@DontInline` annotation on the slow path.
> 
> Performance runs across several platforms suggest a ~20-30% startup 
> improvement for noop.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

Marked as reviewed by liach (Reviewer).

-------------

PR Review: https://git.openjdk.org/jdk/pull/31275#pullrequestreview-4361206965

Reply via email to