RFR: 8267614: Outline VarHandleGuards exact behavior checks

Claes Redestad redestad at openjdk.java.net
Mon May 24 22:47:52 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.

Paul, Mandy, thanks for reviewing

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

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


More information about the core-libs-dev mailing list