RFR (XS) 8251924: 32-bit build failures after JDK-8235765
David Holmes
david.holmes at oracle.com
Tue Aug 18 07:29:19 UTC 2020
Looks good and trivial. Thanks Aleksey!
David
On 18/08/2020 5:07 pm, Aleksey Shipilev wrote:
> Bug:
> https://bugs.openjdk.java.net/browse/JDK-8251924
>
> Fix:
>
> diff -r f74d10596242 src/hotspot/share/oops/klassVtable.cpp
> --- a/src/hotspot/share/oops/klassVtable.cpp Mon Aug 17 18:58:20 2020
> -0700
> +++ b/src/hotspot/share/oops/klassVtable.cpp Tue Aug 18 08:59:31 2020
> +0200
> @@ -1608,9 +1608,10 @@
> size_t klassItable::_total_size; // Total no. of bytes used for
> itables
>
> void klassItable::print_statistics() {
> tty->print_cr("itable statistics:");
> tty->print_cr("%6d classes with itables", _total_classes);
> - tty->print_cr("%6lu K uses for itables (average by class: %ld bytes)",
> _total_size / K, _total_size / _total_classes);
> + tty->print_cr(SIZE_FORMAT_W(6) " K uses for itables (average by class:
> " SIZE_FORMAT " bytes)",
> + _total_size / K, _total_size / _total_classes);
> }
>
> Testing: Linux {x86_64, x86_32} builds; eyeballing -XX:+PrintVtableStats
> output
>
More information about the hotspot-dev
mailing list