Integrated: 8317371: GenShen: Needs improved support for humongous allocation

Kelvin Nilsen kdnilsen at openjdk.org
Wed Oct 25 12:23:08 UTC 2023


On Sat, 7 Oct 2023 14:11:28 GMT, Kelvin Nilsen <kdnilsen at openjdk.org> wrote:

> Several improvements:
> 1. If there is a humongous allocation failure, go immediately to Full GC rather than trying 64 degenerated GC first
> 2. Reduce likelihood of humongous allocation errors by:
>     a. Allocating regular objects from top end of memory while allocating humongous from bottom end of memory
>     b. (Especially) in the case that regular regions that are promoted in place reside within the bottom end of memory, detect that old-gen memory has become fragmented and trigger old-gen GC, which will make a special effort to move these out-of-place old-gen regions to higher addresses.

This pull request has now been integrated.

Changeset: c584b481
Author:    Kelvin Nilsen <kdnilsen at openjdk.org>
URL:       https://git.openjdk.org/shenandoah/commit/c584b481e9cd14258f1297cb835815c6a9023ca3
Stats:     240 lines in 12 files changed: 186 ins; 7 del; 47 mod

8317371: GenShen: Needs improved support for humongous allocation

Reviewed-by: wkemper

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

PR: https://git.openjdk.org/shenandoah/pull/336


More information about the shenandoah-dev mailing list