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

Afshin Zafari duke at openjdk.org
Tue Jan 17 05:48:16 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

This pull request has now been integrated.

Changeset: 6a81d528
Author:    Afshin Zafari <Afshin.zafari at oracle.com>
Committer: David Holmes <dholmes at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/6a81d528e89de73183d6b51c9c366c85ae594d9d
Stats:     1 line in 1 file changed: 0 ins; 0 del; 1 mod

8299213: Bad cast in GrowableArrayWithAllocator<>::grow

Reviewed-by: kbarrett, jsjolen, jwaters

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

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


More information about the hotspot-dev mailing list