[crac] RFR: 8368929: [CRaC] Move CPUFeatures check to C/R engine [v12]
Radim Vansa
rvansa at openjdk.org
Fri Oct 10 08:36:39 UTC 2025
> Right now the logic checking if CPU features used before checkpoint match current CPU features is in VM code. VM stores and retrieves CPU features through C/R API's user_data extension. This is convenient when we have a single image that can be either accepted or rejected, but does not offer the flexibility for C/R engine to select the best image for current execution environment.
>
> The goal of this issue is to move to a declarative API that will express the requirements using more abstract means, labels (for CPU architecture) and bitmaps (for CPU features).
Radim Vansa has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 15 commits:
- Improve crlib docs
- Merge remote-tracking branch 'origin/crac' into 8368929_external_cpu_features
- Apply suggestions from code review
Co-authored-by: Timofei Pushkin <pushkin.td at gmail.com>
- Fix include problems
- Fixup
- Other platforms fixup
- Fixup
- Review update
- Fix windows build
- Reset conf before 2nd checkpoint
- ... and 5 more: https://git.openjdk.org/crac/compare/a6adb7d3...9c0464f9
-------------
Changes: https://git.openjdk.org/crac/pull/266/files
Webrev: https://webrevs.openjdk.org/?repo=crac&pr=266&range=11
Stats: 972 lines in 22 files changed: 767 ins; 82 del; 123 mod
Patch: https://git.openjdk.org/crac/pull/266.diff
Fetch: git fetch https://git.openjdk.org/crac.git pull/266/head:pull/266
PR: https://git.openjdk.org/crac/pull/266
More information about the crac-dev
mailing list