RFR: 8348400: GenShen: assert(ShenandoahHeap::heap()->is_full_gc_in_progress() || (used_regions_size() <= _max_capacity)) failed: Cannot use more than capacity #
Kelvin Nilsen
kdnilsen at openjdk.org
Thu Jan 23 22:00:49 UTC 2025
On Thu, 23 Jan 2025 21:36:37 GMT, William Kemper <wkemper at openjdk.org> wrote:
> When the capacity of a trashed region is transferred from the young to old generation, we must first recycle the region to break its affiliation with the young generation. Failing to do this may violate the constraint that the capacity of a generation is always equal to or greater than the capacity of its affiliated regions.
LGTM. (Is there any way to "confirm" that this is the code path that caused the original JBS issue?)
-------------
Marked as reviewed by kdnilsen (Author).
PR Review: https://git.openjdk.org/jdk/pull/23282#pullrequestreview-2571111755
More information about the hotspot-gc-dev
mailing list