RFR: 8354362: Use automatic indentation in CollectedHeap printing [v6]

Joel Sikström jsikstro at openjdk.org
Thu Apr 17 12:15:46 UTC 2025


On Thu, 17 Apr 2025 11:24:56 GMT, Stefan Karlsson <stefank at openjdk.org> wrote:

>> Joel Sikström has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Rename ZGC printing to match print_heap_on() and print_gc_on()
>
> src/hotspot/share/gc/parallel/parallelScavengeHeap.cpp line 680:
> 
>> 678:   }
>> 679:   st->cr();
>> 680: 
> 
> Below this line we still have a print_on_error call.

I renamed the remaining instances of print_on_error() in GC code with alternative names, all the way down to BitMap::print_on_error() which I renamed to BitMap::print_range_on(). The only remaining print_on_error() is GCLogPrecious::print_on_error(), which I figured might be left unchanged.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24593#discussion_r2048817231


More information about the shenandoah-dev mailing list