Integrated: 8352091: GenShen: assert(!(request.generation->is_old() && _heap->old_generation()->is_doing_mixed_evacuations())) failed: Old heuristic should not request cycles while it waits for mixed evacuation

William Kemper wkemper at openjdk.org
Fri Mar 21 16:07:20 UTC 2025


On Fri, 14 Mar 2025 23:45:28 GMT, William Kemper <wkemper at openjdk.org> wrote:

> Consider the following:
> 1. Regulator thread sees that control thread is `idle` and requests an old cycle
> 2. Regulator thread waits until control thread is not `idle`
> 3. Control thread starts old cycle and notifies the Regulator thread (as expected)
> 4. Regulator thread stays off CPU for a _long_ time
> 5. Control thread _completes_ old marking and returns to `idle` state
> 6. Regulator thread finally wakes up and sees that Control thread is _still_ idle
> 7. In fact, the control thread has completed old marking and the regulator thread should not request another cycle

This pull request has now been integrated.

Changeset: 52c6ce6c
Author:    William Kemper <wkemper at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/52c6ce6c73194762970fd9521121333713495fa3
Stats:     2 lines in 1 file changed: 1 ins; 0 del; 1 mod

8352091: GenShen: assert(!(request.generation->is_old() && _heap->old_generation()->is_doing_mixed_evacuations())) failed: Old heuristic should not request cycles while it waits for mixed evacuation

Reviewed-by: rkennke

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

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


More information about the hotspot-gc-dev mailing list