[crac] RFR: Selectable Global Context implementation

Radim Vansa rvansa at openjdk.org
Fri Jun 30 06:42:20 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.

Marked as reviewed by rvansa (Committer).

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

PR Review: https://git.openjdk.org/crac/pull/87#pullrequestreview-1506598767


More information about the crac-dev mailing list