RFR: 8333639: ubsan: cppVtables.cpp:81:55: runtime error: index 14 out of bounds for type 'long int [1]' [v2]

Kim Barrett kbarrett at openjdk.org
Sat Jun 15 01:31:20 UTC 2024


On Fri, 14 Jun 2024 17:20:58 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:

> I've updated my implementation to use `_cloned_vtable[1]` again with an address computation. Please note that we're calling it "Pseudo flexible array member", not VLA. I had also described it as "flexible array member" emulation in my previous version.

gcc doc calls these VLAs, but C99 calls them FAM.  FAM is fine; I'm just used to the older VLA terminology.

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

PR Comment: https://git.openjdk.org/jdk/pull/19623#issuecomment-2169025569


More information about the hotspot-runtime-dev mailing list