RFR: JDK-8328786: [AIX] move some important warnings/errors from trcVerbose to UL
Matthias Baesken
mbaesken at openjdk.org
Thu Mar 28 14:34:31 UTC 2024
On Wed, 27 Mar 2024 15:59:08 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:
> 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.
Yes very early in the JVM runtime, the UL is not working (means: no output). But this is even true to some extent for `-XX:+Verbose` . Example - I added UL , trcVerbose AND printf at libperfstat::init (this is one place I want to change in the PR)
bool libperfstat::init() {
const char* libperfstat = "/usr/lib/libperfstat.a(shr_64.o)";
char ebuf[512];
g_libhandle = os::dll_load(libperfstat, ebuf, sizeof(ebuf));
log_warning(os)("Loaded libperfstat");
printf("trace via printf - Loaded libperfstat\n");
trcVerbose("trace verbose - Loaded libperfstat");
Unfortunately only the printf output is visible; UL and traceVerbose is not visible.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/18517#issuecomment-2025346496
More information about the hotspot-runtime-dev
mailing list