Integrated: 8371369: Parallel: Relax precondition of PSOldGen::expand_and_allocate

Albert Mingkun Yang ayang at openjdk.org
Fri Nov 7 10:51:13 UTC 2025


On Wed, 5 Nov 2025 19:29:13 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

> Use more precise precondition for heap/old-gen expansion; the same precondition is also used in its sole caller.
> 
> Edit:
> Additionally, the call `needs_expand` is updated to accommodate two different paths where it can't be invoked.
> 
> Test: tie1-5

This pull request has now been integrated.

Changeset: 167c952b
Author:    Albert Mingkun Yang <ayang at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/167c952bb0fefb5acc9782f4f4474d92097c93f8
Stats:     8 lines in 2 files changed: 0 ins; 1 del; 7 mod

8371369: Parallel: Relax precondition of PSOldGen::expand_and_allocate

Reviewed-by: eosterlund, fandreuzzi

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

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


More information about the hotspot-gc-dev mailing list