RFR: JDK-8277056: Combining several C2 Print* flags asserts in xmlStream::pop_tag [v2]

Tobias Holenstein duke at openjdk.java.net
Thu Apr 21 08:08:16 UTC 2022


On Wed, 20 Apr 2022 17:32:31 GMT, Xin Liu <xliu at openjdk.org> wrote:

>> Tobias Holenstein has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   changed print to print_raw
>
> src/hotspot/share/opto/output.cpp line 1887:
> 
>> 1885:       if (C->method() != NULL) {
>> 1886:         tty->print_cr("----------------------- MetaData before Compile_id = %d ------------------------", C->compile_id());
>> 1887:         tty->print("%s", method_metadata_str.as_string());
> 
> is print_raw() better than  print here?  at least you don't need to handle vararg.

Agree. I changed it

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

PR: https://git.openjdk.java.net/jdk/pull/8203


More information about the hotspot-compiler-dev mailing list