On Tue, 2 Apr 2024 17:58:47 GMT, Coleen Phillimore <cole...@openjdk.org> wrote:

> For optimized, all the develop and notproduct options are materialized.

Okay, I see what you did here. You touched only flags declaration and did not 
`#ifndef PRODUCT` which guards statistics code, for example. Optimized VM build 
will get that code but will not include DEBUG_ONLY and `#ifdef ASSERT` guarded 
code.

So we still need to be careful when we use `#ifndef PRODUCT` and `#ifdef 
ASSERT`.

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

PR Comment: https://git.openjdk.org/jdk/pull/18541#issuecomment-2032789810

Reply via email to