RFR: 8297640: Increase buffer size for buf (insert_features_names) in Abstract_VM_Version::insert_features_names

Christian Hagedorn chagedorn at openjdk.org
Fri Nov 25 14:06:09 UTC 2022


On Fri, 25 Nov 2022 13:46:15 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

> As described in [JDK-8297640](https://bugs.openjdk.org/browse/JDK-8297640), the buffer is too small, I increased the size from 512 to 1024.
> 
> The string needs to be a few characters larger, now that we have the additional feature `avx512_ifma`, added in [JDK-8288047](https://bugs.openjdk.org/browse/JDK-8288047).
> 
> I manually tested it with `./java --version`, used to crash, now works.
> Running larger test suite now...

That looks reasonable!

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

Marked as reviewed by chagedorn (Reviewer).

PR: https://git.openjdk.org/jdk/pull/11366


More information about the hotspot-dev mailing list