forked from SteamWar/SteamWar
Refine checkpoint handling in Subserver and remove unnecessary debug logs in CheckpointUtilsJ9
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user