[crac] RFR: 8372933: [CRaC] Restore failed due to incompatible or missing CPU features, try using -XX:CPUFeatures=0xfoo, 0xbar on checkpoint [v2]

Jan Kratochvil jkratochvil at openjdk.org
Sun Jan 4 22:19:39 UTC 2026


> Since [JDK-8368929](https://bugs.openjdk.org/browse/JDK-8368929) the message:
> 
> 
> Restore failed due to incompatible or missing CPU features, try using -XX:CPUFeatures=0xe14e1805fdfbf7,0xfcc on checkpoint.
> 
> 
> is wrong as it does not do logical and of both CPUFeatures masks.
> 
> Yes, I should have caught it during [JDK-8368929](https://bugs.openjdk.org/browse/JDK-8368929) review.
> 
> @rvansa will probably want to change the API but this is a PoC how it should work.

Jan Kratochvil has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains five additional commits since the last revision:

 - return original prototype of is_failed(), add new get_failed_bitmap()
 - !EQUALS->SUBSET
 - conjunction->intersection
 - Merge branch 'crac' into crac-conjunction
 - 8372933: [CRaC] Restore failed due to incompatible or missing CPU features, try using -XX:CPUFeatures=0xfoo,0xbar on checkpoint

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

Changes:
  - all: https://git.openjdk.org/crac/pull/278/files
  - new: https://git.openjdk.org/crac/pull/278/files/6bc03d25..1e0118fe

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

  Stats: 892 lines in 23 files changed: 397 ins; 448 del; 47 mod
  Patch: https://git.openjdk.org/crac/pull/278.diff
  Fetch: git fetch https://git.openjdk.org/crac.git pull/278/head:pull/278

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


More information about the crac-dev mailing list