[crac] RFR: 8357984: [CRaC] Improve new properties installation code [v2]

Timofei Pushkin tpushkin at openjdk.org
Thu May 29 08:20:02 UTC 2025


> 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.

Timofei Pushkin has updated the pull request incrementally with one additional commit since the last revision:

  Address review comments

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

Changes:
  - all: https://git.openjdk.org/crac/pull/233/files
  - new: https://git.openjdk.org/crac/pull/233/files/fa9f80ba..8421e5e6

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=crac&pr=233&range=01
 - incr: https://webrevs.openjdk.org/?repo=crac&pr=233&range=00-01

  Stats: 124 lines in 3 files changed: 67 ins; 55 del; 2 mod
  Patch: https://git.openjdk.org/crac/pull/233.diff
  Fetch: git fetch https://git.openjdk.org/crac.git pull/233/head:pull/233

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


More information about the crac-dev mailing list