RFR: Remove debug output

Aleksey Shipilev shade at redhat.com
Mon May 7 08:24:37 UTC 2018


On 05/07/2018 10:23 AM, Roman Kennke wrote:
> diff --git a/src/hotspot/share/utilities/bitMap.cpp
> b/src/hotspot/share/utilities/bitMap.cpp
> --- a/src/hotspot/share/utilities/bitMap.cpp
> +++ b/src/hotspot/share/utilities/bitMap.cpp
> @@ -675,7 +675,6 @@
>  void BitMap::copy_from(BitMap& other, idx_t start_bit, idx_t end_bit) {
>    // Copy prefix.
>    while (bit_in_word(start_bit) != 0 && start_bit < end_bit) {
> -    tty->print_cr("prefix: "SIZE_FORMAT, start_bit);
>      at_put(start_bit, other.at(start_bit));
>      start_bit++;
>    }
> @@ -683,7 +682,6 @@
>    while (bit_in_word(end_bit) != 0 && end_bit > start_bit) {
>      end_bit--;
>      at_put(end_bit, other.at(end_bit));
> -    tty->print_cr("suffix: "SIZE_FORMAT, end_bit);
>    }
> 
>    assert(bit_in_word(start_bit) == 0, "can only handle aligned copy for
> now, bit: "SIZE_FORMAT, bit_in_word(start_bit));
> 
> 
> Ok?

Yup. Commit it under more descriptive name, e.g.:
 "Shun debug messages in BitMap::copy_from"

-Aleksey



More information about the shenandoah-dev mailing list