On Fri, 15 Aug 2025 23:40:34 GMT, Kim Barrett <kbarr...@openjdk.org> wrote:

>> That does make sense. Updated in the new commit. Thanks! @magicus @kimbarrett
>
> I think using `DEBUG_LEVEL != release` isn't right for either of these 
> places, since it means we're adding
> the option for "optimize" builds. But doing so here is consistent. I will 
> file a separate issue to address the
> "optimize" build case"

Actually, I think I'm wrong about that. DEBUG_LEVEL is never "optimized", only
HOTSPOT_DEBUG_LEVEL uses that value. If DEBUG_LEVEL is initially "optimized"
it gets forced to "release" in the --with-debug-level handling.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26755#discussion_r2280042546

Reply via email to