RFR: 8301117: Remove old_size param from ResizeableResourceHashtable::resize()
David Holmes
dholmes at openjdk.org
Mon Feb 20 06:00:25 UTC 2023
On Sat, 18 Feb 2023 15:31:46 GMT, Afshin Zafari <duke at openjdk.org> wrote:
> `old_size` is removed from the function parameters in definitions and calls.
> `table_size` is used as old size.
> ### Test
> mach5 tiers 1-5.
Changes look good - thanks.
Seems to me that if anyone ever passed an old_size that was not the current table-size then we would lose part of the table when we grew it!
-------------
Marked as reviewed by dholmes (Reviewer).
PR: https://git.openjdk.org/jdk/pull/12635
More information about the hotspot-dev
mailing list