[crac] Integrated: Introduce per-Priority Context with different policies

Anton Kozlov akozlov at openjdk.org
Tue Jun 6 16:44:34 UTC 2023

On Wed, 17 May 2023 14:44:08 GMT, Anton Kozlov <akozlov at openjdk.org> wrote:

> A follow-up work for #60:
> * Each priority now has a dedicated context, so contextes may provide different policies.
> * the Global Context reverted from BlockingOrderedContext to OrderedContext, as that may have a huge impact on users. Probably we'll want to expose blocking/criticalUnorderd context along the global one, or at some point expose an implementation. But this is also out of scope of the PR.
> * hierachy of the Context implementations are cleaned up a bit [2]
> The JDKContext is now just a holder of ClaimedFDs, I'll address this in a follow-up that depends on this Context follow-up.
> [1] https://github.com/openjdk/crac/pull/60#issuecomment-1545588281
> [2] https://github.com/openjdk/crac/pull/60#discussion_r1185510445

This pull request has now been integrated.

Changeset: 6f403eaf
Author:    Anton Kozlov <akozlov at openjdk.org>
URL:       https://git.openjdk.org/crac/commit/6f403eaf7655f9ce4d10da25082a836d0ad1574c
Stats:     918 lines in 29 files changed: 283 ins; 551 del; 84 mod

Introduce per-Priority Context with different policies


PR: https://git.openjdk.org/crac/pull/74

More information about the crac-dev mailing list