[jdk18] RFR: 8274323: compiler/codegen/aes/TestAESMain.java failed with "Error: invalid offset: -1434443640" after 8273297 [v3]

Vladimir Kozlov kvn at openjdk.java.net
Sat Dec 18 05:37:25 UTC 2021


On Sat, 18 Dec 2021 03:23:56 GMT, Smita Kamath <svkamath at openjdk.org> wrote:

>> The failure happens with XX:+DeoptimizeAlot option. I've set reexecute bit and reset the appropriate state for the interpreter to execute the code when deoptimization occurs.
>
> Smita Kamath has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Added alignment to stack allocation, resolved indentation issue

src/hotspot/cpu/x86/stubGenerator_x86_64.cpp line 4456:

> 4454:     __ aesgcm_encrypt(in, len, ct, out, key, state, subkeyHtbl, avx512_subkeyHtbl, counter);
> 4455: 
> 4456:     __ addptr(rsp, 96 * longSize);

I don't think you need this instruction since you restore `RSP` in the next.
Otherwise looks good.
Testing passed fine.

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

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


More information about the hotspot-compiler-dev mailing list