RFR(S) 8233826 Change CDS dumping tty->print_cr() to unified logging
Jiangli Zhou
jianglizhou at google.com
Wed Dec 18 15:49:40 UTC 2019
The default dumping output provides useful information, particularly
with static archiving. Developers may not know which logging option
needs to be specified to enable the output.
One possible solution is to enable -Xlog:cds by default for
-Xshare:dump, if the output method is converted to use unified
logging.
Regards,
Jiangli
On Tue, Dec 17, 2019 at 10:34 PM Ioi Lam <ioi.lam at oracle.com> wrote:
>
> https://bugs.openjdk.java.net/browse/JDK-8233826
> http://cr.openjdk.java.net/~iklam/jdk15/8233826-cds-change-tty-to-ul.v01/
>
> During CDS dumping, a few messages are printed out unconditionally
> using tty->print_cr(). This patch changes the message to use
> log_info(cds) instead.
>
> Some test cases were expecting the messages in stdout. I modified
> these tests to explicitly pass -Xlog:cds.
>
> Thanks
> - Ioi
>
More information about the hotspot-runtime-dev
mailing list