RFR: JDK-8328786: [AIX] move some important warnings/errors from trcVerbose to UL

Martin Doerr mdoerr at openjdk.org
Wed Mar 27 16:01:25 UTC 2024


On Wed, 27 Mar 2024 15:37:21 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> trcVerbose is a macro that can be used in the AIX OpenJDK codebase.
> It boils down to `if (Verbose) { <print message> } ;`
> However this means that it can only be used in non product JVM because Verbose is a develop flag.
> So more important warning/error/info messages should better be moved e.g. to UL so that they are usable in product JVMs too,

I think that there were problems with UL during early initialization. I guess that `trcVerbose` has been used as workaround. Did you check if the log messages get still printed?
@tstuefe may know more about why this is used.

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

PR Comment: https://git.openjdk.org/jdk/pull/18517#issuecomment-2023133302


More information about the hotspot-runtime-dev mailing list