Add Criu Debug
All checks were successful
SteamWarCI Build successful

This commit is contained in:
2025-07-14 18:52:08 +02:00
parent 7aba8da5a0
commit 948cf5e8db

View File

@ -120,6 +120,7 @@ class CheckpointUtilsJ9 {
criu.checkpointJVM(); criu.checkpointJVM();
} catch (JVMCRIUException e) { } catch (JVMCRIUException e) {
Path logfile = path.resolve("criu.log"); Path logfile = path.resolve("criu.log");
System.out.println(logfile.toAbsolutePath().toString());
if(logfile.toFile().exists()) if(logfile.toFile().exists())
throw new IllegalStateException("Could not create checkpoint, criu log:\n" + new String(Files.readAllBytes(logfile)), e); throw new IllegalStateException("Could not create checkpoint, criu log:\n" + new String(Files.readAllBytes(logfile)), e);