RFR: 8299213: Bad cast in GrowableArrayWithAllocator<>::grow

Julian Waters jwaters at openjdk.org
Tue Jan 17 04:36:11 UTC 2023


On Mon, 16 Jan 2023 09:11:19 GMT, Afshin Zafari <duke at openjdk.org> wrote:

> ### Description 
> The grow size was wrongfully casted from `int` to `uint32`.
> 
> ### Patch
> The casting is removed.
> 
> ### Tests
> Local: **gtest:GrowableArrays***
> mach5 tier1-5

Looks Good, though you should be careful to only issue `/integrate` when you have at least 2 reviews if your change happens to be on the JVM itself (I learnt that the hard way)

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

Marked as reviewed by jwaters (Committer).

PR: https://git.openjdk.org/jdk/pull/12007


More information about the hotspot-dev mailing list