[jdk17] RFR: 8269285: Crash/miscompile in CallGenerator::for_method_handle_inline after JDK-8191998 [v4]
Aleksey Shipilev
shade at openjdk.java.net
Wed Jun 30 17:08:08 UTC 2021
On Wed, 30 Jun 2021 17:02:31 GMT, Vladimir Ivanov <vlivanov at openjdk.org> wrote:
>> Aleksey Shipilev has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Restore comment properly
>
> test/hotspot/jtreg/compiler/types/TestMethodHandleSpeculation.java line 31:
>
>> 29: *
>> 30: * @run main/othervm
>> 31: * -Xcomp -Xbatch
>
> The test can be sped up significatly by compiling `compiler.types.TestMethodHandleSpeculation::main()` only (`-XX:CompileCommand=quiet -XX:CompileCommand=compileonly,compiler.types.TestMethodHandleSpeculation::main`).
I tried it before with `-XX:CompileOnly=compiler.types.TestMethodHandleSpeculation::*`, and IIRC that did not work. I suspect you need to compile/inline the lambda body too. After all, this is `CallGenerator::for_method_handle_inline`? I can try again.
-------------
PR: https://git.openjdk.java.net/jdk17/pull/169
More information about the hotspot-compiler-dev
mailing list