privatefinalstaticStringERROR_MESSAGE=" was stuck for more than "+secondsToWait+
" seconds. Killing the Java process.(You can control this timeout with the java property -D"+
" seconds and the thread analysis detected a jython deadlock (see https://bugs.jython.org/issue2624). Killing the Java process as the deadlock cannot be recovered (You can control this timeout with the java property -D"+
TIMEOUT_JAVA_PROPERTY+
"= when starting nodes and/or when starting the scheduler)";
"= when starting nodes and/or when starting the scheduler).";
privateAllObjects2BytesConverterHandler(){
}
...
...
@@ -94,17 +95,24 @@ public class AllObjects2BytesConverterHandler {
Future<Map<K,V>>future=executor.submit(callable);
try{
if(totalSize<deserializationThreshold){
// If the amount of bytes to deserialize is small, the deserialization should not exceed a timeout,
// otherwise it means a deadlock occurs (most likely due to jython types)