RFR: 8160821: VarHandle accesses are penalized when argument conversion is required [v9]
Chen Liang
liach at openjdk.org
Wed Dec 10 15:41:05 UTC 2025
On Wed, 10 Dec 2025 07:32:59 GMT, Emanuel Peter <epeter at openjdk.org> wrote:
>> Chen Liang has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 17 additional commits since the last revision:
>>
>> - Review
>> - Merge branch 'master' of https://github.com/openjdk/jdk into fix/vh-adapt-cache
>> - Bugs and verify loader leak
>> - Try to avoid loader leak
>> - Merge branch 'master' of https://github.com/openjdk/jdk into fix/vh-adapt-cache
>> - Revert void special case removal due to C2 shortage causing TestZGCBarrierElision::testAtomicThenAtomicAnotherField failure
>> - Test from Jorn
>> - Copyright years
>> - Fix problem identified by Jorn
>> - Rollback getAndAdd for now
>> - ... and 7 more: https://git.openjdk.org/jdk/compare/bdc0543f...d734e8a6
>
> test/hotspot/jtreg/compiler/c2/irTests/constantFold/VarHandleMismatchedTypeFold.java line 2:
>
>> 1: /*
>> 2: * Copyright (c) 2025, Oracle and/or its affiliates. All rights reserved.
>
> We want to eventually migrate all tests from `c2/irTests` to more "topic based" directories, so it would be great if you already migrated them now, since you probably would know a better name/place now already ;)
What would be a good directory? I used `c2/irTests/constantFold` as a topic. Maybe you can find a more straightforward directory for constant folding verification.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/28585#discussion_r2607162521
More information about the core-libs-dev
mailing list