[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-hotspot-runtime-dev
Subject:    Re: RFR: 8297138: UB leading to crash in Amalloc with optimized builds
From:       Andrew Haley <aph () openjdk ! org>
Date:       2022-11-29 16:47:00
Message-ID: 8Lxf2IAFk7jObmy-omlOjVSL9N9adbXk5WiTsYTofik=.b248d824-ef0a-4c44-ac30-d0f166b0a56d () github ! com
[Download RAW message or body]

On Mon, 28 Nov 2022 13:56:14 GMT, Thomas Stuefe <stuefe@openjdk.org> wrote:

> The UseMallocOnly flag is a develop only flag. Even without #ifdef ASSERT, the code \
> under it is optimized out. There's no need to litter the code with debug_only() or \
> DEBUG_ONLY() for this and that's error prone, as this bug complains.

Yes, exactly. The `debug_only() ` is just noise.

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

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic