[crac] Integrated: 8357984: [CRaC] Improve new properties installation code
Timofei Pushkin
tpushkin at openjdk.org
Thu May 29 13:47:11 UTC 2025
On Wed, 28 May 2025 15:46:42 GMT, Timofei Pushkin <tpushkin at openjdk.org> wrote:
> Rewrites the code which installs new properties on restore to make it more concise by using direct array iteration and lambdas.
>
> Note that initially the lambdas were removed from this code in #75 because they triggered a resource registration in a blocking context during C/R which led to a deadlock. But as I understand #73 made it possible to use lambdas during C/R.
>
> I also noted that there are no tests for new properties so I added one.
This pull request has now been integrated.
Changeset: 19d203ae
Author: Timofei Pushkin <tpushkin at openjdk.org>
Committer: Radim Vansa <rvansa at openjdk.org>
URL: https://git.openjdk.org/crac/commit/19d203aee40073b701d9875b18e652627b84ea90
Stats: 90 lines in 2 files changed: 67 ins; 18 del; 5 mod
8357984: [CRaC] Improve new properties installation code
Reviewed-by: rvansa
-------------
PR: https://git.openjdk.org/crac/pull/233
More information about the crac-dev
mailing list