[crac] RFR: 8328344: [CRaC] Avoid error when running with -XX:+PerfDisableSharedMem [v4]

Volker Simonis simonis at openjdk.org
Fri Mar 22 13:59:54 UTC 2024

> CRaC tries to unconditionally restore the hsperf file, even if the checkpointed JVM process was started with `-XX:+PerfDisableSharedMem`.
> The fix is trivial: check for the existence of the hsperf file in `PerfMemoryLinux::restore()` just as we already do it in `PerfMemoryLinux::checkpoint()`.

Volker Simonis has updated the pull request incrementally with one additional commit since the last revision:

  Don't wait 2x10 seconds when with -XX:+PerfDisableSharedMem


  - all: https://git.openjdk.org/crac/pull/153/files
  - new: https://git.openjdk.org/crac/pull/153/files/43494834..edee8cc0

 - full: https://webrevs.openjdk.org/?repo=crac&pr=153&range=03
 - incr: https://webrevs.openjdk.org/?repo=crac&pr=153&range=02-03

  Stats: 43 lines in 1 file changed: 13 ins; 26 del; 4 mod
  Patch: https://git.openjdk.org/crac/pull/153.diff
  Fetch: git fetch https://git.openjdk.org/crac.git pull/153/head:pull/153

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

More information about the crac-dev mailing list