From 948cf5e8dbab897db070e42308a5a32d9c0ce26b Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Mon, 14 Jul 2025 18:52:08 +0200 Subject: [PATCH] Add Criu Debug --- .../SpigotCore_Main/src/de/steamwar/core/CheckpointUtilsJ9.java | 1 + 1 file changed, 1 insertion(+) diff --git a/SpigotCore/SpigotCore_Main/src/de/steamwar/core/CheckpointUtilsJ9.java b/SpigotCore/SpigotCore_Main/src/de/steamwar/core/CheckpointUtilsJ9.java index 2a1894e2..70df82a0 100644 --- a/SpigotCore/SpigotCore_Main/src/de/steamwar/core/CheckpointUtilsJ9.java +++ b/SpigotCore/SpigotCore_Main/src/de/steamwar/core/CheckpointUtilsJ9.java @@ -120,6 +120,7 @@ class CheckpointUtilsJ9 { criu.checkpointJVM(); } catch (JVMCRIUException e) { Path logfile = path.resolve("criu.log"); + System.out.println(logfile.toAbsolutePath().toString()); if(logfile.toFile().exists()) throw new IllegalStateException("Could not create checkpoint, criu log:\n" + new String(Files.readAllBytes(logfile)), e);