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

Johan Sjölen jsjolen at openjdk.org
Mon Jan 16 19:03:10 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

Marked as reviewed by jsjolen (Committer).

> 

Aha, it's asserted in the next call.

LGTM then.

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

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


More information about the hotspot-dev mailing list