On Wed, 2 Dec 2026 16:55:34 GMT, Ioi Lam <[email protected]> wrote:

>> `Arguments::system_properties()` is a hand-written linked list that's 
>> difficult to use and error prone. It should be replaced with a 
>> `GrowableArray`.
>> 
>> This will also facilitate the fix for 
>> [JDK-8382093](https://bugs.openjdk.org/browse/JDK-8382093), which needs a 
>> new "delete" operation on the system properties list.
>> 
>> ---------
>> - [x] I confirm that I make this contribution in accordance with the 
>> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).
>
> Ioi Lam has updated the pull request incrementally with one additional commit 
> since the last revision:
> 
>   @stefank comment: use range-based for loops

I think this looks good. There are some indentation nits I'd like to get fixed 
before approving.

src/hotspot/share/runtime/arguments.hpp line 102:

> 100:  private:
> 101:   char*           _key;
> 102:   SystemProperty* _next;

This leaves the other variables indented more than they need. That same goes 
for the accessors below.

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

PR Review: https://git.openjdk.org/jdk/pull/34167#pullrequestreview-6166028681
PR Review Comment: https://git.openjdk.org/jdk/pull/34167#discussion_r4781802410

Reply via email to