RFR(S) 8233826 Change CDS dumping tty->print_cr() to unified logging

Calvin Cheung calvin.cheung at oracle.com
Wed Dec 18 17:10:46 UTC 2019


Hi Coleen,

On 12/18/19 5:41 AM, coleen.phillimore at oracle.com wrote:
>
> This looks great.  I thought I filed this RFE a long time ago, but I 
> can't find it.

Below is the closest RFE I could find:

https://bugs.openjdk.java.net/browse/JDK-8186988

It was for CDS warning and error messages.

thanks,

Calvin

>
> Thanks,
> Coleen
>
> On 12/18/19 1:31 AM, Ioi Lam 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