All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vmlens.trace.agent.bootstrap.parallize.logicState.ThreadState Maven / Gradle / Ivy

There is a newer version: 1.1.5
Show newest version
package com.vmlens.trace.agent.bootstrap.parallize.logicState;

import com.vmlens.trace.agent.bootstrap.parallize.operation.LoopDetection;
import com.vmlens.trace.agent.bootstrap.parallize.operation.Operation;

public class ThreadState {

	final LoopDetection loopDetection = new LoopDetection();
	final int index;
	
	int timesReturnedForEndOfActiveThreadIndex;

	final Thread thread;
	int operationCount;
	
	
	int position;
	
	boolean activated;
	//boolean atThreadJoin;
	
	long joinWithThreadId = -1L;
	
	
	
	int addedCount = 1;
	
	
	public ThreadState(int index,Thread thread) {
		super();
		this.index = index;
		this.thread = thread;
	}


	@Override
	public String toString() {
		return "ThreadState [timesReturnedForEndOfActiveThreadIndex=" + timesReturnedForEndOfActiveThreadIndex + ", thread=" + thread
				+ ", activated=" + activated + ", addedCount=" + addedCount + "]";
	}
	
	
	
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy