[jdk18] RFR: 8275830: C2: Receiver downcast is missing when inlining through method handle linkers [v2]

Vladimir Ivanov vlivanov at openjdk.java.net
Mon Jan 3 20:12:51 UTC 2022


On Mon, 3 Jan 2022 19:13:10 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

> It is time to update Copyright year to 2022 in changed files.

Fixed.

> test/hotspot/jtreg/compiler/cha/AbstractRootMethod.java line 64:
> 
>> 62: 
>> 63:         // Implementation limitation: CHA is not performed by C1 during inlining through MH linkers.
>> 64:         if (!sun.hotspot.code.Compiler.isC1Enabled()) {
> 
> I think you also need to check that C2 is enabled (could be JVMCI).

Until JVMCI/Graal is migrated to vtable-based CHA, the tests are run only with C1/C2:


@requires !vm.graal.enabled & vm.opt.final.UseVtableBasedCHA == true

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

PR: https://git.openjdk.java.net/jdk18/pull/77


More information about the hotspot-compiler-dev mailing list