RFR: 8236736: Change notproduct JVM flags to develop flags [v3]
Vladimir Kozlov
kvn at openjdk.org
Tue Apr 2 18:42:02 UTC 2024
On Tue, 2 Apr 2024 17:58:47 GMT, Coleen Phillimore <coleenp at 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
More information about the serviceability-dev
mailing list