Integrated: 8350344: Cross-build failure: _vptr name conflict

Boris Ulasevich bulasevich at openjdk.org
Wed Feb 19 21:04:57 UTC 2025


On Wed, 19 Feb 2025 16:13:16 GMT, Boris Ulasevich <bulasevich at openjdk.org> wrote:

> With this change, I aim to address a build issue caused by the recent #23533 update, which introduced the CodeBlob _vptr field. This naming has led to build failures in HotSpot, reproduced on the Linaro GCC cross-toolchain for AArch64 and ARM32.
> 
> src/hotspot/share/code/codeBlob.hpp:349:21: error: member '_vptr' conflicts with virtual function table field name
>    static const Vptr _vptr;
>                      ^~~~~
> src/hotspot/share/code/codeBlob.hpp:437:21: error: member '_vptr' conflicts with virtual function table field name
>    static const Vptr _vptr;
>                      ^~~~~
> src/hotspot/share/code/codeBlob.hpp:477:21: error: member '_vptr' conflicts with virtual function table field name
>    static const Vptr _vptr;
>                      ^~~~~
> src/hotspot/share/code/codeBlob.hpp:560:21: error: member '_vptr' conflicts with virtual function table field name
>    static const Vptr _vptr;

This pull request has now been integrated.

Changeset: 92efab90
Author:    Boris Ulasevich <bulasevich at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/92efab90db24a76cc28fc1ae1db870a0dd670266
Stats:     23 lines in 3 files changed: 0 ins; 0 del; 23 mod

8350344: Cross-build failure: _vptr name conflict

Reviewed-by: kvn

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

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


More information about the hotspot-compiler-dev mailing list