RFR: 8317371: GenShen: Needs improved support for humongous allocation [v8]

Kelvin Nilsen kdnilsen at openjdk.org
Mon Oct 16 23:20:39 UTC 2023


> 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.

Kelvin Nilsen has updated the pull request incrementally with one additional commit since the last revision:

  Restore ShenandoahFullGCThreshold to 3

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

Changes:
  - all: https://git.openjdk.org/shenandoah/pull/336/files
  - new: https://git.openjdk.org/shenandoah/pull/336/files/15a89810..d87d50f4

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=shenandoah&pr=336&range=07
 - incr: https://webrevs.openjdk.org/?repo=shenandoah&pr=336&range=06-07

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/shenandoah/pull/336.diff
  Fetch: git fetch https://git.openjdk.org/shenandoah.git pull/336/head:pull/336

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


More information about the shenandoah-dev mailing list