Integrated: 8267614: Outline VarHandleGuards exact behavior checks

Claes Redestad redestad at openjdk.java.net
Mon May 24 23:06:08 UTC 2021


On Mon, 24 May 2021 11:47:53 GMT, Claes Redestad <redestad at openjdk.org> wrote:

> Extract some common behavior checks from the generated VarHandleGuards code to a package-private VarHandle method. This reduces the code size (-5.2kb lib/modules) and slightly improves startup, while being performance neutral on microbenchmarks.

This pull request has now been integrated.

Changeset: c519ba2e
Author:    Claes Redestad <redestad at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/c519ba2e437a05ac83e53b358b6a02b2f6e20563
Stats:     338 lines in 3 files changed: 14 ins; 243 del; 81 mod

8267614: Outline VarHandleGuards exact behavior checks

Reviewed-by: psandoz, mchung

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

PR: https://git.openjdk.java.net/jdk/pull/4165


More information about the core-libs-dev mailing list