RFR: 8281936: compiler/arguments/TestCodeEntryAlignment.java fails on AVX512 machines

Aleksey Shipilev shade at openjdk.java.net
Thu Feb 17 07:21:08 UTC 2022


On Wed, 16 Feb 2022 02:13:03 GMT, Jie Fu <jiefu at openjdk.org> wrote:

> Hi all, 
> 
> compiler/arguments/TestCodeEntryAlignment.java fails on AVX512 machines due to stub size is not big enough.
> The fix just increasing the stub size for AVX512 platforms.
> 
> Testing:
>   - tier1~3 on Linux/x64 with AVX512, no regression
> 
> Thanks.
> Best regards,
> Jie

As far as I can see, `RuntimeStub::new_runtime_stub` copies the `CodeBuffer` up to the actual size. So, there is no actual need to make the increase from `1000` to `1200` optional, as it would be cut down to size on `UseAVX <= 2` case anyway? We can just bump it to `1200`. @vnkozlov might have an opinion here.

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

PR: https://git.openjdk.java.net/jdk/pull/7485


More information about the hotspot-compiler-dev mailing list