RFR: 8160821: VarHandle accesses are penalized when argument conversion is required [v7]
Chen Liang
liach at openjdk.org
Mon Dec 8 02:08:38 UTC 2025
On Fri, 5 Dec 2025 11:03:18 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:
>> Chen Liang has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Revert void special case removal due to C2 shortage causing TestZGCBarrierElision::testAtomicThenAtomicAnotherField failure
>
> test/hotspot/jtreg/compiler/c2/irTests/constantFold/VarHandleMismatchedTypeFold.java line 48:
>
>> 46: public static void main(String[] args) {
>> 47: TestFramework.runWithFlags(
>> 48: "-XX:+UnlockExperimentalVMOptions"
>
> Why is this flag needed?
Indeed, simplified this to `TestFramework.run()`
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/28585#discussion_r2596827495
More information about the hotspot-compiler-dev
mailing list