protected int computeHeuristicValue() {
int heuristicValue = -1;
int currentJointStatesDepth = getJointStatesDepth();
int nextJointStatesDepth = currentJointStatesDepth + 1;
ThreadInfo ti = this.vm.getCurrentThread();
Object attr = null;
if (ti != null) {
if (ti.getPC() != null) {
attr = ti.getPC().getAttr();
}
}
// The state is a joint state
if (attr != null) {