UL question: combining output flags with or at code site?
Thomas Stüfe
thomas.stuefe at gmail.com
Thu Apr 23 04:45:00 UTC 2020
Hi,
with UL, is there a way at the logging site to specify that a logging has
to happen if one of the flags is set (so, *or* combined)?
E.g. if I wanted to print something when either "cds" or "metaspace" is
active? Without forcing the user to specify an asterix at the -Xlog
command, because that would activate too many other output sites.
If I use it like this:
LogTarget(Info, cds, metaspace) lt;
both flags must be active to print the output, right?
Thanks, Thomas
More information about the hotspot-dev
mailing list