Integrated: 8376570: GrowableArray::remove_{till, range} should work on empty list

Aleksey Shipilev shade at openjdk.org
Mon Feb 2 10:36:30 UTC 2026


On Wed, 28 Jan 2026 09:48:58 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> Split from [JDK-8375046](https://bugs.openjdk.org/browse/JDK-8375046), we want to make sure GrowableArray removal methods work appropriately with empty lists.
> 
> Testing:
>  - [x] New test
>  - [x] Linux x86_64 server fastdebug, `all` (in course of [JDK-8375046](https://bugs.openjdk.org/browse/JDK-8375046) testing)

This pull request has now been integrated.

Changeset: e370b8a1
Author:    Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/e370b8a1d834a0a6ebcd1d5946a5533c015ed960
Stats:     122 lines in 2 files changed: 115 ins; 0 del; 7 mod

8376570: GrowableArray::remove_{till,range} should work on empty list

Reviewed-by: kbarrett, iwalulya

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

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


More information about the hotspot-dev mailing list