
com.vmlens.trace.agent.bootstrap.parallize.ParallizeSingelton Maven / Gradle / Ivy
package com.vmlens.trace.agent.bootstrap.parallize;
import java.util.Iterator;
import java.util.Map.Entry;
import com.vmlens.api.AllInterleavings;
import com.vmlens.trace.agent.bootstrap.callback.AgentLogCallback;
import com.vmlens.trace.agent.bootstrap.callback.CallbackState;
import com.vmlens.trace.agent.bootstrap.callback.CallbackStatePerThread;
import com.vmlens.trace.agent.bootstrap.event.WhileLoopNameEvent;
import com.vmlens.trace.agent.bootstrap.parallize.logic.RunEntity;
import com.vmlens.trace.agent.bootstrap.parallize.logic.RunnableOrThreadWrapper;
import com.vmlens.trace.agent.bootstrap.parallize.logic.WhileLoop;
import com.vmlens.trace.agent.bootstrap.parallize.logic.WhileLoopActive;
import com.vmlens.trace.agent.bootstrap.parallize.logic.WhileLoopStopped;
import com.vmlens.trace.agent.bootstrap.parallize.logicState.BeginNewThreadResult;
import gnu.trove.map.hash.THashMap;
public class ParallizeSingelton {
public static void printAllStackTraces() {
System.err.println(
"--------------------------------------------------------------------------------------------");
Iterator> iter = Thread.getAllStackTraces().entrySet().iterator();
while (iter.hasNext()) {
Entry current = iter.next();
System.err.println(current.getKey().getName());
for (StackTraceElement elem : current.getValue()) {
System.err.println(elem);
}
}
}
public static boolean MULTIPLE_DECISIONS_AT_THREAD_END = true;
public static boolean MULTIPLE_DECISIONS_AT_WAKE_UP = true;
private static final THashMap
© 2015 - 2025 Weber Informatics LLC | Privacy Policy