[crac] Integrated: Selectable Global Context implementation

Anton Kozlov akozlov at openjdk.org
Tue Jul 4 14:38:34 UTC 2023


On Mon, 26 Jun 2023 16:12:24 GMT, Anton Kozlov <akozlov at openjdk.org> wrote:

> A number of problems were caused by switching to BlockingOrderedContext in the JDK code. To prevent the same in the potential users of EA builds, I temporarily switch the default implementation to the previous OrderedContext. The BlockingContext is still available via a command line option. After an EA build and transition of CRaC development to track newer version openjdk/jdk, the default implementation will be changed.
> 
> To make properties available, it was required to delay Reference resource registration. Otherwise, the GlobalContext implementation decision had to be done too early, in the Reference initialization during JDK bootstrapping, before Properties are available.

This pull request has now been integrated.

Changeset: e80dbdea
Author:    Anton Kozlov <akozlov at openjdk.org>
URL:       https://git.openjdk.org/crac/commit/e80dbdeaa361143ecf2ea33d0d9f0ef0bf4686cf
Stats:     73 lines in 4 files changed: 55 ins; 16 del; 2 mod

Selectable Global Context implementation

Reviewed-by: rvansa

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

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


More information about the crac-dev mailing list