RFR: 8297138: UB leading to crash in Amalloc with optimized builds
Thomas Stuefe
stuefe at openjdk.org
Mon Nov 28 14:23:05 UTC 2022
On Mon, 28 Nov 2022 13:57:21 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
> I think the conditional compilation is offensive, and it caused this bug, which makes it more offensive. :)
See, I dislike the name more (Arena::malloc). Named *exactly* like its libc counterpart, which is asking for trouble. It relies solely on scope, and you don't get even a warning on mismatch.
-------------
PR: https://git.openjdk.org/jdk/pull/11320
More information about the hotspot-runtime-dev
mailing list