[crac] Integrated: 8328344: [CRaC] Avoid error when running with -XX:+PerfDisableSharedMem
Volker Simonis
simonis at openjdk.org
Thu Mar 28 14:06:57 UTC 2024
On Mon, 18 Mar 2024 10:37:04 GMT, Volker Simonis <simonis at openjdk.org> wrote:
> 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()`.
This pull request has now been integrated.
Changeset: 7d03b259
Author: Volker Simonis <simonis at openjdk.org>
URL: https://git.openjdk.org/crac/commit/7d03b259392fbfaa27d3223e80cfbfc5a5d833de
Stats: 60 lines in 2 files changed: 39 ins; 10 del; 11 mod
8328344: [CRaC] Avoid error when running with -XX:+PerfDisableSharedMem
Reviewed-by: akozlov
-------------
PR: https://git.openjdk.org/crac/pull/153
More information about the crac-dev
mailing list