Refine checkpoint handling in Subserver and remove unnecessary debug logs in CheckpointUtilsJ9

This commit is contained in:
2025-07-16 09:43:24 +02:00
parent 44c06314c6
commit 3e5055c246
2 changed files with 1 additions and 3 deletions
@@ -121,7 +121,6 @@ class CheckpointUtilsJ9 {
} catch (JVMCRIUException e) {
Path logfile = path.resolve("criu.log");
if(logfile.toFile().exists()) {
System.out.println("Reading criu log");
throw new IllegalStateException("Could not create checkpoint, criu log:\n" + new String(Files.readAllBytes(logfile)), e);
}
@@ -134,8 +133,6 @@ class CheckpointUtilsJ9 {
port = stream.readInt();
}
System.out.println(port);
// Reopen socket
bind.invoke(serverConnection, InetAddress.getLoopbackAddress(), port);
if(Core.getVersion() > 12) {