RFR: 8333962: Obsolete OldSize [v2]

Zhengyu Gu zgu at openjdk.org
Mon Jun 17 13:27:14 UTC 2024


On Fri, 14 Jun 2024 10:19:47 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

>> Obsolete OldSize and related code. An internal variable `OldSize` is kept to capture the capacity of old-gen size.
>
> Albert Mingkun Yang has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains one commit:
> 
>   obsolete-old-size

src/hotspot/share/gc/shared/genArguments.hpp line 36:

> 34: extern size_t MaxOldSize;
> 35: 
> 36: extern size_t OldSize;

Any reason we still want to keep `OldSize` variable? becase GCs really care about are `init`, `min` and `max` values.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/19647#discussion_r1642814306


More information about the hotspot-gc-dev mailing list