RFR: 8347566: Replace SSIZE_FORMAT with 'z' length modifier [v2]

Coleen Phillimore coleenp at openjdk.org
Mon Jan 13 20:39:53 UTC 2025


On Mon, 13 Jan 2025 19:32:06 GMT, Dean Long <dlong at openjdk.org> wrote:

>> Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Fix one zu -> zd.
>
> src/hotspot/share/gc/shenandoah/shenandoahFreeSet.cpp line 160:
> 
>> 158:   uintx free_bits = mutator_bits | collector_bits | old_collector_bits;
>> 159:   uintx notfree_bits =  ~free_bits;
>> 160:   log_debug(gc)("%6zu : " SIZE_FORMAT_X_0 " 0x" SIZE_FORMAT_X_0 " 0x" SIZE_FORMAT_X_0 " 0x" SIZE_FORMAT_X_0,
> 
> Why is this %6zu instead of %6zd?

I must have done this one by hand.  Thank you for spotting it.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23084#discussion_r1913773820


More information about the shenandoah-dev mailing list